I
ielmrani via AccessMonster.com
Hi All,
I am trying to run the following (update) pass through Query and I am getting
the following error:
ODBC-call failed
[Microsoft-ODBC SQL Server Driver][SQL Server]line1:incorrect syntax near '('.
(#170)
The code:
UPDATE (([LINK TABLE SUB FORM] INNER JOIN dbo_CLAIM_MASTERS_VS ON [LINK TABLE
SUB FORM].[Claim Number] = dbo_CLAIM_MASTERS_VS.CLAIMNO)
INNER JOIN dbo_VEND_MASTERS_VS ON dbo_CLAIM_MASTERS_VS.VENDOR =
dbo_VEND_MASTERS_VS.VENDORID SET [LINK TABLE SUB FORM].VENDID =
[dbo_VEND_MASTERS_VS]![VENDORID], [LINK TABLE SUB FORM].VENDORNM =
[dbo_VEND_MASTERS_VS]![VENDORNM], [LINK TABLE SUB FORM].STREET =
[dbo_VEND_MASTERS_VS]![STREET], [LINK TABLE SUB FORM].Street2 =
[dbo_VEND_MASTERS_VS]![STREET2], [LINK TABLE SUB FORM].CITY =
[dbo_VEND_MASTERS_VS]![CITY], [LINK TABLE SUB FORM].STATE =
[dbo_VEND_MASTERS_VS]![STATE], [LINK TABLE SUB FORM].ZIP = Left(
[dbo_VEND_MASTERS_VS]![ZIP],5);
Thanks in advance
I am trying to run the following (update) pass through Query and I am getting
the following error:
ODBC-call failed
[Microsoft-ODBC SQL Server Driver][SQL Server]line1:incorrect syntax near '('.
(#170)
The code:
UPDATE (([LINK TABLE SUB FORM] INNER JOIN dbo_CLAIM_MASTERS_VS ON [LINK TABLE
SUB FORM].[Claim Number] = dbo_CLAIM_MASTERS_VS.CLAIMNO)
INNER JOIN dbo_VEND_MASTERS_VS ON dbo_CLAIM_MASTERS_VS.VENDOR =
dbo_VEND_MASTERS_VS.VENDORID SET [LINK TABLE SUB FORM].VENDID =
[dbo_VEND_MASTERS_VS]![VENDORID], [LINK TABLE SUB FORM].VENDORNM =
[dbo_VEND_MASTERS_VS]![VENDORNM], [LINK TABLE SUB FORM].STREET =
[dbo_VEND_MASTERS_VS]![STREET], [LINK TABLE SUB FORM].Street2 =
[dbo_VEND_MASTERS_VS]![STREET2], [LINK TABLE SUB FORM].CITY =
[dbo_VEND_MASTERS_VS]![CITY], [LINK TABLE SUB FORM].STATE =
[dbo_VEND_MASTERS_VS]![STATE], [LINK TABLE SUB FORM].ZIP = Left(
[dbo_VEND_MASTERS_VS]![ZIP],5);
Thanks in advance