Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox reacts to Y/N field
Message
De
29/01/2007 11:05:40
 
 
À
29/01/2007 10:49:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01189996
Message ID:
01190109
Vues:
15
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform