I currently have an Access 97 application that uses an ODBC connection to extract data out of an external database. The application uses a reference to a form to designate the search key. In Access 97 this program works flawlessly.
I recently began the process of converting the application to Access 2003. When I execute the query I get the following error:
ODBC: Called error
My SQL state:
SELECT value_set.ky_value_set, value_set.ky_value_set_id, value_set.tv_low_values, value_set.tv_range_of_values, value_set.tv_value FROM value_set WHERE (((value_set.ky_value_set)=[vset]));
The error occurs any time I use a variable in the WHERE statement. It does not occur when I use a value.
Any assistance would be greatly appreciated.
I recently began the process of converting the application to Access 2003. When I execute the query I get the following error:
ODBC: Called error
My SQL state:
SELECT value_set.ky_value_set, value_set.ky_value_set_id, value_set.tv_low_values, value_set.tv_range_of_values, value_set.tv_value FROM value_set WHERE (((value_set.ky_value_set)=[vset]));
The error occurs any time I use a variable in the WHERE statement. It does not occur when I use a value.
Any assistance would be greatly appreciated.