Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox value resets to blank
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01588496
Message ID:
01588503
Vues:
63
AFAIK (complex issue),
- What you type goes into .DisplayValue
- .Refresh() sets .Value (and .DisplayValue obviously) and .Text from .ControlSource
- Whenever .Valid() returns .T., .Value is stored into (.ControlSource)

you could try
procedure Valid
.Value = .DisplayValue
>I have a combo box with a control source of mcheck_intim, a memory variable, not a table field. The 6 columns of the box
>are pulled from an sql statement where the first field is check_intim. If I select a record, all works fine. But if I just type in
>a value it reverts to blank as soon as I execute a thisform.refresh command.
>
>I'm sure I have a properties field incorrectly set, but I can't find it. Any help would be
>appreciated.
>
>Brad
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform