>>>If you know the length of the record (which you should) take the size of the incoming file and divide it by the record length. This will give you # of records.
>>
>>All lines have a different length. :(
>
>So what? Take the length of the file and divide it by this different length! :))
Yeaaaahhhhh, suuuuurrrree. :)