Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Trying to get record cound from sql code

I have this code in the onload event of a form:

strSQL = "SELECT TOP 1 tblPublicationIssuesAndDates.IssueN"

But then on the form I am trying to get the record count from the above.

I tried this:

me.txtRecCount = Count(strSQL) but that doesn't work.

??
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial