Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo
Message
 
 
To
17/12/2001 11:06:29
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Combo
Miscellaneous
Thread ID:
00595100
Message ID:
00595143
Views:
26
>>>>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform