Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with EVALUATE()
Message
From
26/02/2006 05:31:06
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
26/02/2006 00:54:51
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01099237
Message ID:
01099251
Views:
13
>Use
>
>FOR nCounter = 1 TO 4
>    * = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".Enabled = .F.")
>    * = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".text1.Enabled = .F.")
>    Store .f. To ("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".Enabled"), ;
>                 ("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".text1.Enabled")
>ENDFOR
>
>>but it is not worked.
>>WHY?
>
>Because each eval does a compare of the property and sends the result of the comparison into nirvana, as you have no variable left of the assigning "=" in front of the eval().
>
>HTH
>
>thomas

Thank you very much
Previous
Reply
Map
View

Click here to load this message in the networking platform