Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluate() on a built field name
Message
From
17/01/2006 14:23:29
 
 
To
17/01/2006 13:50:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087596
Message ID:
01087677
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Fabio,
>
>That does not work for what I am doing. I already have the Proproties in the object, I just need to get to them to put values into them.
>Thanks anyway.
>Beth
>

addproperty update a exist property, and it is faster respect to
the TO (expr) solution.

>>>I am running a loop to fill a object from other values. The object is build with
>>>
>>>SCATTER NAME loPaid MEMO BLANK
>>>
>>>
>>>Afterwards I start filling it. But I get an error at this point:
>>>
>>>loPaid.EVALUATE("COMMENT" + PADL(lnloop, 2, "0")) = ALLTRIM(lcRequest.COMMENT)
>>>
>>>"COMMENT" + PADL(lnloop, 2, "0") = "COMMENT02"
>>>lnloop = 2
>>>and lcRequest.comment = " "
>>>
>>>Do I need to do this another way?
>>>
>>>TIA
>>>Beth
>>
>>
>>ADDPROP(loPaid,"COMMENT" + PADL(lnloop, 2, "0"),ALLTRIM(lcRequest.COMMENT))
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform