Hi
On my Sub_Exit procedure I call a Sub_Myprocedure.
What should I code in my Sub_Myprocedure in order to not return to my Sub_Exit after the certain condition's hit.
E.g.
Sub_Exit
If something
call Sub_Myprocedure
Else
docmd.close
End if
Run sql
End sub
Sub_Myprocedure
If something
'here i want to exit from Sub_Myprocedure as well as from Sub_Exit so that Run sql statement in the Sub_Exit wouldn't run
else
do something and return to SUb_Exit
end if
end sub
Well, it probably looks silly
But please, help a novice to figure out the basics
Thanks
On my Sub_Exit procedure I call a Sub_Myprocedure.
What should I code in my Sub_Myprocedure in order to not return to my Sub_Exit after the certain condition's hit.
E.g.
Sub_Exit
If something
call Sub_Myprocedure
Else
docmd.close
End if
Run sql
End sub
Sub_Myprocedure
If something
'here i want to exit from Sub_Myprocedure as well as from Sub_Exit so that Run sql statement in the Sub_Exit wouldn't run
else
do something and return to SUb_Exit
end if
end sub
Well, it probably looks silly
But please, help a novice to figure out the basics
Thanks