G
Guest
Hi, everyone!
Have a sub that performs a MakeTable query. When it runs, I never want to
show the Warnings. Easy enough, just DoCmd.SetWarnings = False.
This sub is called in various places. Sometimes, Warnings are on and at
other times they are already off. In the sub, I want to be able to find out
the current SetWarnings value, turn SetWarnings off to run the MakeTable
query, then return SetWarnings to the value it had before the sub was called.
Can't seem to find how to read the current value of SetWarnings. Anyone
know how?
Thanks,
Bruce
Have a sub that performs a MakeTable query. When it runs, I never want to
show the Warnings. Easy enough, just DoCmd.SetWarnings = False.
This sub is called in various places. Sometimes, Warnings are on and at
other times they are already off. In the sub, I want to be able to find out
the current SetWarnings value, turn SetWarnings off to run the MakeTable
query, then return SetWarnings to the value it had before the sub was called.
Can't seem to find how to read the current value of SetWarnings. Anyone
know how?
Thanks,
Bruce