On Tue, 19 Apr 2005 15:31:04 GMT, Susan Bricker <slbrick@verizon.net>
wrote:
An alternative to Di's method works if your server machine is on at
all times, whereas the client machines are only on during the day.
This involves scheduling a Windows Task to run automatically at night,
using a command line like this:
<path to>msaccess.exe <path to>my.mdb /compact
-Tom.
[color=blue]
>
>Steve,
>
>Thank you for the explanation. Is there a way (programatically) to
>compact a back-end app? I do have an application (here at work) that is
>split (back-end and front-end). Luckily, I have the ability and
>authority to get to both and can manually compact them but it would be
>great to have a command button or some action kick-off the database
>compact routine. Do you have any ideas or suggestions?
>
>SueB
>
>
>*** Sent via Developersdex
http://www.developersdex.com ***[/color]