Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use ! (.NOT.) in the ControlSource?
Message
From
18/10/2006 15:34:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01163070
Message ID:
01163081
Views:
10
>If I specify entry in ControlSource of a check box to
>
>!MyView.MyField
>
>
>I get "Control is ReadOnly" when clicking on this check box.
>
>Is there a way to use ! or Not in the ControlSource?
>
>Thank you.

I heard you can use any expression in a .ControSource, if you enclose it within parentheses. However, the control becomes R/O. If this is a problem, you must follow David's suggestion, to program your own databinding.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform