Hi - this has already taken me days....:-/ When I try to add a column via SQL to the table employees I get the following error:
With my other tables the command works (tried it to make sure the command works). I can also add a column to the table employees if it's a MySQL database. With Access as backend I get the above error. The difference of this table compared to the other tables is that I select data from it once at the beginning (part of the login process). BUT - I already tried rs.close and I also dropped all tables after the login and relinked them. I still get the same error! It seems as if the table itself is different from the other tables, but this is not the case in my opinion. I attached the backend database so you can have a look. BTW: I need all this to implement an automatic update of my app, e.g. to add new features etc., so I distribute a new version that automatically does the required changes in the background.
I'd be very grateful for advice as this is really freaking me out.
This is the SQL command:
Thank you in advance - FRANK
Code:
The database engine could not lock table employees because it is in use by another person or process.
I'd be very grateful for advice as this is really freaking me out.
This is the SQL command:
Code:
SQL = "ALTER TABLE employees ADD column preselect_translator_CAT_tool int, preselect_translator_availability int, preselect_translator_language_pair int"
db.Execute SQL