M
Mike Surface
Anyone seen this error before?
I have an InfoPath app that pings a web service to get a list of
search results. As the user navigates the list, I show the details of
the currently selected item in another area on the screen. I store
this currently selected item in a global variable. For small search
results, this works fine. For large search results (ie > 100) I get
the following error when trying to access properties of the global
object (like node.text = "false"):
"COM object that has been separated from its underlying RCW can not be
used."
Any ideas?
Also, to do this, I toggle a field on the results to true or false
depending on whether its selected or not, then I have a repeating
table only display the item that is set to true (all others will be
false). Is there a better way to do this? When I get large results, it
seems to take forever to actually write to the DOM - ie
thisXDocument.DOM.selectSingleNode("x").text = "true"
Takes forever if there's lots of xml data.
Mike.
I have an InfoPath app that pings a web service to get a list of
search results. As the user navigates the list, I show the details of
the currently selected item in another area on the screen. I store
this currently selected item in a global variable. For small search
results, this works fine. For large search results (ie > 100) I get
the following error when trying to access properties of the global
object (like node.text = "false"):
"COM object that has been separated from its underlying RCW can not be
used."
Any ideas?
Also, to do this, I toggle a field on the results to true or false
depending on whether its selected or not, then I have a repeating
table only display the item that is set to true (all others will be
false). Is there a better way to do this? When I get large results, it
seems to take forever to actually write to the DOM - ie
thisXDocument.DOM.selectSingleNode("x").text = "true"
Takes forever if there's lots of xml data.
Mike.