A
|
ann 8/4/2010 |
Hi, $strWhereClause = whereAdd($strWhereClause, "Column=xxx"); |
K
|
kkiboo author 8/4/2010 |
Thank you, that's exactly what I need. |
A
|
ann 8/4/2010 |
Hi, $strWhereClause = whereAdd($strWhereClause, "DateField=now()");
|
K
|
kkiboo author 8/4/2010 |
Hi, here is a sample for MySQL: strWhereClause = whereAdd(strWhereClause, "DateField=now()");
strWhereClause = whereAdd(strWhereClause, "RECORD_DATE=sysdate");
|
K
|
kkiboo author 8/4/2010 |
Also, just to check, I changed it to this:
|
A
|
ann 8/4/2010 |
Hi, |
K
|
kkiboo author 8/4/2010 |
Also, just to check, I changed it to this:
|
![]() |
romaldus 9/1/2010 |
Hi, use Before SQL query event on the Events tab to filter records. Here is a sample: $strWhereClause = whereAdd($strWhereClause, "Column=xxx");
|
A
|
ann 9/1/2010 |
Romaldus, $rstmp = CustomQuery("select GroupID from ugmembers where UserName='".$_SESSION["UserID"]."'"); |
![]() |
romaldus 9/1/2010 |
Romaldus, here is a sample of filtering based on the logged user (Before SQL query event): $rstmp = CustomQuery("select GroupID from ugmembers where UserName='".$_SESSION["UserID"]."'");
|
D
|
Dale 9/1/2010 |
Yours to date in your code |
![]() |
romaldus 9/1/2010 |
Yours to date in your code $strWhereClause = whereAdd($strWhereClause, "groupid=".$datatmp["GroupID"]); Try adding the quotes around $datatmp["GroupID"] as below $strWhereClause = whereAdd($strWhereClause, "groupid='".$datatmp["GroupID"]."'"); Just a quick shot at it
|
![]() |
romaldus 9/2/2010 |
[quote name='romaldus' date='02 September 2010 - 07:54 AM' timestamp='1283388859' post='52342'] |
A
|
ann 9/8/2010 |
Hi, |
W
|
wildwally 9/9/2010 |
anyone able to shed some light on this subject? trying to do the same thing. |