>The App is running. We need to delete the local database becourse of an update routine. All tables are closed, no indexes open, database closed with CLOSE DATABASES ALL. deleting the database with delete database does not work, delete in the explorer also not.
Seems like it must be tied to something, somewhere. Try a simple test to see that normally this works:
1) create data testdb
2) in a form, add a button, and put in it:
open data testdb
close data
delete data testdb
Also, have you tried using DBC() to see what the current database is before/after you attempt to close and delete?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.