Compacting / Repairing a Wordgrouped DB from another DB

stuartam

Registered User.
Local time
Today, 16:29
Joined
Jul 16, 2004
Messages
93
Help,
i am trying to compact and repair a workgrouped DB from within anohter DB, but i cant work out how to do it, if the DB is just passworded ( using the set DB password ) it works using:

Code:
DBEngine.CompactDatabase DBLoc & DBName, DBLoc & "BKUK\" & DBName, , , DBPass

but this wont work if its workgrouped because you obviously need to load the workgroup first.

and ideas?

thanks
 

Users who are viewing this thread

Back
Top Bottom