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

Selecting All Records Using Command Button

Status
Not open for further replies.

FCCC

Technical User
Mar 14, 2002
104
0
0
US
Hi,

I am trying to create a command button for "selecting all records" in the database. This is like you go to Edit->Select All form the MS Acess edit pulldown menu. I couldn't not find this action on the "command button wizard" so I thought that it is possible to make one.

Does anyone have an idea? Would appreciate any help.
 
Well, you can't select ALL records in the database without opening up each table, but this might work on a table-by-table basis

DoCmd.RunCommand acCmdSelectAllRecords Ex-JimAtTheFAA
78.5% of all statistics are made up on the spot.
Another free Access forum:
More Neat Access stuff at
 
I haven't used this, but try:

DoCmd.RunCommand acCmdSelectAllRecords

 
Yuppppp, it works..

Thanks guys...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top