Combo Box - data from database - InfoPath Dev
in

InfoPath Dev

Combo Box - data from database

Last post 07-04-2011 08:36 AM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-02-2011 12:01 PM

    • ker92
    • Not Ranked
    • Joined on 07-02-2011
    • Posts 3

    Combo Box - data from database

    I'm used to combo boxes in Access and Excel where you can bind a particular column as the results but look at a different column to make your choice (like you see the client name, but you are actually selecting the client ID when you make your choice).  It would appear that this is not possible in InfoPath.  What I want to do is have the user select the client they want, but I also need 2 other pieces of information - both are ID numbers.  How would I accomplish that?  (Ultimately, I want to see ID1, ID2, Client Name.)

    Thanks!

  • 07-04-2011 08:36 AM In reply to

    Re: Combo Box - data from database

    This is entirely possible in InfoPath.  In the ComboBox's properties, you can specify which field is the Display field, and which is the Value field.  This means that when an item is selected, the bound field will take on the corresponding "Value" value.  Once you have that, you can use some rules and filtered XPath to retrieve any related values you need.

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.