Board index » delphi » Shut down a ADO database file.
mke
![]() Delphi Developer |
Mon, 07 Mar 2005 08:42:56 GMT
Shut down a ADO database file.How do I close down the .mdb file so I can Here is some of the code I have tried AdoTable1.Active := False; I have left off the AssignFile line so I just made a call to Rename();. I get this error message "IOResult: 102 The semaphore is set and cannot be closed" The only code that was change was commenting out the AssignFile line. Also I have tried the ReNameFile('OldName','NewName'); This returned a boolean value of 0 which means it failed to rename the file as well. any other idea? :) |