General information
Category:
Forms & Form designer
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only