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

Compact and Repair Access 2000 via vb

Status
Not open for further replies.

inexperienced1

IS-IT--Management
Aug 9, 2002
49
US
I have a piece of vb code that opens an access database and then tries to repair and compact it.

This all work in access 97 but now fails in 2000.

Can anyone help with this and possibly provide the necessary code.

Many thanks

 
They switched database formats from JET 3.5 to JET 4.0 between 97 and 2000. So, given the amount of detail you've provided, I'll just venture a guess that it has something to do with the format change. ADO connection strings will have to change; I don't know, but I think you might have to use a different DBEngine object if you're using DAO.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top