The first If in this function works fine.
The second If does not work. I know I'm doing something wrong. How does one correctly write W = LIKE " * "?
Thanks !!
Public Function rptWho() As String
Dim w As String
If Not IsNull(Forms!fNP_300a_REPORTS.Combo23) Then
w = Forms!fNP_300a_REPORTS.Combo23
End If
If IsNull(Forms!fNP_300a_REPORTS.Combo23) Then
w = Like " * "
End If
rptWho = w
w = vbNullString
End Function
The second If does not work. I know I'm doing something wrong. How does one correctly write W = LIKE " * "?
Thanks !!
Public Function rptWho() As String
Dim w As String
If Not IsNull(Forms!fNP_300a_REPORTS.Combo23) Then
w = Forms!fNP_300a_REPORTS.Combo23
End If
If IsNull(Forms!fNP_300a_REPORTS.Combo23) Then
w = Like " * "
End If
rptWho = w
w = vbNullString
End Function