Well if all else fails you could just cycle through the recordset and keep a counter of how many records there are... something like:The only problem with this is, if your queries take a long time to execute it will slow your application down.VB Code:
Do While Not rs.EOF intCtr = intCtr + 1 rs.MoveNext Loop
Michael




Reply With Quote