PDA

View Full Version : Solved: Possible to disable screen updating for Access?



herzberg
04-23-2008, 12:53 AM
Hi all,

Just a quick question here. Is there a setting or Excel equivalent of ScreenUpdating property within Access that I can set to disable screen updating? I have this macro that deletes and importing multiple tables and the flickering kinda irritates me. My users love it though; it's the only proof to them that the macro is actually working.

Oorang
04-23-2008, 06:23 AM
For Access Macros, you will want:

SetWarnings (Supresses all those "Are you sure messages.")
Hourglass (Set the mouse to an hourglass.)
Echo (Disables screen updating and puts messages in the status bar.)For Access VBA just prefix those with DoCmd (Ex: DoCmd.HourGlass)

CreganTur
04-23-2008, 12:27 PM
Just a cautionary note: if you use DoCmd.SetWarnings False to turn off all of the "are you sure warnings"

Be certain that you place a DoCmd.SetWarnings True just before your End Sub (or somewhere in your code) so that the warnings are re-instated when you're done.

Oorang
04-23-2008, 08:03 PM
Good point! :)

CreganTur
04-24-2008, 05:12 AM
Thanks- learned that the hard way. Not an error I want other people to have to go through!

herzberg
04-24-2008, 10:16 PM
Thanks a lot guys!

Trevor
04-26-2008, 10:28 PM
awww... who needs warnings? :Beerchug: they just get in the way end users love 'em for some unknown reason, the more the better :-p