On 13 Feb 2005 09:35:19 -0800, galsaba wrote:
Is there a way to put it in the macro? how?
You can use a macro.
Place the Warnings False macro first, then the Open Query macro then
the Warnings True macro.
Perhaps it's time for you to start doing this in code. It's not hard
(just as easy as using a macro) and you get the benefit of being able
to add error handling when needed.
On the event line of whatever event you are using to start this
process, type [Event Procedure].
Then click on the button with 3 dots that appears on that line.
When the VBA code window opens, the cursor will be flashing between 2
already existing lines of code.
Write (between thos 2 lines):
DoCmd.SetWarnings False
DoCmd.OpenQuery "QueryName"
DoCmd.SetWarnings True
Change "QueryName" to the actual name of the query you are using.
Exit the code window and you're done.
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.