Hello
I'm getting the data into a drop-down list from a web service. (Infopath 2003)
I need that drop-down to be sorted, and so far the only solution that i could find is to modify the DataObject
Here is the code: http://pastebin.com/Yj947TkB
The problem with this is: when there are hundreds of items in the dropdown, infopath freezes. I'm guessing every time a
IXMLDOMNode spec = specs[i];
spec.text = a[i];
is executed, the form is updated, and doing this hundreds of times is bad.
So, is there a way to stop the form during the FOR to auto-update, or is it another way i can access the drop-down and sort it's data?
Have a nice day.