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 a Toolbar Item Using a Button on a Form

Status
Not open for further replies.

T8JGT

IS-IT--Management
Feb 2, 2005
19
0
0
GB
Hi

How can i get a button on a form to select a item on the access toolbar (Compact & Repair Database).

Thanks
 
Hi

As a General answer to your question, see DoCmd.RunCommand in help.

However you cannot compact the current database in code as you are trying to do, for solutions to this particular requirement, search FAQ's and/or Google for "Compact Current database"

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top