S
Shawn McNiven
This is probably a silly question but what the heck:
I have the following function:
Public Function Validate() as boolean
Dim vValidate as boolean = true
If me.Name_English = "" then
vValidate = false
Exit Function
End if
If me.Name_French = "" Then
vValidate = false
Exit Function
End if
Return vValidate
End Function
Will the Exit Function return the value of vValidate? Or should I do:
If me.Name_English = "" Then
Return False
End if
Thanks.
Shawn McNiven
I have the following function:
Public Function Validate() as boolean
Dim vValidate as boolean = true
If me.Name_English = "" then
vValidate = false
Exit Function
End if
If me.Name_French = "" Then
vValidate = false
Exit Function
End if
Return vValidate
End Function
Will the Exit Function return the value of vValidate? Or should I do:
If me.Name_English = "" Then
Return False
End if
Thanks.
Shawn McNiven