I have to read a datapool which has 31 records in it. Say I am reading loadid from the datapool which has 31 records in it and are not in order say 1 to 31. they are like 5,3,21,24,25,31,6 etc but fixed records.
Now my question is when I read the records I have to capture 1st record and last record into a variable say x and y. When I see x I should have first record from the datapool(1st loan id) and when I see y then I should have last record from the datapool say (31st loan id). I feel Array with Ubound and Lbound is fine.