multiple field search on ASP pages (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


wlp -> multiple field search on ASP pages (3/27/2002 11:48:47)

My last question was rediculous I appologize.
This is not. On page 1, I am displaying data from a database connection which includes 2 text fields in the search criteria. i.e. first_name and last_name.

I am now creatig a hyperlink from page 2 to search a number field on page 1 using the unique ID of the record from page two. When I add a new field to the search criteria which contains a number, the DRW asks me for which type of match and I enter "exact", because my choices are limitied to number related choices in the DRW, and I execute the hyperlink from page 2 everything works fine. When I do a search without the hyperlink from page two I get a database error because I have not specified a value for the new field in the search criteria requireing a unique number.

Is there a way, other than creating a new ASP page, for this specific search to configure the search criteria for the field using a unique number to apply a wild card type search or ignore an empty search field when not using a record with a unique ID?

Not very easy to explain this. Thanks

John Stafford
WaterLine Productions
Where Sound Decsions Are Made




rdouglass -> RE: multiple field search on ASP pages (3/27/2002 15:24:37)

Addressed in another post:

http://www.frontpagewebmaster.com/topic.asp?TOPIC_ID=13281

 




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875