Update/append query message box

RCMetrics

Board Regular
Joined
Oct 28, 2005
Messages
95
Hi,

Is there a way to disable the "you are about to modify X amount of records..." when running an update query or even an append query?

It's nice to know what will happen to the table but I know that it's now well setup that I don't need to worry how many records are getting modified... so I just want to avoid clicking "ok" all the time...

Any ideas?

Thanks
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi
Are you running this query from the query screen or from a form?
Andrew
 
Upvote 0
Hi

Assuming you are clicking a button to run the query, you will have used either a macro or VBA to run the query. Before the open query line, insert a new line and add the command (for a macro) SetWarnings -> No or (for VBA) DoCmd.SetWarnings (WarningsOff). After the open query line, insert another new line to turn the warnings back on.

If you used the wizard to create the button and are unsure as to how to make these changes, then go into the design of your form, right click the button on your form -> Properties -> Event tab -> On Click -> click the 3 dots to the very right of this box to open the VBA editor.

HTH, Andrew :)
 
Upvote 0

Forum statistics

Threads
1,203,649
Messages
6,056,544
Members
444,872
Latest member
agutt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top