Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty recordset
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00618711
Message ID:
00618740
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform