If you open it be sure to close it!


RS.Close
DB.Close

I don't know if that will work in FoxPro either.