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

Compact database within macro - doesn't work

Status
Not open for further replies.

dsour

Technical User
Jul 21, 2001
1
US
My macro is creating an export file for another application. In order for export records to be in sorted order, I have to COMPACT DATABASE first. Works great using menu's - but doesn't work within macro (runcommand - compactdatabase). Any ideas? (I'm on ACCESS 97).
 
I fear that you will not arrive very far if you only use macros (see ACCESS ONLINE ENCYCLOPEDIA at articles about macros).
But IMHO there is no relation between exporting data and compacting the database.
You can create any sort order in using queries before the data export.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top