Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo
Message
 
 
À
17/12/2001 11:06:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Combo
Divers
Thread ID:
00595100
Message ID:
00595143
Vues:
27
>>>>>I have a combobox with his rowsourcetype set to an sql-statement
>>>>>'select name,id form articles into cursor cArt'.
>>>>>Boundcolumn is set to 2.
>>>>>Controlesource is a field in the order-table.
>>>>>
>>>>>With these settings the values in the order-table aren't correct.
>>>>>It's like vfp is setting the recno() of the article-record in the order-table.
>>>>>
>>>>>Please need some help !! :-(
>>>>
>>>>Set combobox property
BoundTo=.T.
>>>
>>>Stupid me, I didn't saw the property BoundTo was set the .F. in my base-class.
>>>Thanks for the help ! :-)
>>
>>It's only "bites" you if the combo is bound to the numeric field. :)
>
>I use this class only for fields with an character based-PK .
>
>BTW. Why can't you bind a numeric field to a combobox ?

You can if BoundTo=.T., but default value is .f. for backward compatibility with fox 2.x
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform