VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



To count records from a table

by NAGARAJ (1 Submission)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 13th January 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

To count records from a table

Rate To count records from a table



rs.open "Select * from table",con,adopenstatic,adlockoptimistic
intcount=rs.recordcount
msgbox "Total records " & intcount
'be carefull to select adopenstatic

Download this snippet    Add to My Saved Code

To count records from a table Comments

No comments have been posted about To count records from a table. Why not be the first to post a comment about To count records from a table.

Post your comment

Subject:
Message:
0/1000 characters