>>>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
>>
>>Change it to
>>
>>lnATAFValue = (lcField)
>>
>>Bye
>>Jayesh
>
>Sorry friend,
It was my mistake. Use
lnATAFValue = &lcField instead.
Bye
Jayesh
- Jayesh