Hopefully somebody can show me the errors of my ways!! I'm using Access 2000 linkd to Macola data files using Pervasive 2000 database manager.
The records I'm trying to pull have a 3-character text field named Ship_Via_Cd. If I enter a value in the criteria field on the query form, i.e., D, or DM, or D*, etc., the query pulls all the records just fine. But, as soon as I enter a parameter in the criteria field, ala, [enter ship via code], and then enter D, or DM, etc in the input box, I get the dreaded "ODBC... call faied" error message.
I've tried to Trim, Rtrim, the table record. I've tried to use an input mask of ### for the parameter. I've tried to StrComp([Ship_Via_Cd],[Enter ship via code],0) (or 1 or -1) without any luck.
It's driving me crazy... it shouldn't be that difficult to figure out!
Anybody got any hints?
The records I'm trying to pull have a 3-character text field named Ship_Via_Cd. If I enter a value in the criteria field on the query form, i.e., D, or DM, or D*, etc., the query pulls all the records just fine. But, as soon as I enter a parameter in the criteria field, ala, [enter ship via code], and then enter D, or DM, etc in the input box, I get the dreaded "ODBC... call faied" error message.
I've tried to Trim, Rtrim, the table record. I've tried to use an input mask of ### for the parameter. I've tried to StrComp([Ship_Via_Cd],[Enter ship via code],0) (or 1 or -1) without any luck.
It's driving me crazy... it shouldn't be that difficult to figure out!
Anybody got any hints?