PC Review


Reply
Thread Tools Rate Thread

Access Error using link table

 
 
Matt
Guest
Posts: n/a
 
      24th Jan 2007
I have this program and it links a few tables on a MS SQL 2003 server
into access 2003. The SQL statement below gives me the error below it.
I'm not a SQL expert but I know if I change LEFT JOIN to INNER JOIN it
does nto give me the error. Unfortunately it does not give me the
results I want. Thanks in advance for any help.

SQL STATEMENT:

SELECT tblLnk_APVEN.VENDORID, qrySel_TaxAuthority1.GROUPID,
qrySel_TaxAuthority1.AUTHORITY1, qrySel_TaxAuthority1.ITEMRATE1,
qrySel_TaxAuthority2.AUTHORITY2, qrySel_TaxAuthority2.ITEMRATE2
FROM tblLnk_APVEN LEFT JOIN (qrySel_TaxAuthority1 LEFT JOIN
qrySel_TaxAuthority2 ON qrySel_TaxAuthority1.GROUPID =
qrySel_TaxAuthority2.GROUPID) ON tblLnk_APVEN.CODETAXGRP =
qrySel_TaxAuthority1.GROUPID;


ASSOCIATED ERROR:

ODBC--call failed.

[Microsoft][ODBC SQL Server Driver][SQL Server]The Column prefix 'MS2'
does not match with a table name or alias name used in the query.
(#107)
[Microsoft][ODBC SQL Server Driver][SQL Server]The Column prefix 'MS2'
does not match with a table name or alias name used in the query.
(#107)
[Microsoft][ODBC SQL Server Driver][SQL Server]The Column prefix 'MS2'
does not match with a table name or alias name used in the query. (#107)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have link an excel table to my access table and having problem gissah Microsoft Access External Data 1 9th Dec 2008 10:18 PM
Link a access .mbd file table to a pivot table in excel. Sinner Microsoft Access Form Coding 3 14th Apr 2008 12:01 AM
how to link table from Access to an Excel pivot Table? =?Utf-8?B?Q2FCZWxUbw==?= Microsoft Access External Data 0 27th Sep 2007 02:47 PM
Access Project Link Table Error =?Utf-8?B?S2V2aW5DQg==?= Microsoft Access 5 14th Oct 2005 02:27 AM
Link Table in access to a table with hyperlinks in each record =?Utf-8?B?R2Vvcmdl?= Microsoft Access 0 18th Apr 2005 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:59 PM.