REPORTFORM;AR_1_2-11_E.frf
TITLE;DEBT BAL REPORT BY CUSTOMER (TYPE 2)
SQL;SELECT ARCARD.DOCNO, ARCARD.DATEDOC, ARCARD.DUEDATE,
SQL;ARCARD.AMOUNT_D, ARCARD.ACCID, ARMST.XCOMP,
SQL;ARCARD.REPBAL, ARCARD.RECAMT, ARCARD.NBAL 
SQL;FROM ARCARD 
SQL;LEFT JOIN ARMST ON ARCARD.ACCID = ARMST.ACCID
SQL;WHERE LEFT(ARCARD.DOCNO,2) = "IV"
SQL;ORDER BY ARCARD.ACCID, ARCARD.DATEDOC, ARCARD.DOCNO
CONDITION;FROM CUSTOMER~ARCARD.ACCID~Chr~2~SELECT ACCID FROM ARMST ~AR
CONDITION;FROM DATE~ARCARD.DATEDOC~Date~2~~
CONDITION;CONDITION~~TextFile~~ARCON.TXT~
CONDITION;CONDITION2~~TextFile~~ARCON2.TXT~
