You are both right, I have used these in the past - I think that is what threw me off.
My error is the If statement I was using (trying to trap errors inside the class):
Sub ..
If vStr <> Null Then
...
Return retStr
End If
End Sub
This leaves this with the possibility of no value being returned i.e. vStr = Null
Solution (Not open ended):
Sub ..
If vStr <> Null Then
...
retStr = "notNull"
Return retStr
Else
retStr = "isNull"
Return retStr
End If
End Sub
They say you are never too old to learn!
What a basic mistake!
Anyways, on a lighter note, thank you guys for the "Return statement tutorial".
Keep up the GREAT work!!!
....and I will still try to contribute in some little ways.
Cheers
Gavin