If the file has less than 65000 records than you can use Filetostr() and ALINES(). Otherwise you have to use low-level file functions FOPEN(), FGET(), FREAD(), FCLOSE().
>Hello
>
>In my app i need to get the length of the line in a text file, to compare if the incoming data (text) file is of correct length, but the line of the file has 290 chars but len() returns only 254, i know its the limitation of foxpro, but is there any other way to determine the length of the text file.
>
>eg this is one record from the text file
>
>803524101121 1 52000A999999999I III 6 81942FB51847810305184781034161 DELAWARE AVE. WAPPINGERS FALLS NY125902719DB 30 3088820000 219000109510000 2190002190 219000109521 2A8888B 5888 147384ADY
>
>txs
--sb--