Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Sub question
Message
From
19/11/1998 10:48:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/11/1998 10:26:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159263
Message ID:
00159281
Views:
18
>Hello
>
>x='1'
>
>Why this code works:
>z='txtYear'+(x)
>*Thisform.&z..VALUE = 1111
>
>and This does not:
>Thisform.('txtYear'+(x)).VALUE = 1111
>
>Thanks
() are used for name expressions (ie: use (cFilename)). Well also this would work :
with evaluate("Thisform.txtYear"+x)
  .Value = 1111
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform