Vasiliy
Posts: 378
|
| Posted: 01/20/2006, 9:15 AM |
|
Does anybody has any experience in saving/restoring search parameters in Search form?
I want to let user save and restore search parameters.
Any ideas/solutions/examples are greatly appreciated.
Ideally I'd like to have an option in Yes search form to save/restore search parameters when I run a wizard.
_________________
Vasiliy |
 |
 |
Benjamin Krajmalnik
|
| Posted: 01/20/2006, 2:00 PM |
|
Vasily,
Just an idea.
Create a table where you store the queries.
Since you want the queries to be user dependent, it should have somethihng
like:
UserID, FormID, Query
Now, for the query, you would be saving the values of each field, so you
could either encapsulate it into an XML, or keyvalue pairs.
Now, you could have a lookup button to retrieve the parameters. YOu would
call a popup, which would pass the user id and form if and it would show the
queries available.
When you select the query you would then populate the fields in the search.
|
|
|
 |
Vasiliy
Posts: 378
|
| Posted: 01/20/2006, 2:55 PM |
|
Thanks Benjamin.
Reading request field-by-field and storing field+value in separate child table is probably the way to go.
_________________
Vasiliy |
 |
 |
Benjamin Krajmalnik
|
| Posted: 01/20/2006, 4:00 PM |
|
True.
Link by a unique query id to the parent stored query table.
|
|
|
 |
|