General information
Category:
Coding, syntax & commands
Hi Borislav.
I forgot to mention this in my previous reply:
>> When The Sprase = .t. The behaviour of the combo is OK but the Grid shows me a code not the Name. <<
This is what I would expect to happen since the grid column is bound to the code. If you want to set column.sparse to true, try setting up your column controlsource like this:
( IIF( SEEK( FirstTable.NumField, 'SecondTable', 'SecondTableIndex' ), SecondTable.Code, '' ) )
And set the column's Bound property to false.
Even though this has the effect of making the column read only, you will still be able to select different items in the drop down list. The reason is that ReadOnly only referes to portions of a control that accept text. A dropdown list does not accept text < s >.
Marcia
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only