Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox reacts to Y/N field
Message
From
29/01/2007 11:05:40
 
 
To
29/01/2007 10:49:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01189996
Message ID:
01190109
Views:
16
>>>Never come across this requirement before but I thought it would be achievable by putting the expression:
>>>
>>>=IIF( RteFam.Survey = "Y", .T., .F.)
>>>
>>>in the .Value property of the checkbox. It doesn't react at all.

>>>
>>>Use this as the controlSource for the column instead:
>>>
>>>
>>>( IIF( RteFam.Survey = "Y", .T., .F.) )
>>>
>>
>>Thanks, Marcia.
>>
>>Now this is confusing me, as I said to Gregory:
>>- It strikes me that this function returns T or F.
>>- My field is C(1) - "Y" or "N"
>>- Now, as it's the source of data to which an object is bound, how would this func. tell the form that data input here goes in to my table field?
>
>It wouldn't. But the keypress/click event could do a replace in the cursor + this.Refresh()

Which brings us round to writing code in a method anyway. And it's not just a case of writing the data - I need it to read and display too.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform