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

select with no record returned

Status
Not open for further replies.

elly00

Technical User
Jun 30, 2011
69
IT
Hi

I've done a select in a sql table..like (select myart from listarticle)
The problem is that the select can return no records (if myarticle is not presenr in the table)
In this case I receive a sql error

So is there a way to check if the select doesn't return a recordset?

Thanks

 
If you show here your code, I'm sure somebody will tell you what to change/add to detect the empty recordset returned.

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top