A
Anne
I'm trying to evaluate a data control and return string
expressions based on the control's content. For Long
Integer data types, I first convert the control's value to
a variant data type:
varIncidentType = [cmbIncidentType]
then evaluate it:
strIncidentType = IIf(IsNull(varIncidentType), " and [IT]
like '*' ", " and [IT] = " & CStr([varIncidentType]))
I get the error message "invalid use of null". Can
someone explain why, and how to get around it?
Thanks for your help.
expressions based on the control's content. For Long
Integer data types, I first convert the control's value to
a variant data type:
varIncidentType = [cmbIncidentType]
then evaluate it:
strIncidentType = IIf(IsNull(varIncidentType), " and [IT]
like '*' ", " and [IT] = " & CStr([varIncidentType]))
I get the error message "invalid use of null". Can
someone explain why, and how to get around it?
Thanks for your help.