472,102 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

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 1396
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.