InfoPath to query SQL tables and return multiple values - InfoPath Dev
in

InfoPath Dev

InfoPath to query SQL tables and return multiple values

Last post 06-04-2013 12:27 PM by Jess154. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-04-2013 09:27 AM

    InfoPath to query SQL tables and return multiple values

    Hello,
    I have an InfoPath form set up to retrieve data from a SQL table. I have a repeating table with text fields PartNumber, PartNomen, PartDescrip and SystemPartNumber outside of the repeating table that is the driving field for table query.. If SystemPartNumber=1234, I need the query to display all results in the repeating table to the corresponding fields. I have the following default value on PartNumber "@partNumber [SystemPartNumber = @systemPartNumber]" and it displays only the first entry from the SQL table. If I set the same value as a rule on the Query button I get the same result. It works correctly if using a drop down list but I need all the data returned all at one glance. What am I missing? If I don't need it to be a repeating table, please let me know the alternative. Thanks in advance!
  • 06-04-2013 12:27 PM In reply to

    Re: InfoPath to query SQL tables and return multiple values

    Nevermind...I figured it out when I used a database template to build it off of.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.