S
Sara Mellen
I have a query (which leads to a report) that has been working great for
about 3 years. One of the fields in the ORDERS table is the
BrokerOrderNumber, a long integer field which has been increasing through
the years. The problem is that as soon as we reached BrokerOrderNumber
33369, the query stopped working!
The query is made up of fields from two tables, ORDERS and ORDER DETAILS,
linked through the ORDERID field.
When I do a query based on just one of the tables, everything works fine,
but when I try to do a query based on fields from both tables, I get the
error, but ONLY if the query criteria includes the BrokerOrderNumber 33369
and above! It works fine on all lower numbers.
I get two kinds of errors--if I run the query as a parameter query, I get
the error message "The expression is typed incorrectly, or it is too compex
to be evaluated. etc." If I type in the criteria (between 33000 and 34000,
for example), I get the "Data type mismatch in criteria expression." i have
checked EVERYTHING--data types, missing number, and I'm completely stuck.
I hate to completely revamp my numbering system--anybody have an idea why
this is acting this way?
Sara Mellen
about 3 years. One of the fields in the ORDERS table is the
BrokerOrderNumber, a long integer field which has been increasing through
the years. The problem is that as soon as we reached BrokerOrderNumber
33369, the query stopped working!
The query is made up of fields from two tables, ORDERS and ORDER DETAILS,
linked through the ORDERID field.
When I do a query based on just one of the tables, everything works fine,
but when I try to do a query based on fields from both tables, I get the
error, but ONLY if the query criteria includes the BrokerOrderNumber 33369
and above! It works fine on all lower numbers.
I get two kinds of errors--if I run the query as a parameter query, I get
the error message "The expression is typed incorrectly, or it is too compex
to be evaluated. etc." If I type in the criteria (between 33000 and 34000,
for example), I get the "Data type mismatch in criteria expression." i have
checked EVERYTHING--data types, missing number, and I'm completely stuck.
I hate to completely revamp my numbering system--anybody have an idea why
this is acting this way?
Sara Mellen