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

AHMEDRASHED

Member
Local time
Today, 15:30
Joined
Feb 2, 2020
Messages
50
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;
 

CJ_London

Super Moderator
Staff member
Local time
Today, 13:30
Joined
Feb 19, 2013
Messages
16,613
looks like you should be linking tblSellingT to tblDescriptionsT, not tblInvT
 

Users who are viewing this thread

Top Bottom