469,916 Members | 1,953 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,916 developers. It's quick & easy.

query prompts

I have a query that needs to be run , The problem is with the prompts. I've
turned of all the prompts in the tools->options->edit/find page but it still
asks for deletion confirmation...is there any way round this? I want it to
do the delete without prompting the user.

Thanks
Nov 12 '05 #1
1 1342
Use a button to run your query. Put the following code in the Click event of the
button:
DoCmd.SetWarnings False
DoCmd.OpenQuery "NameOfYourDeleteQuery"
DoCmd.SetWarnings True

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"SPM2" <sp**@canada.com> wrote in message
news:v9********************@ursa-nb00s0.nbnet.nb.ca...
I have a query that needs to be run , The problem is with the prompts. I've
turned of all the prompts in the tools->options->edit/find page but it still
asks for deletion confirmation...is there any way round this? I want it to
do the delete without prompting the user.

Thanks

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by sal cifone | last post: by
1 post views Thread by SPM2 | last post: by
10 posts views Thread by Kenneth | last post: by
5 posts views Thread by Ryan Hubbard | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.