My application opens files with varying numbers of records(3458 or 6490, etc) and then loops through them to find certain ones to be used(67, 900, 45, etc).

How can I make a counter for the status bar that increments to 100 with differing numbers of total records as the 100 value?