Search life

I’d like to have a search setting remain in effect until it is cleared. I have a grid and the search is working great. If I leave the grid and return I want the search to still be in effect. Possible?

I am trying to replicate, but having a few issues…
But you can set the values of the search field using the event in the search configuration.
{Fieldname} = ‘TEST’;

[QUOTE=Kdriscoll;14724]I am trying to replicate, but having a few issues…
But you can set the values of the search field using the event in the search configuration.
{Fieldname} = ‘TEST’;[/QUOTE]

Thanks for the reply. I’m a little confused still though. Could you elaborate?

Go to the search tab and select the events submenu. There you have a few events: scriptinit, refresh, save and validate. In these events you have access to your (search) fields. So use onvalidate to save the settings into a global variable like [glob_myfield]={myfield] and the refresh / init {myfield}=[glob_myfield]. If you need to fill fields initially you can use the init .

Well it sort of works. I used init and validate as you suggested. When I exit the application and then return to it, the search variables are there but are not applied when displaying the grid. I have to go into search and click on search again. What I had in mind was to exit the grid app and return to it later with the display identical as it was when I previously exited.