Check no record in ADO

Use the code below:


If rs.BOF And rs.EOF Then  ' Todo - No record found

I always forget this simple code to check empty record in ADO, now write it here to remind myself.

Search Keyword: ADO,check empty record, return empty record, No record found

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s