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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check to see if a table has data

Status
Not open for further replies.

jaybird19

Programmer
Jan 16, 2009
7
US
How can I check to see if a table has data? Based on whetehr or not tbl_Codes has any data in it, I want to run one of two macros. I know how to set the macro, but I need a boolean or similar function to let me know if tbl_Codes has data in it or not.

Thanks for your help!
 
A macro? Which product are you using? Are you using VBA from within Microsoft Access? If so, you need to post in the Access forum, not the Visual Basic.Net forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top