Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count rows in a db.

Status
Not open for further replies.

Tom123456

Programmer
Apr 2, 2003
70
SE
I think this is an easy question for all experts her on the Access forum. Can I count the number of rows in a db?


- Tom
 
Hi

If you look at the bottom of the table it should say record 'x' of 'y' where 'x' is the record that you currenty have selected and 'y' is the total number of records.

Hope this helps

[lightsaber] May The Force Be With You [trooper] [yoda]
 
Hello TSSTechie, Yes but can i in code say for example:

if(NumberOfRows>5) Then
MsgBox "Message"
End if



- Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top