Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if controlsource is a field or a variable/prop
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00592686
Message ID:
00592847
Views:
22
>Is there a way to determine if a controlsource was a table field or a property - variable?
>
>I need to know this to assign a new value to the controlsource of an object programmatically. I have added the "controlsource" property to a container and i need a way to reassing a value to this controlsource.
>
>Fields use the REPLACE command and properties/variables use the "=" assignation.
>
>Any clue?

if type('m.'+justext(this.controlsource))<>"U" && It's a variable
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform