A
|
ann 8/23/2010 |
Romaldus, |
![]() |
woodey2002 8/24/2010 |
Have a look here |
![]() |
romaldus author 8/24/2010 |
Romaldus, I'm not sure that I understand your question. Please re-phrase it.
|
A
|
ann 8/25/2010 |
Romaldus, $rstmp = CustomQuery("select GroupID from ugmembers where UserName='".$_SESSION["UserID"]."'"); |
![]() |
romaldus author 8/25/2010 |
Romaldus, you need to select user group manually from database in this case. Set up custom session variable as default value, then fill it in the Before Process event. Here is a sample: $rstmp = CustomQuery("select GroupID from ugmembers where UserName='".$_SESSION["UserID"]."'");
$sql = "UPDATE mst_parts SET Field5 = (SELECT GroupID FROM ugmembers WHERE username = '".$_SESSION["UserID"]."')";
|
A
|
ann 8/26/2010 |
Romaldus, $_SESSION["CustomGroupID"] = $datatmp["GroupID"];
|
![]() |
romaldus author 8/26/2010 |
Romaldus, remove the quotes from the following line in the code: $_SESSION["CustomGroupID"] = $datatmp["GroupID"];
|