What I am trying to do is, by using a command button or a timer, display the data sequentially, one line at a time in labels.But I also want to be able to control the start and end points in the data sequence -- for example I might want the data between 1-200, then btween 400-620 and so on.
This snippet
works fine as long as I don't change the value of index1.But as soon as I set index1=50 then it doesn't work right.
The label will display the line_value at line #50, but doesn't move to the next line as in the original where it keeps going till the end of the data in the file.