C
croy
Somewhere in this group, I picked up the trick of using the
InStr function to allow a user to pick more than one value
in a parameter query. It works very well, except for one
glich: the field in question is a Text field, but some of
the entries are numbers, and some of those have decimal
fractions.
When a single value of 11.2 is entered, the query returns
all records with values of "11.2" *and* "2"!
I tried putting quotes around the value as entered in the
parameter box, but that didn't seem to change anything.
At first, I thought the function was treating the decimal
point (actually a period, here) as a comma, but if that were
the case, the query would return records with values of "11"
and "2", not "11.2" and "2".
Any illumination appreciated.
InStr function to allow a user to pick more than one value
in a parameter query. It works very well, except for one
glich: the field in question is a Text field, but some of
the entries are numbers, and some of those have decimal
fractions.
When a single value of 11.2 is entered, the query returns
all records with values of "11.2" *and* "2"!
I tried putting quotes around the value as entered in the
parameter box, but that didn't seem to change anything.
At first, I thought the function was treating the decimal
point (actually a period, here) as a comma, but if that were
the case, the query would return records with values of "11"
and "2", not "11.2" and "2".
Any illumination appreciated.