Solved how i connect 1st description with first selling price , 2nd description with 2nd selling without dublicated

AHMEDRASHED

Member
Local time
Today, 03:11
Joined
Feb 2, 2020
Messages
59
Hello ,
i tray to make invoice print from main form .
how i connect 1st description with first selling price , 2nd description with 2nd selling without dublicated


note : its always matched (descriptions number = selling price numbers ) example 6 description = 6 selling prices



1688546400210.png


1688546509586.png


sql :
SELECT tblInvT.InvoiceNumberT, tblInvT.DateT, tblInvT.CustomersNameT, tblDescriptionT.Description, tblSellingT.SellingPriceT, tblSellingT.SellingCurrencyT
FROM (tblInvT INNER JOIN tblDescriptionT ON tblInvT.InvID = tblDescriptionT.DescriptionID) INNER JOIN tblSellingT ON tblInvT.InvID = tblSellingT.SellingIDT;
 
looks like you should be linking tblSellingT to tblDescriptionsT, not tblInvT
 

Users who are viewing this thread

Back
Top Bottom