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 can they be made to do
it?
Thanks!
Steve 8 1343
PC Datasheet wrote: 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 can they be made to do it?
Thanks!
Steve
They will be run in series with each one waiting until the preceeding one is
finished. In general you have to go out of your way to make code statements NOT
behave this way.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
If your concern is that all the queries succeed of fail, wrap them in a
transaction, then commit or rollback based on the success of all the
queries.
"PC Datasheet" <no****@nospam.spam> wrote in message
news:iL*************@newsread2.news.atl.earthlink. net... 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 can they be made to
do it?
Thanks!
Steve
Thanks, Ron!
That wasn't my initial concern but I am going to apply your suggestion.
Steve
"paii, Ron" <pa**@packairinc.com> wrote in message
news:Qf********************@athenet.net... If your concern is that all the queries succeed of fail, wrap them in a transaction, then commit or rollback based on the success of all the queries.
"PC Datasheet" <no****@nospam.spam> wrote in message news:iL*************@newsread2.news.atl.earthlink. net... 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 can they be made to do it?
Thanks!
Steve
Thanks, Rick, for the quick response!
I have seen in the newsgroups posts saying something in a procedure happens
before something preceding is finished. Is that contrary to what you say?
I have also seen recommendations in the newsgroup to use Do Events to allow
something to complete before another thing happens. Is that contrary to what
you say?
Steve
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:aT******************@newssvr14.news.prodigy.c om... PC Datasheet wrote: 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 can they be made to do it?
Thanks!
Steve
They will be run in series with each one waiting until the preceeding one is finished. In general you have to go out of your way to make code statements NOT behave this way.
-- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com
"PC Datasheet" <no****@nospam.spam> wrote in message
news:lj*************@newsread2.news.atl.earthlink. net... Thanks, Rick, for the quick response!
I have seen in the newsgroups posts saying something in a procedure happens before something preceding is finished. Is that contrary to what you say?
I have also seen recommendations in the newsgroup to use Do Events to allow something to complete before another thing happens. Is that contrary to what you say?
Do Events forces a yield to the operating system.
If you use docmd to open a form, docmd will return before the form is done
opening, unless opened it as a dialog box. You could create 12 forms with
one of the action queries in the on open event. Then open each form in your
function. I would bet that Access would slow to a crawl and/or crash if you
tried it.
"PC Datasheet" <no****@nospam.spam> wrote in message
news:lj*************@newsread2.news.atl.earthlink. net... Thanks, Rick, for the quick response!
I have seen in the newsgroups posts saying something in a procedure
happens before something preceding is finished. Is that contrary to what you say?
I have also seen recommendations in the newsgroup to use Do Events to
allow something to complete before another thing happens. Is that contrary to
what you say?
Steve
"Rick Brandt" <ri*********@hotmail.com> wrote in message news:aT******************@newssvr14.news.prodigy.c om... PC Datasheet wrote: 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 can they be made to do it?
Thanks!
Steve
They will be run in series with each one waiting until the preceeding
one is finished. In general you have to go out of your way to make code statements NOT behave this way.
-- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com
Keith wrote: Do Events forces a yield to the operating system.
That's only part of it, the API Sleep function does that also but the
other thing about DoEvents is that it allows your application to process
messages from the OS (Mouse Clicks, keystrokes, etc).
PC Datasheet wrote: 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 can they be made to do it?
It's sequential unless you are using ADO against a SQL Server and use
Asynchronous calls to the queries. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Coy Howe |
last post by:
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...
|
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...
|
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...
|
by: jinalpatel |
last post by:
I have a report which is based on a macro. Macro is serieas of open queries and a single open report query. When I run this report from my switchboard form it gives me the following series of errors....
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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,...
|
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...
| |