REPORTFORM;ABILL4_E.frf
TITLE;BILL RECEIPT BY DATE REC
SQL;select billaptr.LINE, billaphd.BILLDATE, billaptr.DOCNO, billaphd.DATEREC,
SQL;billaptr.DATEDOC, billaptr.DUEDATE, billaptr.AMOUNT_L,billaphd.XREMARK,
SQL;billaptr.BDOCNO, billaphd.ACCID, apmst.XCOMP
SQL;from billaptr 
SQL;left join billaphd on billaptr.BDOCNO = billaphd.BDOCNO
SQL;left join apmst on billaphd.ACCID = apmst.ACCID
SQL;order by billaphd.DATEREC,  billaphd.DATEDOC, billaphd.BDOCNO
CONDITION;FROM DATE REC~BILLAPHD.DATEREC~Date~2~~
