Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox behavior with integer key
Message
From
21/07/1999 10:26:50
 
 
To
21/07/1999 09:07:09
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00244085
Message ID:
00244132
Views:
19
>All,
>
>I have a simple form containing a Combobox. The RowSourceType is 6. The RowSource is 2 fields, a description field and an integer key field. The ControlSource is a form property whose value is one of the key fields. When I run the form, the Combo is initially blank. When I make a selection all behaves as normal. If I change the Form property to the record number and run the form, the cooresponding record is selected and displayed.
>
>I know I am missing something simple and I seem to remember something about integer keys, but I don't know what it is.
>
>Help!
>
>TIA
>
>Rex

The combo box tracks the key as a character value, not an integer.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform