Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not get it right
Message
From
02/02/2006 10:55:44
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092465
Message ID:
01092879
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>>>>lo=eval("m.toThis." + m.lcObjName)
>>>
>>>That's I believe what I tried. But may be I did put mismatched quotes... I'll re-try.
>>>
>>>UPDATE. Yes, it worked. I had a very bad headache the whole day yesterday at work, may be I just could not concentrate... My colleague told me he also had it and my son did, so I think it's weather related...
>>
>>use
>>
>>lo=GETPEM(m.toThis,m.lcObjName)
>>
>
>I thought about it too. But anyway, evaluate works and it seems good enough for me.

It work ( slower ),
but it is formally wrong when the object reference is static
as in :
"m.toThis."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform