473,396 Members | 1,774 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,396 software developers and data experts.

Action queries

In tools options you can shut off the Confirm Action Queries. I am
wondering is there a way to do this with access runtime. So when a
program is distrubuted the action query confirmation box does not
appear?
Thank you,

Coy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
4 4360
Try:
Application.SetOption("Confirm Action Queries"), False

This is a different setting from SetWarnings, and you may not know about
engine-level errors that occur when you action queries run. It may be better
to Execute the query, e.g.:
dbEngine(0)(0).Execute strSQL, dbFailOnError

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Coy Howe" <cf*@olypen.com> wrote in message
news:41**********************@news.newsgroups.ws.. .
In tools options you can shut off the Confirm Action Queries. I am
wondering is there a way to do this with access runtime. So when a
program is distrubuted the action query confirmation box does not
appear?

Nov 13 '05 #2

Thank you for responding, but I have no idea where to put
Application.SetOption("Confirm Action Queries"), False
Please give me any additional help you can offer.

Thank you,

Brenda
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3

Thank you for responding, but I have no idea where to put
Application.SetOption("Confirm Action Queries"), False
Please give me any additional help you can offer.

Thank you,

Brenda
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #4
Place it in the Open event procedure of your startup form, i.e. the form
defined under:
Tools | Startup

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Brenda" <br****@mycollegeinfo.com> wrote in message
news:41**********************@news.newsgroups.ws.. .

Thank you for responding, but I have no idea where to put
Application.SetOption("Confirm Action Queries"), False
Please give me any additional help you can offer.

Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Lee | last post by:
Hello All, First of all I would like to say thank you for all of the help I have received here. I have been teaching myself Access for about 4 years now and I've always been able to find a...
8
by: PC Datasheet | last post by:
If a subroutine runs twelve action queries, will they run one-at-a-time where one finishes before the next one starts or will one or more run simultaneously? If they don't run one-at-a-time, how...
4
by: A.M | last post by:
Hi, Using ADO.NET, How can i execute action queries already saved inside an MDB file ? I already know that i can run sql commands like UPDATE and INSERT, but how can i run those ones already...
3
by: ILCSP | last post by:
Hello, I'm fairly new to the concept of running action pass through queries (insert, update, etc.) from Access 2000. I have a SQL Server 2000 database and I'm using a Access 2K database as my...
5
by: HS Hartkamp | last post by:
Hi all, I am working with fairly large databases (> 500 Mb / < 2,000,000 rexcords), and often need to do action queries on these. I have the feeling that much of the computing power is going...
1
by: paullynch | last post by:
Problem running action queries: MS Access On running an access macro with runquery actions that run various action queries which create/delete and replace several tables, I am trying to avoid the...
2
by: paullynch | last post by:
Database: MS Access Subject: SetWarnings macro action I am running macos to run several action queries that replace existing tables with new data based on parameter dates. There are several...
1
by: ezderek | last post by:
For many years if I wanted to run an action query from code, I've used code something like this --- dim qd as query dim sSQL as string dim db as database set db = currentdb() sSQL = "UPDATE...
4
by: destinman via AccessMonster.com | last post by:
I just installed MS Access 2007. Is there any way to turn off the confirmation of action queries in 2007 ? -- Message posted via AccessMonster.com...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.