I have an unbound box on an unbound form that will enable me to put in a criteria for the report to open, the code on the click button is as follows:
If Len(Me.Box1 & vbNullString) > 0 Then
strWhere = strWhere & "([Name] = """ & Me.Box1 & """)
End If
I would like to know if its possible to make this box return multiple values, for eg. if user writes in John it will return only john, if user write lets say John,Joe, it will return both, dosnt have to be comma it can be also ; or " wtvr.
If Len(Me.Box1 & vbNullString) > 0 Then
strWhere = strWhere & "([Name] = """ & Me.Box1 & """)
End If
I would like to know if its possible to make this box return multiple values, for eg. if user writes in John it will return only john, if user write lets say John,Joe, it will return both, dosnt have to be comma it can be also ; or " wtvr.