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