D
diannem
I am not a very experienced ACCESS user and have Access
2002 in Office XP.
I have set up a group of macros that work but display
messages such as -- can't find file -- which is valid if
the file has been deleted.
It then requires me to click enter to continue and brings
up the FailMacro window where I have to click on HALT in
order to continue. I want to retain the macros, as is, to
essentially ensure that a file has always been deleted
before my group of macros is run but either suppressing
the error message or entering the needed response into my
group of macros so that they go on to the next step.
I tried Echo -- off, and SetWarning -- Warning -- off;
these did not supress the messages. My next thought is to
enter "OnError"... but I am not sure what I should enter
then and where in the Macro to put it.
Any thoughts or experience you might be willing to share
would be VERY much appreciated!!
Dianne
2002 in Office XP.
I have set up a group of macros that work but display
messages such as -- can't find file -- which is valid if
the file has been deleted.
It then requires me to click enter to continue and brings
up the FailMacro window where I have to click on HALT in
order to continue. I want to retain the macros, as is, to
essentially ensure that a file has always been deleted
before my group of macros is run but either suppressing
the error message or entering the needed response into my
group of macros so that they go on to the next step.
I tried Echo -- off, and SetWarning -- Warning -- off;
these did not supress the messages. My next thought is to
enter "OnError"... but I am not sure what I should enter
then and where in the Macro to put it.
Any thoughts or experience you might be willing to share
would be VERY much appreciated!!
Dianne