Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Question
Message
 
To
10/02/2010 14:11:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01448605
Message ID:
01448606
Views:
58
>I can't believe I'm having a problem with this...........
>
>I have a ReasonCode table
>idReason Int
>cReason C(20)
>cExplanation C(200)
>
>I have a grid whose RecordSource("crsGrid") contains an idReason field.
>
>I need a drop-down combobox which shows cReason value as both the displayvalue and the drop-down list, but puts the proper idReason into crsGrid.
>
>What are the proper properties to set on the combo-box
>
>TIA.............Rich
ColumnCount   = 2
RowSourceType = 6 && Fields
RowSource     = "ReasonCode.cReason, idReason"
BoudCoulmn    = 2
BoundTo       = .t.
Value         = 0
* ColumnWidths  = "250,20"  You need to adjust sizes of the columns
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform