Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox value resets to blank
Message
De
22/11/2013 09:04:13
 
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:
01588518
Vues:
92
>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.
>

Two issues. First, the one that Thierry mentioned. Typing in a value doesn't add it to the list.

Second, your variable is probably going out of scope. Use a form property instead, or subclass the combo and add a property there.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform