Hello I have this simple complicated problem...
I created a program which has a CSV output on a fixed block file. The CSV is a report type which contains MAIN HEADER, SUB HEADERS. and DETAIL HEADERS.
Well, this is it..The main header and subheaders together with detail headers are repeated many times depending of the change or break of main header field or subheader field... It is simple to count records including or excluding headers but the problem is I have to coordinate this one on the Excel sheet since this is CSV file.. the limit is 65536 (no of lines they told me Excel sheet could hold). The hard thing is, how to cut it off on the excel sheet limit without breaking up the records on a certain main header or subheader field... the separated file could be written on another CSV fixed block file...
Main Header
SubHeader
Detail Header.......
Values........
Main Header
SubHeader
Detail Header.......
Values........ and so on... thanks I really need a help on this..deadline is coming sorry guys..