Subject: SetWarnings macro action
I am running macos to run several action queries that replace existing tables with new data based on parameter dates. There are several tables to update and to avoid the annyance of promts system messages have added an argument at the beginning of the macro to switch the warning off:
Action: SetWarnings
Argument: No
everything seemed fine but i have since realised that the action queries were not running - the reason being: "Carrying out this action with the Warnings On argument set to No has the same effect as pressing ENTER whenever a warning or message box is displayed. Typically, an OK or Yes button is chosen in response to the warning or message"
the typical message i would get on running the query would be:
The existing table "table" will be deleted before you run the query. Do you want to run the query anyway?the default answer (the result of pressing enter) is "no"
I want it to say yes - delete the table and replace the date
hence it would appear that the setwarning action will not work for me
Has anyone else encountered the same issue - and can anyone suggest a neat solution?
Many Thanks
Paul