Um, if you want to report progress then shouldn't you be passing something that indicates progress? How is the number zero and the data you just read indicating progress? Progress would normally be a number, either absolute or percentage. If you want to report the number of records read then you have to count the number of records read and report it. If you want to report a percentage then you'll need to know the number read and the total number. Do you know the total number? Presumably not, so you can't do that.