|
-
Jan 9th, 2008, 01:02 AM
#4
Frenzied Member
Re: Another select statement
so do it like this:
strSQL="SELECT * FROM TableA
WHERE LastName='Smith'"
run that throught the recordset with the cursor set to static.
once it is open, do a recordset.recordcount and that will give you the count.
Pretty much similar to what I described in the previous post.
I'll Be Back!
T-1000
Microsoft .Net 2005
Microsoft Visual Basic 6
Prefer using API
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|