Mathematician
Registered User.
- Local time
- Today, 11:59
- Joined
- Nov 23, 2007
- Messages
- 17
Hi all,
I would like to compact the same database I am working with, using VB.
It shoul to work like this:
sub compact()
DBEngine.CompactDatabase "c:\my.mdb", "c:\my.mdb"
end compact
how to compel VB to compact the same data base where the code is.
I don't want to compact to another location and delete previous name and rename the new one. I just want to compact currentdb.
Thx in advance for any help.
Mathematician
I would like to compact the same database I am working with, using VB.
It shoul to work like this:
sub compact()
DBEngine.CompactDatabase "c:\my.mdb", "c:\my.mdb"
end compact
how to compel VB to compact the same data base where the code is.
I don't want to compact to another location and delete previous name and rename the new one. I just want to compact currentdb.
Thx in advance for any help.
Mathematician