Hi Brenda.
I have a combobox. The value that is stored is a 2 digit numeric field. What I want displayed is the code with a discreption: '01 - Try Again'.If you want the code
and the description displayed when the combo is closed, the easliest way to do this is to change your RowSOurceType to 3-SQL Statement and Change your RowOSurce to something like this:
SELECT TRANSFORM( Code ) + ' - ' + Description AS MyDisplayValue, Code FROM Mytable ORDER BY Code INTO CURSOR MyCursor NOFILTER
As David said, make sure that you set BoundColumn to 2 and BoundTo to .T.
Personally, if I were you, I would set BoundTo to true in my base combo class. It really should have been true by deault in the VFP base class < s >