Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
Displaying Multiple Fields in DataTextField Property
posted

Is there any way to display multiple columns in the WebCombo DataTextField Property?

Es.

uwcUserChange.DataTextField = "LastName_s" & ", " & "FirstName_s"

 

 

  • 45049
    posted

    WebCombo can only refer to a single column as its DataTextField. 

    A solution is to add an unbound field to your WebCombo, which contains the text that you'd like to display as your DataTextField.  Use InitializeRow (if you're data binding your grid) to perform the concatenation you're after.  Set this column to be your DataTextField.  If you don't want it displayed in the drop-down area, you can hide this unbound column.