Wednesday, March 7, 2012

recordset open?

How do I programmatically tell if my recordset is open?Les Stockton wrote:
> How do I programmatically tell if my recordset is open?
By checking its State property (assuming you are talking about an ADO
recordset ... )
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.|||For ADO, check the .status method, for instance:
If Not ladoRs.State = adStateClosed Then
' -- add code --'
Anith

No comments:

Post a Comment