Hi,
I am pretty new to VBA and am trying to do a lookup. I am getting a Runtime Error 13 Type Mismatch for the following line of code:
Me.sf_LabelView!txtLabel.value = DLookup("[Label]", "[tbl_LabelsUsed]", "[Individual_Id] = '" & IndividualId & "'" And "[Use_Id] = 1" And "[Type] = 1")
Am I missing anything obvious here?
Thanks!
I am pretty new to VBA and am trying to do a lookup. I am getting a Runtime Error 13 Type Mismatch for the following line of code:
Me.sf_LabelView!txtLabel.value = DLookup("[Label]", "[tbl_LabelsUsed]", "[Individual_Id] = '" & IndividualId & "'" And "[Use_Id] = 1" And "[Type] = 1")
Am I missing anything obvious here?
Thanks!