J
Joseph Kreifels
Guest
I seem to be having an issue. Did I no something wrong here? Bare in mind this is draft code. It will look bad. LOOP: for each ap-ledger where ap-ledger.company = "ffi" and ap-ledger.bank-acc = "99" and ap-ledger.trans-date = 05/26/2016 and no-lock break by ap-ledger.vend-num: if ap-ledger.ap-amt-type <> "p" then next. find vendor where vendor.vend-number = ap-ledger.vend-number no-lock no-error. if not avail vendor then next LOOP. if vendor.vend-name <> "Jeffery Lewis" then next LOOP. /* */ display ap-ledger with 2 columns 1 down. temp-amount = temp-amount + ap-ledger.amount. if ap-ledger.amount 0 then final-amount = tmp-amount. else final-amount = ap-ledger.amount. final-amount = 0. asd-count = 0. end. end.
Continue reading...
Continue reading...