I am currently connecting to a SQL Server successfully with InfoPath 2010, but I'm connecting to a table that has over 90,000 entries. In my InfoPath form I only require 1 line item (5 values from the line item to be exact, 1x5) to be returned, but have discovered that InfoPath wants to store all 90,000+ items in memory (90,000x5) THEN select the 1 line I need. Once this 1 line is selected, and the 5 values extracted, InfoPath STILL keeps the data intact when I save the file. Talk about overkill.
Does anyone know of a way to query for a single line item similar to how it is done in SQL? IE Select item1, item2, item3 from table ABC where this=that. I prefer a codeless option.
My goal is to simplify how users enter their data: Enter a part number, have InfoPath find the description, cost, and a few other values for ONLY that part number. All this needs to be a browser based form as well, running in SP2010.
Gil