Access is refusing to run an query with linked table?
        Posted  
        
            by Mahmoud
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mahmoud
        
        
        
        Published on 2010-05-22T20:48:21Z
        Indexed on 
            2010/05/22
            20:50 UTC
        
        
        Read the original article
        Hit count: 246
        
Hey all
i have 3 tables each as follow
cash_credit
Bank_Name-------in_date-------Com_Id---Amount
America Bank    15/05/2010      1       200
HSBC            17/05/2010      3       500
Cheque_credit
Bank_Name-----Cheque_Number-----in_date-------Com_Id---Amount
America Bank   74835435-5435    15/05/2010      2       600
HSBC           41415454-2851    17/05/2010      5       100
Companies
com_id----Com_Name
1         Ebay
2         Google
3         Facebook
4         Amazon
Companies table is a linked table when i tried to create an query as follow
SELECT cash_credit.Amount, Companies.Com_Name, cheque_credit.Amount
FROM cheque_credit INNER JOIN (cash_credit INNER JOIN Companies ON cash_credit.com_id = Companies.com_id) ON cheque_credit.com_id = Companies.com_id;
I get an error saying that my inner Join is incorrectly, this query was created using Access 2007 query design the error is
Type mismatch in expression
then i thought it might be the inner join so i tried Left Join and i get an error that this method is not used
JOIN expression is not supported
I am confused on where is the problem that is causing all this
© Stack Overflow or respective owner