Link to home
Start Free TrialLog in
Avatar of avalonwgi
avalonwgiFlag for United States of America

asked on

SQL Join Syntax in Access

I am getting a join syntax error and I have no idea why

SELECT dbo_ApSupplier.Supplier, dbo_ApSupplier.SupplierName, dbo_ApInvoice.Invoice, dbo_ApInvoice.InvoiceDate, dbo_ApInvoice.DueDate, dbo_ApInvoice.OrigInvValue, SubQryPymt.TtlPymt, [dbo_ApInvoice]![OrigInvValue]+[SubQryPymt]![TtlPymt] AS EndingBal
FROM (dbo_ApSupplier INNER JOIN ([SubQryPymt] INNER JOIN dbo_ApInvoice ON [SubQryPymt].Invoice = dbo_ApInvoice.Invoice) ON (dbo_ApSupplier.Supplier = [SubQryPymt].Supplier) AND (dbo_ApSupplier.Supplier = dbo_ApInvoice.Supplier);
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of avalonwgi

ASKER

Hi Angellll, I tried that and still the same error.
I got it...there was an extra bracket set not needed.  Thanks.