Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty recordset
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00618711
Message ID:
00618740
Views:
9
This message has been marked as the solution to the initial question of the thread.
>i am writing an application that uses sql selects to check the database, but if the select returns a blank recordset i get an error. i was trying to write code to check if the recordset is empty but cannot quite get it, can anyone give me a hand?
>cheers
>~M

Use the recordset's EOF property to detect an empty recordset.
if oRec.EOF then
   'empty recordset handler
end if
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform