Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluate()????
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Evaluate()????
Miscellaneous
Thread ID:
00136188
Message ID:
00136188
Views:
60
Hi all,

I'm trying to use a generic statement to get the value of a specific field in a record by using evaluate(). Each time I try it I get a syntax error. Here's the code I'm using, any ideas??

lcField = 'MyTable.'+field(lnCnt)

lnATAFValue = eval(lcField)

TIA
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform