G
Guest
I am trying to select a single record based on a code. The code in the table
is 4 characters defined as text, though all the values are numeric at
present. I define a text box on a form, and use the value entered in the box
to select the record. I always get a type mismatch error. I changed the
type of the field in the table to integer and ran the select again and it
worked. However, this field may not always be numeric in the future so I
don't want to define it as an integer. Why is this happening?
is 4 characters defined as text, though all the values are numeric at
present. I define a text box on a form, and use the value entered in the box
to select the record. I always get a type mismatch error. I changed the
type of the field in the table to integer and ran the select again and it
worked. However, this field may not always be numeric in the future so I
don't want to define it as an integer. Why is this happening?