ans
April 20th, 1999, 10:51 AM
I use DAO.
My application creates local files which are mdb files. When I create these files, I give them another extension rather than .mdb (let's say .pol).
I want to use CompactDatabase, but it seems that this method works only if the extension of the source and destination files is .mdb and no other one.
When I use CompactDatabase with FileSrc.pol and FileDest.pol it tells me that it doesn't find the ISAM pilot. It shouldn't look for any ISAM pilot as my files are Microsoft Jet databases.
Does anybody knoes how to work around the problem ?
My application creates local files which are mdb files. When I create these files, I give them another extension rather than .mdb (let's say .pol).
I want to use CompactDatabase, but it seems that this method works only if the extension of the source and destination files is .mdb and no other one.
When I use CompactDatabase with FileSrc.pol and FileDest.pol it tells me that it doesn't find the ISAM pilot. It shouldn't look for any ISAM pilot as my files are Microsoft Jet databases.
Does anybody knoes how to work around the problem ?