>Hi All,
> I have users who leave the VFP application running over weekend and I need to run a cleanup routine which requires exclusive use of the .dbc file. I tried using the command set database to (database), but to no avail.
>
> If anyone has any suggestions please let me know. My second question, is there a way that would allow me to close the vfp application if it detect no activity for let's say three hours?
>
>thanks
To use SET DATABASE TO you must OPEN DATABASE before:
OPEN DATABASE (database)
SET DATABASE TO (database)
...
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.