Information générale
Catégorie:
Gestionnaire d'écran & Écrans
In my app I programatically add two tables to the database on startup then programatically add them to the dataenvironment of my main form. Periodically I drop the tables and then add them back(they are ODBC linked to an AS400 data source). As long as I run only one instance of the app all goes good. However, when I try running another instance when the update occurs I get an error when the tables are to be droped saying file access is denied. I have tried the RemoveObject on the second instance to remove the cursors from the dataenvironment before the update but that dosen't help. It seems the tables are attached to the instance. Please help.
May God Bless
S. Dyke
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement