Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Override Command 2

Status
Not open for further replies.

Jackcess

MIS
Dec 22, 2004
6
0
0
US
Hi everyone. I have this macro that runs a Make Table Query. When the query kicks off, it always gives me the warning message about how the table will be deleted etc etc. Is there anyway to automatically select "Yes" everytime so that the user does not have to sit there and click through buttons?

Thanks in advance!

Jack
 
How are ya Jackcess . . . . .

To turn off [purple]ActionQuery Warnings[/purple] in VBA:
Code:
[blue]   DoCmd.SetWarnings False
   [green]'Your Code[/green]
   DoCmd.SetWarnings True[/blue]
To [purple]permanently turn off ActionQuery Warnings[/purple]:

In the Database window, click [blue]Tools[/blue] - [blue]Options[/blue] - [blue]Edit/Find Tab[/blue]. In the [purple]Confirm section[/purple], uncheck [purple]Action queries.[/purple]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top