Still having Null trouble
Can anyone get this to work.
I'm having a stupid day
(obviously i will be passing variables into the function in reality)
________________________________
Function testnull(sString As String) As String
If IsNull(sString) Then sString = ""
testnull = sstring
End Function
Private Sub Command0_Click()
msgbox testnull(Null)
End Sub
_____________________________
Access wont allow me to pass Null into the function.
cheers Homer
Can anyone get this to work.
I'm having a stupid day

(obviously i will be passing variables into the function in reality)
________________________________
Function testnull(sString As String) As String
If IsNull(sString) Then sString = ""
testnull = sstring
End Function
Private Sub Command0_Click()
msgbox testnull(Null)
End Sub
_____________________________
Access wont allow me to pass Null into the function.
cheers Homer