I have a requirement to write a report using the same table twice in a report. Joining once on one field, write out some info, then join it again using a different field. How can I accomplish this without code?
If I have to use code how do I do it?
Trying to join Salesperson / Purchase to Sales Invoice Line using SP.Code = SIH.Salesperson Code Second join would be SP.Code = SIH.Salesperson Code 2
I tried using code but it is only returning one record. I am using Findset
cbSIH.SETFILTER(“Salesperson Code”, Code);
IF cbSIH.FINDSET THEN BEGIN
Repeat
UNTIL cbSIH.NEXT = 0;
END;