jeffwest21
IS-IT--Management
I have a database that I take a 1/2 hourly update from into a SQL database so that I can do hourly reporting (client requirement), the issue i am sometimes faced with is if a user is in the process of logging in( I have multiple users), the process I have to do this says that the database is locked to user *****.
The process I have is another access database that takes the main table is linked to it in the main database, and sends the data to the SQL database, two questions here I guess.
1. How can I put a routine in my VBA code that if this occurs it waits for 30 seconds and trys again (does this until successful)
2. Is there a better way to link my table to a SQL database without reversing this so the SQL database table is imported into the database (This is a short term project so doesn't need this bit)
While normally this isn't a problem, because they use it at weekends and into the early evening I am not alsways around to kick this manually.
'Clever boy...'
The process I have is another access database that takes the main table is linked to it in the main database, and sends the data to the SQL database, two questions here I guess.
1. How can I put a routine in my VBA code that if this occurs it waits for 30 seconds and trys again (does this until successful)
2. Is there a better way to link my table to a SQL database without reversing this so the SQL database table is imported into the database (This is a short term project so doesn't need this bit)
While normally this isn't a problem, because they use it at weekends and into the early evening I am not alsways around to kick this manually.
'Clever boy...'