Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a user entry into a combobox
Message
De
22/07/2001 23:33:25
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
22/07/2001 23:13:54
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00533751
Message ID:
00533755
Vues:
32
>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
Fil
Voir

Click here to load this message in the networking platform