I have a grid w/ Table as RecordSource. In that Table I have a N(3) field I use for relation in other table. In that grid I have a column w/ combobox in it as a contol. . ControlSource of ComboBox is the same. Both have "Bound = .t.".
Column Properties
ControlSource = FirstTable.NumField
Bound = .t.
Sparse = .f.
ComboBox properties
ControlSource = FirstTable.NumField
ColumnCount = 2
ColumnWidths = 200,30
BoundColumn = 2
BoundTo = .t.
RowSourceType = "6 - Fields"
RowSource = "SecondTable.Name, Code"
Style = "2 - DropDown List"
When The Combo got Focus Value & DisplayValue are OK but on screen the are blank combo. And If you open the list for choosing always start from top of list (not from current value).
When The Sprase = .t. The behaviour of the combo is OK but the Grid shows me a code not the Name.
I try in GotFocus of Combo:
this.Value = This.Value
this.Refresh()
but... :((((
What I must Do?
TIA
Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.