Devilboy916
Programmer
Hello All
I have a macro of make table queries in access. These are to run automatically overnight.
If I add setwarnings=false into the macro, I do not get warned if one of the queries fails.
So, I have added some code in the macro to turn the three options off in access for query confirmations (Document deletions, Action queries, etc).
At the end of the macro I switch them back on.
Bobs your uncle.
However, With the make table queries, access asks if you are sure you want to delete the table before recreating it.
Is there a way to switch this off in code too?
Or perhaps a way to flag up errors with the setwarnings off?
Cheers in advance.
DB
I have a macro of make table queries in access. These are to run automatically overnight.
If I add setwarnings=false into the macro, I do not get warned if one of the queries fails.
So, I have added some code in the macro to turn the three options off in access for query confirmations (Document deletions, Action queries, etc).
At the end of the macro I switch them back on.
Bobs your uncle.
However, With the make table queries, access asks if you are sure you want to delete the table before recreating it.
Is there a way to switch this off in code too?
Or perhaps a way to flag up errors with the setwarnings off?
Cheers in advance.
DB