CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Search form - Save/Restore search parameters

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
Benjamin Krajmalnik
Posted: 01/20/2006, 4:00 PM

True.
Link by a unique query id to the parent stored query table.


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.