Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use combo box bound to field
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01087103
Message ID:
01087108
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Try
* Combo Valid
IF NOT EMPTY( This.DisplayValue )  ;
		AND NOT (ALLTRIM(This.DisplayValue) == ALLTRIM(This.Value))
	INSERT INTO mytable VALUES (This.DisplayValue)
	This.Value = This.DisplayValue
	THIS.Requery()
ENDIF
>
>I have a combo box bound to a field (ControlSource has the field name), property .BoundTo is .T.. The RowSourceType is 6 - Fields and the RowSource is names of the fields. The style of the combo is 0 - DropDown Combo. I would like the user to be able to enter a value that is not in the RowSource cursor.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform