Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I use the field() command in a replace statement.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353285
Message ID:
00353391
Views:
19
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform