Re: new RPG


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Carl Haaser on December 29, 2010 at 05:26:30:

In Reply to: Re: new RPG posted by Barbara Brazil on December 28, 2010 at 11:06:13:

Vsn: 10.09 on UTL. Comet 16. Below are the results from running BARCOMP.IBR

PRINTER LPH
INPUT CUST.LBS.HIST
cust.lbs.hist VSC1LB -
TITLE "CUSTOMER BAR LBS. SALES COMPARISON REPORT-05/31/10"
TITLE "*** BARCOMP ***"
REPORT
SELECTING IF BAR01 NE 0
SELECTING IF BAR05 NE 0 <-- This was BAR%Billmo% and is OK
SELECTING IF BIL01 NE 0
SELECTING IF BIL05 NE 0 <-- This was BIL%Billmo% and is OK
USING LBS.HIST.2.CUST
DEFINE THIS.YTD=_
BAR01;7.0;THIS.YTD
DEFINE LAST.YTD=_
BAR13;7.0;LAST.YTD
DEFINE LAST.YR.TOT=BAR%Billmo% ;7.0;LAST.YR.TOT <-- This was BAR%Billmo% and is not OK
DEFINE PREV.YEAR=_
BAR16;7.0;PREV.YEAR
PRINT CUST.NO;NAME;THIS.YTD;LAST.YTD;LAST.YR.TOT
ERROR = 16 - bar Field Name not found



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]