Dear reader,
In my db I import quite a lot of data. It grow to fast, so I had to split it into a back and front end, so I could compact and repair the back end after each import, without bothering the user. Works well.
However the data is processed and I use multiple statements to delete tmp tables, to create tmp tables, to append data to existing tables etc. Strange errors occur like "3107 record(s) cannot be added; no permission.." Boils down to the front end not knowing in the back end a new table was created in the statement before and so on. Even a table refresh of the back end doesn't work.
The .stillexecuting statement doesn't work as well in 2007. How can I ensure Access has completed the SQL task in the back end and gave the message to the front end? At the moment I use a function sleep, but this can't be the final solution, while I never know on which system the back end will be ran.
In my db I import quite a lot of data. It grow to fast, so I had to split it into a back and front end, so I could compact and repair the back end after each import, without bothering the user. Works well.
However the data is processed and I use multiple statements to delete tmp tables, to create tmp tables, to append data to existing tables etc. Strange errors occur like "3107 record(s) cannot be added; no permission.." Boils down to the front end not knowing in the back end a new table was created in the statement before and so on. Even a table refresh of the back end doesn't work.
The .stillexecuting statement doesn't work as well in 2007. How can I ensure Access has completed the SQL task in the back end and gave the message to the front end? At the moment I use a function sleep, but this can't be the final solution, while I never know on which system the back end will be ran.