E
edisonl via AccessMonster.com
Hi everyone,
Scenerio:
Private Sub Event Button Cancel_OnClick()
{ Function1
Function2
End sub }
Certain check perform for Function1>
If Not fulfill> Docmd.Close
If Fulfill> Perform something & Go To Function2
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
But my function1 Docmd does not fire immediately and proceed to call Function
2?
Tries to look for one of the controls in the current form (As current form
might been close)
Produce Error> The Object does not accessed or is close, duh !
Can Someone kind enough to explain the logic behind ?
Regards & God Bless, Edison
Scenerio:
Private Sub Event Button Cancel_OnClick()
{ Function1
Function2
End sub }
Certain check perform for Function1>
If Not fulfill> Docmd.Close
If Fulfill> Perform something & Go To Function2
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
But my function1 Docmd does not fire immediately and proceed to call Function
2?
Tries to look for one of the controls in the current form (As current form
might been close)
Produce Error> The Object does not accessed or is close, duh !
Can Someone kind enough to explain the logic behind ?
Regards & God Bless, Edison