Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use ! (.NOT.) in the ControlSource?
Message
 
 
To
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:
01163084
Views:
9
>>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.

Yes, this is what I am doing, following David's suggestion. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform