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

Hide confirmation dialog 1

Status
Not open for further replies.

schwankieog

Programmer
Jul 25, 2001
43
US
I am running a sql delete query using docmd.runsql() when the query runs it works corectly but i get the "you are about to delete x records" Is there any way to hide this? it isnt neccessary but this is a very small part of a larger code and i would like to be able to make it so the user can start it then walk away. thanks
 
replace the docmd.runsql with currentdb.execute

Ben ----------------------------------
Ben O'Hara
bo104@westyorkshire.police.uk
----------------------------------
 
place DoCmd.SetWarnings False before your DoCmd.RunSQl to turn off system warnings.... Programming isn't a profession of choice.
It's a profession of calling...
"Hey Programmer, your application broke again!" [spin]

Robert L. Johnson III, A+, Network+, MCP
Access Developer/Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top