I'm using search form to let users specify search criteria. Everything works ok. I apply users filter to DataSet in DataSetProviderSearchSQL event handler.
After searching users open a form on a new page by double clicking on a row.
I do this:
- Code: Select all
IWCGJQGrid.LocateSelectedRowId;
<create form instance>;
<form instance>.Show;
At some later time form is closed by users.
I do this:
- Code: Select all
<form instance>.Release;
The form containing the grid is showed again. Records in DataSet are still filtered, grid shows only filtered records but when users open search form again there is no search criteria at all.
How can I avoid loosing search criteria?
How can I retaing search criteria?
Thanks in advance, PBC.