Hi Everyone,
I would like to know whether we can display e,g, Full Name , thats is " [first_name] + " "+ [surname]" as the display text?
I have set the combo's DataSource and DataMember as the [first_name]. But I need to display first name and surname as the Full name for the combo values.
e.g.
Ann Smith
David Brown
Mary Cornell
ultraGridColumn.Formula = "[surname] & \", \" & [first_name]";
Any suggestions?? Urgent!
Thanks in Advance.
NW
Hi,
What you can do is add an unbound column to your UltraCombo. I would recommend using the InitializeLayout for this.
You can then apply a formula to this column like you have above. Or, you could use the InitializeRow event to populate this unbound column with whatever text you want. Then you just set the DisplayMember to the unbound column.
Thanks Mike! Works wonderfully!!