Hi All,
If I have a grid and the SQL WHERE clause is dependent on a numeric figure eg. type <= 3
This works great and excludes the records of record type 4, but can I have a button on the grid toolbar that will reset the grid and use type <= 4 so I can see the extra records?
I have tried some code under a PHP button, that sets a global variable that in turn is used to alter the WHERE clause in the scriptinit event, and the button then does a sc_redir(grid,[gobal_var]); to sort of “restart” the application.
Needless to say, that did not work.
I do not really wish to use the advanced search as it would confuse the user.
Any ideas?
Thanks
Tony