|
adamdidthis 7/10/2006 |
I have a purchases list with all the add/edit/delete/view forms produced by PHPrunner. I have copied and renamed the purchases_list.php to purchases_acct_list.php. Is there a way to change the where clause that fetches the data from the database. This list I want to check a field named done to see if the purchase is active. I know you can make a table view of the same table, but that increases the created file set by 12 files just so I can check one additional field. Seems like a lot of overhead for just one change. I can easily take care of any changes needed to the new list manually. Is there any way I can override or modify on the fly the $gstrSQL statement that resides in the purchases_variables.php Any suggestions would be appreciated.
|
J
|
Jane 7/11/2006 |
Dale, $gstrSQL = "select ... where ..."; |
D
|
Dale author 7/11/2006 |
Thankyou Jane and Adam. |
D
|
Dale author 7/11/2006 |
Thanks, this issue is solved. |
![]() |
kujox 7/12/2006 |
I had the same problem, here's what i did |