When I try to compact the access file, the following error message is shown: "Can't read the records. You don't have the rights to read the data of
....\abc.mdb".
If I look in the directory after I tried to compact the tables, I will see that Access automatically created a databasefile named db1.mdb. If I open the file I find the compacted tables in there. So Access did compact the tables, but made a new file of it.
Why it happened? I wanna automatically compact the file every morning. If I have to change the name by hand each time, it is not convenient.
Could someone help me? every reply will be appreciated.
....\abc.mdb".
If I look in the directory after I tried to compact the tables, I will see that Access automatically created a databasefile named db1.mdb. If I open the file I find the compacted tables in there. So Access did compact the tables, but made a new file of it.
Why it happened? I wanna automatically compact the file every morning. If I have to change the name by hand each time, it is not convenient.
Could someone help me? every reply will be appreciated.