Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box - Control Source vs RecordSource?
Message
From
12/12/2006 22:40:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/12/2006 22:31:32
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:
01177048
Views:
12
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
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform