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

Redirect on no data..? 1

Status
Not open for further replies.

kenjoswe

Technical User
Sep 19, 2000
327
SE
Hi all,

How can I redirect to a message-page if the recordset doesn't retrive any records?

Something like:

if rs.NoRecords then
response.redirect "NoData.html"
end if

/Kent J.









 
if rs.EOF then
response.redirect "NoData.html"
end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top