B
Brian Shannon
Lets say I have the following: 'It's made up
Private Sub cmdHeader_click(.NET info)
AddLog()
Add Header()
Validate()
End sub
Private Sub AddLog()
IF me.test.text = string.empty THEN
EXIT- I WANT TO EXIT THE CODEBEHIND
ELSE
'Do Something
END IF
End Sub
When calling a sub from another sub can you exit the code behind instead of
just the sub as you would use EXIT SUB. Or do you have to exit the called
sub and be returned to the calling sub?
Thanks
Private Sub cmdHeader_click(.NET info)
AddLog()
Add Header()
Validate()
End sub
Private Sub AddLog()
IF me.test.text = string.empty THEN
EXIT- I WANT TO EXIT THE CODEBEHIND
ELSE
'Do Something
END IF
End Sub
When calling a sub from another sub can you exit the code behind instead of
just the sub as you would use EXIT SUB. Or do you have to exit the called
sub and be returned to the calling sub?
Thanks