Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing a property by name
Message
From
22/11/2003 07:39:05
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00852561
Message ID:
00852595
Views:
15
Oh easy:
lxvalue = eval("objecname."+lcProperty)
Whoops! Toto we're not in VFP anymore!

Glenn
>If I have string specifying the name of a property, how can I use that information to access that property, i.e. store a value to, or retrieve a value from that property?
>
>Thengew.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform