Subject problem with backup / restore
Author iguana_xyz
Hello every one, I am adding a final touch to an application where
when te user closes the application I want to copy the database,
backup it and restore it, the problem I have is when i run the
restore command I get an error that thhe database might be in use

**
lock time-out on wait transaction

object C:\TINTORERIA_BASEDATOS\TINTORERIA_LOCAL.GDB is in use

could not drop database C:\tintoreria_basedatos\TINTORERIA_LOCAL.GDB
(database might be in use)
**

I close teh database before executing the restore command but some
how It still thinks that its open, what can I do to avoid that
problem??

Any Ideas??

Thanks in advance