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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

during the execution of a function.



 
 
Thread Tools Display Modes
  #1  
Old October 9th, 2009, 08:10 PM posted to microsoft.public.access.forms
samp
external usenet poster
 
Posts: 19
Default during the execution of a function.

I wish I could keep open a form displaying the current time and a
timer (time elapsed from the opening of the form) during the execution
of a function.

At the beginning of this function form would be loaded and at the end
of the function, would be closed.

If I run the form alone, there are no problems. But if I call it
within a function, time and timer are not updated.

It turns out that after the function to load the form, the events are
not executed but the other instructions of the function. Its run both
at the same time?

While the codes are executed, would like to keep the form on the
screen to inform the current time and how long the MyFunction is
running.
  #2  
Old October 9th, 2009, 09:06 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default during the execution of a function.

What about using a second form at the same time, both reduced to fit
side-by-side ot top-to-bottom.
The second form to display the times by macro action Set Value. You would
need two macros, one to set time and open your form and second using On Close
event of the form being timed. The second macro set the end time on the
second form.

--
Build a little, test a little.


"samp" wrote:

I wish I could keep open a form displaying the current time and a
timer (time elapsed from the opening of the form) during the execution
of a function.

At the beginning of this function form would be loaded and at the end
of the function, would be closed.

If I run the form alone, there are no problems. But if I call it
within a function, time and timer are not updated.

It turns out that after the function to load the form, the events are
not executed but the other instructions of the function. Its run both
at the same time?

While the codes are executed, would like to keep the form on the
screen to inform the current time and how long the MyFunction is
running.

  #3  
Old October 9th, 2009, 09:13 PM posted to microsoft.public.access.forms
samp
external usenet poster
 
Posts: 19
Default during the execution of a function.

As well, could give an example?
 




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 02:58 AM.


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