Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box - Control Source vs RecordSource?
Message
From
12/12/2006 22:58:04
 
 
To
12/12/2006 22:49:53
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01177044
Message ID:
01177057
Views:
11
Makes it doubly difficult when MS posts mistakes like that :)

>I have the impression that the text quoted was just a little careless, and confused the two.
>
>>Thanks. I was really going to lose it if my understanding of combo boxes was so far off :)
>>
>>>Your interpretation sounds reasonable to me.
>>>
>>>The search is done in the data fetched from the RecordSource.
>>>
>>>The selected value (which may be in a visible or in an invisible column, BTW) is stored to the ControlSource.
>>>
>>>>As a newbie I have really been struggling with getting a combo box control to work in a grid. My major problem is that the combo's dropdown list closes as soon as I type any character (well, within a fraction of a second). This makes incremental searches a tad difficult :) While Googling, I came across a MS KB article # 166378, which states:
>>>>
>>>>"The combo box control has an Incremental Search property that, when set to true (.T.), searches the Control Source of the combo box with each keystroke."
>>>>
>>>>I thought it searched the ROWSOURCE, no? Maybe it was just poor wording in this article, and they really meant RowSource?
>>>>
>>>>My understanding is that the ControlSource is the field/data object to which the control is bound.
>>>>
>>>>TIA
>>>>
>>>>-Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform