Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox value resets to blank
Message
From
22/11/2013 09:04:13
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows XP SP3
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01588496
Message ID:
01588518
Views:
93
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform