Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing field names within variables??
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134243
Message ID:
00134487
Views:
10
>>I'm in the process of trying to use a xtab query in a report. The query
>>results are too large for a VFP report. Can I get a field value like this:
>>lcFieldname = FIELD(lcFNum)
>>
>>myTable.lcFieldname = x
>>
>>Will VFP recognize the variable as a field name??
>
>Try this:
>
lcFieldName = FIELD(lcFNum)
>REPLACE myTable.&lcFieldName. WITH x
>
>HTH

Sorry, I misunderstood your question.
Previous
Reply
Map
View

Click here to load this message in the networking platform