>>You'll need to set a variable to hold the retun value of the Field() function.
>>
>>For example:
>>
>>cField = field(nCntr)
>>replace (cField) with alltrim(fgets(nFile))
>>
>>
>
>Hi Henry,
>
>In common, you don't really need to hold the return value of the Field() function.
>
>Replace (Field( nCntr)) ...
>will work fine.
>
>Best regards.
>
>Alex
Alex,
You are correct. I wasn't thinking clearly this morning since the office coffee machine is broken :)
Henry
Henry Petry
AeroHunter.com