Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Optiongroup problem
I am trying to use an option group with two buttons, Yes and No, to represent the state of a logical field.
the interactivechange,
IF THIS.Value = 'Yes'
REPLACE ACTCOMPL.nontrad WITH .T.
ELSE
REPLACE ACTCOMPL.nontrad WITH .F.
ENDIF
seems to work and display correctly,
but in the init I have:
IF ACTCOMPL.nontrad
THIS.Value = 'Yes'
ELSE
THIS.Value = 'No'
ENDIF
to display the current value when the form opens, but it always displays 'No' regardless of the field value
Any suggestions?
TIA
Al
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement