Back up backend file

O

OregonIzer

I "borrowed" a subroutine that I found in this group to create a backup of my
backend. (Thanks Ken Snell). Before it runs a backup it checks for a locking
file to make sure that no one else is in the system. This works fine if I
manually close any open forms before I try to run the subroutine. But if I
close forms in vba as part of my function it leaves the locking file and
'believes' someone else is in the system. Can someone tell me how to get rid
of the .ldb file.
 
D

Douglas J. Steele

How are you closing the forms? It shouldn't matter whether you're closing
them programmatically or manually.
 
O

OregonIzer

I finally "solved" the problem by putting the button onto a form instead of
the toolbar - but I don't understand why I can't get it to work from the
toolbar
 
Top