This topic is locked

Advanced Search - defaults

4/6/2005 11:42:44
ASPRunnerPro General questions
Z
znetman author

Hello All,
Posted the question listed below and you said to limit the returning row. That worked great but I was talking about maybe appling a default value to a field that would limit the rows that the user sees.
Example:

If I had a DB field named "Status". I would want to select only the rows where STATUS = OPEN and have them display in the LIST.asp.
If the user wanted to see all the rows they would click on Advance Search and Clear or change the selection of STATUS.
Or somethnig like that? Ideas?
Thanks,

Zack
**

Hello All,
I using version 3.1a that has the updated Advanced Search (it's great).
Is there a funtion to apply default values to the Advanced Search so when the List.asp opens for the user for the first time I can limit the data that is displayed?
Thanks for the Help,

Zack

Sergey Kornilov admin 4/11/2005

Zack,
with ASPRunnerPro 3.2 you can pass parameters to list page. This URL mimics Advanced Search where Make field contains Ford
http://localhost/test/Cars_list.asp?action=AdvancedSearch&FieldName=Make&SearchOption=Contains&Make=Ford
Here is the list of new features in ASPRunnerPro 3.2 along with download URL:

http://www.asprunner.com/forums/index.php?...?showtopic=1312