REPORTFORM;RS4_E.frf
TITLE;RETURN FROM ISUE BY DATE,ID REPORT
SQL;select invcard.DOCNO, invcard.DATEDOC, invcard.ID, invmst.XDESC,
SQL;invcard.QUAN, invcard.UNIT, invcard.COST, 
SQL;invcard.COSTAMT, invcard.LOCID,
SQL;retisshd.DPTID, depart.DDESC, retisshd.REFNO
SQL;from invcard 
SQL;left join invmst on invcard.ID = invmst.ID
SQL;left join retisshd on invcard.DOCNO = retisshd.DOCNO
SQL;left join depart on retisshd.DPTID = depart.DID
SQL;where left(invcard.DOCNO,2) = "RS"
SQL;order by invcard.DATEDOC,invcard.DOCNO , invcard.ID
CONDITION;FROM DATE~INVCARD.DATEDOC~Date~2~~
CONDITION;FROM ID~INVCARD.ID~Chr~2~SELECT ID FROM INVMST~INV
