A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

order of processing??



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2009, 02:36 AM posted to microsoft.public.access.reports
Laurel
external usenet poster
 
Posts: 214
Default order of processing??

I have a report that has two text boxes containing calls to user functions
(written by me). My problem is that the first function (speaking top to
bottom in the report layout), does some processing that the second function
uses, but the report is processing the second function before the first one.
I did create the second text box before creating the first one and then
completed the underlying code. The result is that the output of the second
function shows data from the row above it. Can I control the order in which
the text boxes and their functions are processed?

TIA
LAS



  #2  
Old August 13th, 2009, 03:20 AM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default order of processing??

Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user functions
(written by me). My problem is that the first function (speaking top to
bottom in the report layout), does some processing that the second function
uses, but the report is processing the second function before the first
one. I did create the second text box before creating the first one and
then completed the underlying code. The result is that the output of the
second function shows data from the row above it. Can I control the order
in which the text boxes and their functions are processed?

TIA
LAS





  #3  
Old August 13th, 2009, 01:44 PM posted to microsoft.public.access.reports
Laurel
external usenet poster
 
Posts: 214
Default order of processing??

Thanks. But I can tell that the function in one is actually executing
before the function in 2. I call them 1 and 2 because of their position,
vertically, on the page. I can tell because I put debug breaks at the
beginning of the functions called by the text boxes. The numbers are
apparently reversed in Access's mind.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user functions
(written by me). My problem is that the first function (speaking top to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function before the
first one. I did create the second text box before creating the first one
and then completed the underlying code. The result is that the output of
the second function shows data from the row above it. Can I control the
order in which the text boxes and their functions are processed?

TIA
LAS







  #4  
Old August 13th, 2009, 01:46 PM posted to microsoft.public.access.reports
Laurel
external usenet poster
 
Posts: 214
Default order of processing??

I should have mentioned that I got in this fix because I wanted to break one
big function, that wrote to temp tables, and then subsequently formed
strings from that data, into two separate functions. Originally it was
address and dependents. But I wanted them to be separate, and the address
function was gathering data for the dependents' function. I will create
redundant loops if I need to.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user functions
(written by me). My problem is that the first function (speaking top to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function before the
first one. I did create the second text box before creating the first one
and then completed the underlying code. The result is that the output of
the second function shows data from the row above it. Can I control the
order in which the text boxes and their functions are processed?

TIA
LAS







  #5  
Old August 13th, 2009, 02:11 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default order of processing??

Gina's statement "Without seeing the code" was a hint that if you really want
some assistance, you might want to either post your code or tell us
everything it does and why. When you try something that is unorthodox, you
need to provide a good description so readers can understand.

--
Duane Hookom
Microsoft Access MVP


"Laurel" wrote:

I should have mentioned that I got in this fix because I wanted to break one
big function, that wrote to temp tables, and then subsequently formed
strings from that data, into two separate functions. Originally it was
address and dependents. But I wanted them to be separate, and the address
function was gathering data for the dependents' function. I will create
redundant loops if I need to.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user functions
(written by me). My problem is that the first function (speaking top to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function before the
first one. I did create the second text box before creating the first one
and then completed the underlying code. The result is that the output of
the second function shows data from the row above it. Can I control the
order in which the text boxes and their functions are processed?

TIA
LAS








  #6  
Old August 13th, 2009, 09:55 PM posted to microsoft.public.access.reports
Laurel
external usenet poster
 
Posts: 214
Default order of processing??

The code is irrelevant. The question is simple. Is there a way to control
the order in which controls on a report are actually activated?

"Duane Hookom" wrote in message
...
Gina's statement "Without seeing the code" was a hint that if you really
want
some assistance, you might want to either post your code or tell us
everything it does and why. When you try something that is unorthodox, you
need to provide a good description so readers can understand.

--
Duane Hookom
Microsoft Access MVP


"Laurel" wrote:

I should have mentioned that I got in this fix because I wanted to break
one
big function, that wrote to temp tables, and then subsequently formed
strings from that data, into two separate functions. Originally it was
address and dependents. But I wanted them to be separate, and the
address
function was gathering data for the dependents' function. I will create
redundant loops if I need to.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user
functions
(written by me). My problem is that the first function (speaking top
to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function before
the
first one. I did create the second text box before creating the first
one
and then completed the underlying code. The result is that the output
of
the second function shows data from the row above it. Can I control
the
order in which the text boxes and their functions are processed?

TIA
LAS










  #7  
Old August 13th, 2009, 11:09 PM posted to microsoft.public.access.reports
Gina Whipp
external usenet poster
 
Posts: 3,500
Default order of processing??

Laurel,

The code is not irrelevant as there is ALWAYS a way to control it and not
always a way to control the report. Please post the code OR not but if not
we are limited as to what we can do (at least I am).

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
The code is irrelevant. The question is simple. Is there a way to
control the order in which controls on a report are actually activated?

"Duane Hookom" wrote in message
...
Gina's statement "Without seeing the code" was a hint that if you really
want
some assistance, you might want to either post your code or tell us
everything it does and why. When you try something that is unorthodox,
you
need to provide a good description so readers can understand.

--
Duane Hookom
Microsoft Access MVP


"Laurel" wrote:

I should have mentioned that I got in this fix because I wanted to break
one
big function, that wrote to temp tables, and then subsequently formed
strings from that data, into two separate functions. Originally it was
address and dependents. But I wanted them to be separate, and the
address
function was gathering data for the dependents' function. I will create
redundant loops if I need to.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user
functions
(written by me). My problem is that the first function (speaking top
to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function before
the
first one. I did create the second text box before creating the first
one
and then completed the underlying code. The result is that the output
of
the second function shows data from the row above it. Can I control
the
order in which the text boxes and their functions are processed?

TIA
LAS












  #8  
Old August 14th, 2009, 04:53 PM posted to microsoft.public.access.reports
Laurel
external usenet poster
 
Posts: 214
Default order of processing??

Thanks. I've solved the problem, as I mentioned above. So I really didn't
need a solution to the problem. Just an answer to a question that might
have given me a quicker solution or just have satisfied my curiosity.
Thanks for your willingness to dive in on the whole problem, though.

"Gina Whipp" wrote in message
...
Laurel,

The code is not irrelevant as there is ALWAYS a way to control it and not
always a way to control the report. Please post the code OR not but if
not we are limited as to what we can do (at least I am).

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
The code is irrelevant. The question is simple. Is there a way to
control the order in which controls on a report are actually activated?

"Duane Hookom" wrote in message
...
Gina's statement "Without seeing the code" was a hint that if you really
want
some assistance, you might want to either post your code or tell us
everything it does and why. When you try something that is unorthodox,
you
need to provide a good description so readers can understand.

--
Duane Hookom
Microsoft Access MVP


"Laurel" wrote:

I should have mentioned that I got in this fix because I wanted to
break one
big function, that wrote to temp tables, and then subsequently formed
strings from that data, into two separate functions. Originally it was
address and dependents. But I wanted them to be separate, and the
address
function was gathering data for the dependents' function. I will
create
redundant loops if I need to.

"Gina Whipp" wrote in message
...
Laurel,

Without seeing the code I would say look up DoEvents in Help. It
will
assist in pausing function 2 till function 1 has finished.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" -
Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"Laurel" wrote in message
...
I have a report that has two text boxes containing calls to user
functions
(written by me). My problem is that the first function (speaking top
to
bottom in the report layout), does some processing that the second
function uses, but the report is processing the second function
before the
first one. I did create the second text box before creating the first
one
and then completed the underlying code. The result is that the
output of
the second function shows data from the row above it. Can I control
the
order in which the text boxes and their functions are processed?

TIA
LAS














 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.