Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP error when search on criteria returns no record

Status
Not open for further replies.

delorfra

Programmer
Mar 8, 2001
79
FR
On a search based on two criteria text boxes : part description, beginning date (ie from), end date (ie to) an ASP error page is generated because there is no records returned by the query.
How to handle this to get a blank table instead ?

Thanks

 
Hi,

try using the "Hide region" within the server behaviors to display an alternative table if the recordset is empty.

Cheech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top