Hi all, i have all this data here and the data for rows 7-9 is the same. All this data here is being read row by row and written into the output file. However, how can i write the if else loop such that if it contains rows that have the same data, it will only read one row of it and skip the rest, and write into the output file?
Update: I have managed to do it in such a way that if rows 8 and 9 data is same as row 7, only row 7 will be written into the output file. However, i have another issue now. row 7, 8 and 9 have different data. Row 10 will have different data also. Row 11 have same data as row 7, similarly rows 12 and 13 have same data as row 8 and 9.
So, what i want is only rows 7, 8 and 9 will be written into the output file and rows 11, 12 and 13 will not be Written. How can i do that? please help if possible as i need it urgently. Thank you all