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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get rid of default messages when running queries 1

Status
Not open for further replies.

elinorigb

Technical User
Jun 21, 2004
15
US
Hi Again,

This is probably simple, but maybe not. I have some buttons on several forms that run some macros. These macros, in turn, run various update or append queries. While these macros and queries are running, I get several messages, something like
"You are about to modify 43 records. Are you sure you want to proceed?"

My question is, is there anyway I can get rid of these messages, so that the user doesn't have to keep saying OK in order to keep the queries running?

thanks as always
 
If you want to disable the warnings add a SetWarnings = No before your first action query in the macro;

Make sure you SetWarnings = Yes after the last action query.

Larry De Laruelle

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top