Avatar of Vasilis Dimitrakas
Vasilis Dimitrakas
Flag for Greece asked on

Empty OR not empty recordset (Classic ASP/VBScript)

I know that if we want to check if a recordset is empty (no records found) we are doing like this:

If rst.BOF And rst.EOF Then

Open in new window


How I can do the exactly opposite? To check if the recordset has records?

How can we write
IS NOT BOF

Open in new window

and
IS NOT EOF?

Open in new window

VB Script* classic asp

Avatar of undefined
Last Comment
Vasilis Dimitrakas

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Fabrice Lambert

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Vasilis Dimitrakas

ASKER
@Fabrice Lambert: Thank you for the in-depth analysis of your answer!
Your help has saved me hundreds of hours of internet surfing.
fblack61