How automatically accpet messages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. I have a macro that runs several queries. One inserts values into a
related table.

Well, when I run the macro it appears a message saying that I'm trying to
copy records that cannot be insert.

and user must to accept saying yes to continue.

How do I prevent that message to appear?

regards,
Marco
 
Marco,

Put a SetWarnings/No action in the macro before the first OpenQuery action.
 
Back
Top