hello everyone,
I have this problem that´s driving me crazy, i have this inforpath 2007 form, only 3 fields (in a repeating table), 1st is the product code (Drop Down List), 2nd is the description (text field) of this code and the 3rd is the quantity (text Field).
I have stabilished a data connection with our SQL 2005 server, i have the drop down list to collect data from this connection.
1st problem
The drop down list shows me the data, but when i select any item it takes up to 15 seconds to select the item.
Same happens when i add a new item in this repeating table.
THIS TABLE HAVE APROXIMATLY 4000 RECORDS
2nd problem
I´ve tried to populate this table whith the data collected in the drop down list, but doesn´t work. I´ve did the with a XML file and it works.
For the XML file i´ve ude the following XPath code in formula:
xdXDocument:GetDOM("dbo_st")/dataroot/dbo_st/designacao[../codigo = current()]
Someone could please tell me how i can do the same in a SQL connection. I´ve tried the following code:
xdXDocument:GetDOM("st")/dfs:myFields/dfs:dataFields/d:st/@design[ref = current()]
As i´ve said befor it didn´t work
Thanks a lot in advance for the help.
AND sorry about my english...