Hi Friends
Using Redhat version 9
I have following data and me not knowing the array concept , hence please do help.
data is as below
Date is in Dd/MM/YYYY format.)
Lf No Chq No Amount Date Name Address
123M4567891223 23456 2450.00 1/01/2008 ABC 123,Ave
234Y1234567891 45678 1840.00 1/02/2008 CDE 145,bbc
456H4567899123 98765 2500.00 1/03/2008 EFG 456,cde
789Q9876543211 12345 3000.00 1/04/2008 HIJ 324,EFG
And like wise. The 4th character in LfNo is indicative of the Payment is
Q-> Qtly H-> HalfYealy Y->Yearly M-> Monthly.I have aleady code for
totaling and sorting .What I want is that
Name Lf No Chq fm TO Amount From To
ABC 123M567891223 23456 to 234559 2450.00 1/01/2008 to 31/12/2008
This will be followed by all Qly payment and likewise Halfyearly and Yearly
.I will have to use array for individual total and sorting the Lf Again, where I require the help .
Thanks in advance .