|
-
Sep 17th, 2002, 05:15 AM
#1
Thread Starter
Member
Access Db Compact
HELLO!
I would like compact my ACCESS DATABASE with a vb code
How can i do?
Thank's
Cybercool
-
Sep 17th, 2002, 05:39 AM
#2
Frenzied Member
oh1mie/Vic

-
Sep 17th, 2002, 05:41 AM
#3
Member
Compact Access Db in VB
Ensure database is closed. This can be checked by looking for a the database name with an extension of LDB. The dbName must include the the path where the database is included
dbName = App.Path & "\MyDB.mdb"
DBEngine.CompactDatabase dbName, dbName & "!!!"
Kill dbName
Name dbName & "!!!" As dbName
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|