Re: READING 2 RECS before write to PRINT REC
- From: docdwarf@xxxxxxxxx ()
- Date: Mon, 21 Aug 2006 13:49:05 +0000 (UTC)
In article <1156167015.357296.277760@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<jeff@xxxxxxxxxx> wrote:
Wouldn't I need a few loops to handle the prior years and also reset a
counter after your counter is = prior years?
I'm not sure... why don't you post the code you've developed that shows
this approach and maybe it will be clearer?
[top post on top of top post - nothing new below]
DD
docdw...@xxxxxxxxx () wrote:
In article <1156164371.856184.15880@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<jeff@xxxxxxxxxx> wrote:
I have a program that I wrote that creates a work file to read from to
create a print record. The program is a sales report that allows the
user to specify how many years to compare. An example is 07-01-06 thru
07-31-06 If they answer 3 prior years it would show sales data (it also
handles exact day instead of just 070106, 071005, 070104)
20060701
20050702
20040703
20060702
20050703
20040704
When I read the Work file I need to read 2 recs before writing the
print record to calculate the percentage change in amount.
That's usually accomplished by coding two READ statements.
DD
.
- Follow-Ups:
- Re: READING 2 RECS before write to PRINT REC
- From: jeff
- Re: READING 2 RECS before write to PRINT REC
- References:
- Prev by Date: Re: Conext Menus
- Next by Date: Re: READING 2 RECS before write to PRINT REC
- Previous by thread: Re: READING 2 RECS before write to PRINT REC
- Next by thread: Re: READING 2 RECS before write to PRINT REC
- Index(es):