Re: Halt code execution until requery is finished.
- From: "Ken Snell \(MVP\)" <kthsneisllis9@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Feb 2006 12:53:35 -0500
"Marshall Barton" <marshbarton@xxxxxxxxxx> wrote in message
news:9u44v1tabmqimth8kejeko5kdkqdplc8u0@xxxxxxxxxx
..
Are you saying that a "totals" query would execute completely before
allowing further code to run, whereas the calculated value in Sub2
doesn't?
I'll give that a go... I am determined to find some way around this...
ugly
or not!
Yes, That's pretty much what I'm saying. If you open a
recordset on a totals query, it will use the latest saved
values, regardless of the state of the calculations in the
form. The fundamental premis is that if you need a value in
a vba procedure, then you need to use VBA code to calculate
the value, i.e. eliminate all cross dependencies between
Access's various tasks.
I also have had to use this approach that Marsh mentions -- my other
solution is not always 100% successful in all situations.
:-(
--
Ken Snell
<MS ACCESS MVP>
.
- Follow-Ups:
- Re: Halt code execution until requery is finished.
- From: Al Camp
- Re: Halt code execution until requery is finished.
- References:
- Halt code execution until requery is finished.
- From: Al Camp
- Re: Halt code execution until requery is finished.
- From: Marshall Barton
- Re: Halt code execution until requery is finished.
- From: Al Camp
- Re: Halt code execution until requery is finished.
- From: Marshall Barton
- Re: Halt code execution until requery is finished.
- From: Al Camp
- Re: Halt code execution until requery is finished.
- From: Marshall Barton
- Re: Halt code execution until requery is finished.
- From: Al Camp
- Re: Halt code execution until requery is finished.
- From: Marshall Barton
- Halt code execution until requery is finished.
- Prev by Date: Re: Halt code execution until requery is finished.
- Next by Date: Re: Lock a Row in a SQL Server Table from MS Access
- Previous by thread: Re: Halt code execution until requery is finished.
- Next by thread: Re: Halt code execution until requery is finished.
- Index(es):
Relevant Pages
|