I run this code to find out how many records there are in the table
docmd.runsql ("select count (*) as intX from table1")
but vba gives an error.
How else would I get the number of the records in the table from the code?
docmd.runsql ("select count (*) as intX from table1")
but vba gives an error.
How else would I get the number of the records in the table from the code?