I'm developing an Access FE SQL Server BE database and have the following passthougfh query which generates and error:
and get the following error:
The pasthrough query runs correctly when the " and schedule_code = forms!switchboard!Y" is omitted.
I'm attempting to use a value on a form which is IN("A","B","v") and changes from time to time. I don't want multiple queries with the various permuytations of the criteria.
Suggestions?
Is there some way to do this.
PHP:
UPDATE top (100) x
SET CARRIER_NAME = LTRIM(RTRIM(CARRIER_NAME))
WHERE report_state = 'il' AND report_year=2012 AND report_month=1 and
schedule_code = forms!switchboard!Y
PHP:
ODBC--call failed.
[Microsoft][ODBC SQL Server driver][SQL Server]Inbcorrect syntax near "!". (#102)
The pasthrough query runs correctly when the " and schedule_code = forms!switchboard!Y" is omitted.
I'm attempting to use a value on a form which is IN("A","B","v") and changes from time to time. I don't want multiple queries with the various permuytations of the criteria.
Suggestions?
Is there some way to do this.