Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.Value dissappearing
Message
From
27/05/1997 13:58:10
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
27/05/1997 13:49:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00033729
Message ID:
00033737
Views:
44
>>I have created a combobox based on a single field table. If the user types in a value not in the table they are prompted to add it to the list. If the user selects Yes, then the .DisplayValue is INSERTed into the combobox's source table and REPLACEd in the current record and then a THISFORM.Refresh is issued. This works fine as the new choice is available in the combobox but the value the user typed in dissappears from the screen. Any ideas?
>
>Instead of Thisform.Refresh use Thisform.Combobox.Requery() and then reset Combobox.DisplayValue property to show inserted value.

HEY Ed!!! Finally...we agree on how to do a combobox!!! LOL
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform