Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hi all:
>
>I currently have a drop-down combobox with the RowSourcetype set to Value and the Rowsource with values (Name1,Name2,Name3).
>
>In the event that a user's desired choice is not existing in the drop-down combo, I would like to allow the user to enter a value, then add it to the drop-down combo permanently. How can this be achieved.
In rough terms, in the valid:
IF THIS.DISPLAYVALUE <> THIS.VALUE .AND. !EMPTY( THIS.DISPLAYVALUE )
*!* Do what ever you need to add the new value. If it's a customer,
*!* for example, you might need to start a detail form.
ENDIF
Précédent
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