Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

force unlock DB

Status
Not open for further replies.

micky500970

Programmer
Jul 9, 2004
81
0
0
GB


I have created a program to back up our Access DB at 20:00 and 7:00. The only problem is that if somebody has left their computer logged in while the access program is open my program does not back it up.(this is how I want it)

Is there a way to force an unlock of the DB using VB.

If fso.FileExists("d:\db1.ldb") and time <7:00 and > 20:00 Then force unlock DB else goto blah

Thanks in advance

Mick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top