On my website (
www.rogersaccesslibrary.com), is a small Access database
sample called "CompactBackEndDB.mdb" which illustrates how to do this. You
can find it here:
http://www.rogersaccesslibrary.com/f...ts.asp?TID=378
--
--Roger Carlson
MS Access MVP
Access Database Samples:
www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L
"Janis" <(E-Mail Removed)> wrote in message
news:6C13C52C-4F73-4771-8D11-(E-Mail Removed)...
> Oh thanks, compacting the front end will not do anything in this case we
> only
> need to save the back-end.
>
> "Larry Daugherty" wrote:
>
>> Compact on close is only going to compact the FrontEnd, not your
>> BackEnd with the data.
>>
>> HTH
>> --
>> -Larry-
>> --
>>
>> "Janis" <(E-Mail Removed)> wrote in message
>> news:BEE56E3A-F1E5-44E8-9A38-(E-Mail Removed)...
>> > Is it a good idea to use the option to compact a database on close
>> if there
>> > is a possibility there is corruption in a database. Last year the
>> client had
>> > a split database ascs.mdb and ascs_be.mdb and they had them both on
>> a z:
>> > drive and opened it from a shortcut. Everytime she ran a report she
>> had to
>> > compact the database first or she would get a runtime error I guess
>> it was
>> > looking for the backend. But it worked by compacting it. So there
>> is a
>> > chance there is corruption however I split the two up and I didn't
>> get the
>> > runtime error again. So what I want to know is safe to use the
>> compact on
>> > close option?
>>
>>
>>