Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox - basic query
Message
 
 
To
26/07/2010 14:22:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01473935
Message ID:
01473953
Views:
93
This message has been marked as the solution to the initial question of the thread.
>Naomi
>
>Just quickly trying:
>
>REPLACE FRUITS.GROUP WITH THIS.DISPLAYVALUE
>
>does indeed do what I wanted.
>
>But, out of interest and to satifsy my curiosity, without putting such code into the Valid of the combobox, how would user inputted text into the text portion of a combobox ever be retained in the bound control. I assumed that the bound control would simply accept the value typed in. Does the default behaviour of the valid clause of a combobox automatically check to make sure the typed in value is in the list of supplied values?
>
>Thanks for the pointer
>Barry Sutton
>
>
>
By default it doesn't get saved. You have to implement code to save the value in the underlying source of the combobox. That code depends on the source type.

I think Marcia posted a version of such combobox, but in my quick searches this is the best result I found.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform