dsfcom
Registered User.
- Local time
- Today, 18:47
- Joined
- Mar 13, 2007
- Messages
- 72
I'm sure to get some flak about this, but I have a question concerning timing (or code processing). Say there's a form with an "OnTimer" event running the following code:
Does the db at run-time then set the form's timer interval to zero, then run the code in 'GetPrevAccessOptions', then run the code in 'SetAccessOptions', then run the code in 'YetAnotherFunction', then close the form in sequence waiting for each line to process or does it run through each line trying to run the three "Called" functions simultaneously?
Code:
Private Sub Form_Timer()
Me.Form.TimerInterval = 0
Call GetPrevAccessOptions
Call SetAccessOptions
Call YetAnotherFunction
DoCmd.Close acForm, "frmAccessOptions_Setter_2", acSaveNo
End Sub
Does the db at run-time then set the form's timer interval to zero, then run the code in 'GetPrevAccessOptions', then run the code in 'SetAccessOptions', then run the code in 'YetAnotherFunction', then close the form in sequence waiting for each line to process or does it run through each line trying to run the three "Called" functions simultaneously?