By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,483 Members | 1,544 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,483 IT Pros & Developers. It's quick & easy.

query prompts

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.