473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 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 1449
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sal cifone | last post by:
Hey, Is there any way to turn off the query parm prompts? I have a report that must be printed for 53 different cities and the vba code loops thru a table and passes the value to a select query....
1
by: SPM2 | last post by:
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...
10
by: Kenneth | last post by:
I have a Query that consist of a lot of different sales data, and one of the colums are different date. The date goes from 1jan2003 til 31jan2003. in this Query I only want the salesdata for...
5
by: Ryan Hubbard | last post by:
Is it possible to get the recordset from an open query window? So you run the query. The window is open. Can vba retrieve this data?
5
by: lis0122 | last post by:
I'm a database marketing manager for a small non-profit. I created a query that prompts you for a company name and then pulls a list of all of our contacts in the database in that company. Our...
3
by: Bryan | last post by:
I've been looking over this newsgroup, but I can't find an answer to my problem. I see that a few others have posted this issue over the years, but none of them got a response. I'll give it...
1
by: tom | last post by:
Is it possible to have a report with prompts/parameters, but without an underlying query? I've seen varying posts related to this, but I'm not seeing a concete answer. As I understand it, to make a...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
3
by: WPW07 | last post by:
Hello, I've got a "data import form" that is a simple dialog type form. On the form is an "Import" button with code that runs several action queries. The queries import data from an Oracle...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.