deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Wed Jan 14, 2004 1:48 am Post subject: Report creation Ezetrieve |
|
|
Hi All,
I have a requriement as below..which needs to be done thru Ezetrieve..
Code: |
File 1
A AAA BBB CCC 675 000 125
B DDD EEE FFF 778 678 444
C XXX YYY ABC 123 444 123
...................
...............................
......................
|
The file 1 can contain n number of records.
I need to create a report such that it shud have the colums 1,2,3,4 first written with all the records...then the columns 1,5,6,7 written with all the records. A page break shud be inserted in between.
Thus the report shud look like
Code: |
HEADING
A AAA BBB CCC
B DDD EEE FFF
C XXX YYY ABC
PAGE BREAK
HEADING
A 675 000 125
B 778 678 444
C 123 444 123
|
We can achieve this by using two consecutive reads of file1 but can we have arrays in Ezetrieve into which i can store the records the first time i read and then write them at the end in the above format..?? Also i dont know the number of records in file1, then what shud be the size of the array??
Thanks,
Deepesh |
|