Display 2 columns in drop down - InfoPath Dev
in

InfoPath Dev

Display 2 columns in drop down

Last post 09-25-2006 10:39 PM by clareabradley. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-20-2006 01:37 AM

    Display 2 columns in drop down

    Hi,
    I want to show two columns - unique number and name within the same drop down list.
    On my list in SharePoint I have created a column which has "number, name" but when I go to create a datasource in infopath to this list, the column which is a calculated column ("number, name") is not listed as one I can select.
    Can anyone help?
    Thanks
    Clare
  • 09-20-2006 04:16 AM In reply to

    Re: Display 2 columns in drop down

    Hi
    You cannot show two columns within same dropdown.
    Madhuri
    http://www.ggktech.com
  • 09-25-2006 01:09 PM In reply to

    Re: Display 2 columns in drop down

    You could do this with an XSL hack if you really wanted to. Custom editing the XSL is not usually the best practice, but it sounds like the only solution in this scenario.

    If you extract the form files and search through the XSL for the view that you want to do this in, and then find the drop-down you can use a concat() function to show the two values in the Display Name. If you need some help doing this, it is kind of difficult to describe, but let me know.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 09-25-2006 10:39 PM In reply to

    Re: Display 2 columns in drop down

    Hi Matt, I have just been using a drop down for number which then completes the name field and the users seem happy enough so I will probably leave it as it is... Thanks for the offer to help though!
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.