Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box - Control Source vs RecordSource?
Message
De
12/12/2006 22:40:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/12/2006 22:31:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01177044
Message ID:
01177048
Vues:
13
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform