Forum Discussion

LeeB's avatar
LeeB
Contributor II
3 years ago

Bound List Name and Description in Display Member?

Hi, 

Does anybody know if it's possible to configure a Bound List parameter to show both the Name and the Description as the Display Member?

It's valid for Member Lists but I get an error in Bound List parameters.

 

Lee

 

  • Lee

    The return data table must have a column [Name And Description] for this to work. If you use Name or Description it works fine as the data table have both columns. In theory you could use any of the returned columns as Display Member.

    Best

    Sai

  • Lee

    The return data table must have a column [Name And Description] for this to work. If you use Name or Description it works fine as the data table have both columns. In theory you could use any of the returned columns as Display Member.

    Best

    Sai

  • LeeB's avatar
    LeeB
    Contributor II

    Thanks Sai.

    I added a column to the Data Table created by the method query and can now reference that column in my Display Member.

     

     

    dt.Columns.Add("NameAndDescription", GetType(String), "Name + ' - ' + Description")

     

     

    Lee