PC Review


Reply
Thread Tools Rate Thread

What I always wanted to know...

 
 
=?Utf-8?B?TWljaGFlbA==?=
Guest
Posts: n/a
 
      15th May 2006
Hi there, I’ve developed a client server application where the user can post
transactions that contain workspace/begin/commit and may also have nested
transactions. On the main menu I would like to refresh certain data say every
10 minutes (user definable).

What I want to know is what exactly happens when the user posts a
transaction and in the middle of it the timer - that triggers the main menu
function – starts?

Is the transaction first posted and completed before the timer function
begins? Are both happening at the same time? What if I have several functions
that are triggered by different timers? Is each one first completed before
the next one starts?

Thanks to all of you who have taken the time to read this and perhaps
provides some feedback. This is very much appreciated.

Have a wonderful day…
Michael


 
Reply With Quote
 
 
 
 
Mark A. Sam
Guest
Posts: n/a
 
      15th May 2006
Are you talking about form timers?

It is my experience that if a process is running it will halt the timer
until it is competed. For example, I made a banner ad which changed the
images in unbound frames. If the timer was set to 30 second, it may take 40
seconds to recycle becuase the loading of the images delays the timer.

You can test this for yourself, by placing an unbound textbox on the form
and placing a message in it at certain parts of the code, like

Beep
[txtMessage] = "Transaction started"

'Code

Beep
[txtMessage] = "Transaction completed"

Time the interval manually. Then bypass the transaction and time it again.

Putting a message box will definately stop the timer, like:

MsgBox "Hi"
Beep
MsgBox "Ho"

If you are running timers in multiple forms, the timing between the forms
will not be synchronized. The first form will run its timer when it is
opened, the second when it is opened, etc. When the functions run will
depend on the progress of the particular timer independent of the other
forms.

God Bless,

Mark A. Sam





"Michael" <(E-Mail Removed)> wrote in message
news:07B80759-D12B-4273-AF3E-(E-Mail Removed)...
> Hi there, I've developed a client server application where the user can
> post
> transactions that contain workspace/begin/commit and may also have nested
> transactions. On the main menu I would like to refresh certain data say
> every
> 10 minutes (user definable).
>
> What I want to know is what exactly happens when the user posts a
> transaction and in the middle of it the timer - that triggers the main
> menu
> function - starts?
>
> Is the transaction first posted and completed before the timer function
> begins? Are both happening at the same time? What if I have several
> functions
> that are triggered by different timers? Is each one first completed before
> the next one starts?
>
> Thanks to all of you who have taken the time to read this and perhaps
> provides some feedback. This is very much appreciated.
>
> Have a wonderful day.
> Michael
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wanted floppybootstomp For Sale / Wanted 14 17th Apr 2009 07:30 PM
just wanted to say thanks to all WebDude Microsoft Access Forms 1 30th Oct 2007 06:23 PM
NFS Most Wanted JC Windows Vista Games 6 29th Jul 2006 07:21 PM
Wanted: DOS zip with LFN A man Freeware 9 16th May 2004 08:00 AM
Wanted: ATI TV Wonder Pro Karel Uyttendaele ATI Video Cards 0 12th Nov 2003 06:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:37 AM.