I am trying to add to my query a field that puts a 1 if the hw_type field contains a 9 or a 5 anywhere in the field but it only compares the first starting position of the field. Here is the code I am using:
=IIf(InStr([HW_type],5)=1,1,IIf(InStr([hw_type],9)=1,1,0))
How can I get it to search teh entire field, not just the starting position?
=IIf(InStr([HW_type],5)=1,1,IIf(InStr([hw_type],9)=1,1,0))
How can I get it to search teh entire field, not just the starting position?