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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to -- querystring not found error msg

Status
Not open for further replies.

cindy0904

Technical User
May 30, 2002
29
US
Hi, I have 2 pages. One passes a user input one-line text field to the second page (request.form). It all works great IF the user enters a valid number that matches the DB. BUT, if they put in anything else, the second page displays the basic BOF/EOF error. Where and what code can I use to display a blurb, "sorry, not found.." ????

Thanks!
Cindy
 
If not objRecordSet.eof then
<<DO WHATEVER>>
Else
Response.Write(&quot;Sorry, no record found!&quot;)
End if

:) - FateFirst
 
Ah, yes, I had tried that and my problem was I had a field left out that was still causing the problem. I needed to encompass all fields. Thanks for the reply!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top