Thanks Borislav,
I got it working.
Chris
>>Hi,
>>
>>I have a combobox set up like the following:
>>
>>BoundColumn=2
>>ColumnCount=2
>>RowSource=?
>>RowSourceType=1 - Value
>>
>>I'm not sure how to set the RowSource property to get the combo box to display the way I want it to. Basically I want to "escape" a comma.
>>
>>Something like this (except this doesn't work)
>>
>>RowSource = "Full Name,N,(Last Name, First Name),S"
>>
>>So when you click on the combo box you'd see the two choices:
>>
>>Full Name
>>Last Name, First Name
>>
>>Any ideas?
>>
>>Thanks,
>>Chris
>
>
>Use AddItem() or AddListItem() methid of the Combo to Add whatever You want
>Other way is to set RowSourceType = 5 - Array
>RowSource = "thisform.ComboArray"
>In Init event of the Form:
>
>
>DECLARE thisform.ComboArray[2,2]
>thisform.ComboArray[1,1] = "First Name"
>thisform.ComboArray[1,2] = "N"
>
>thisform.ComboArray[2,1] = "LastName, First Name"
>thisform.ComboArray[2,2] = "S"
>thisform.Combo1.Requery()
>
>Of course You must add a property ComboArray[2,2] to the Form