G
Guest
I am using a function to convert a user input string to criteria for a query
field.
The input string is, for example, "456,3268,9754,25"
The function converts it to a string, "<> 456 or <> 3268 or <> 9754 or <> 25"
and it is then placed in a form field that has been listed in the query
criteria.
(The form is used to obtain input for several field criteria in the query,
and it stays open while the query is run.)
The table/query field for this converted criteria is a double, and I get
data type error messages.
How can I make these data types agree? (If I manually enter the same
characters directly into the query criteria field, it works.) This is in
Access 2003.
Thank you for your consideration.
field.
The input string is, for example, "456,3268,9754,25"
The function converts it to a string, "<> 456 or <> 3268 or <> 9754 or <> 25"
and it is then placed in a form field that has been listed in the query
criteria.
(The form is used to obtain input for several field criteria in the query,
and it stays open while the query is run.)
The table/query field for this converted criteria is a double, and I get
data type error messages.
How can I make these data types agree? (If I manually enter the same
characters directly into the query criteria field, it works.) This is in
Access 2003.
Thank you for your consideration.