by sumeet haldankar (5 Submissions)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 29th July 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Count the no of records and no of columns in a table
rs.open "select * from .........",conObject,adopendynamic,adlockoptimistic
rs.movelast
msgbox rs.recordcount ' returns no of records
msgbox rs.fields.count ' returns no of columns