REPORTFORM;BP2_E.frf
TITLE;PAYMENT INFORMATION BY VENDOR REPORT
SQL;select apcard.DOCNO, apcard.DATEDOC, apcard.REFNO,
SQL;apcard.DATEINV, apcard.DUEDATE, apcard.RECAMT,
SQL;apcard.ACCID, apmst.XCOMP
SQL;from apcard 
SQL;left join apmst on apcard.ACCID = apmst.ACCID
SQL;where left(apcard.TRTYPE,2) = "BP"
SQL;order by apcard.ACCID, apcard.DOCNO
CONDITION;FROM VENDOR CODE~APCARD.ACCID~Chr~2~SELECT ACCID FROM APMST~AP
CONDITION;FROM DATE~APCARD.DATEDOC~Date~2~~
