-
Looks like you are using thisXDocument instead you should use ''XDocument'' in the script.
Your code should look like this
dim oNode
set oNode = XDocument.DOM.selectSingleNode(''//my:repeatingtable1'')
I dont think you can declare object types in the script, mainly the way you have declared.
For ex:- ''IXMLDOMNode row'' is not allowed in ...
-
Thanks for the reply Patrick,
There are a few XML files, but they are all located within the directory of the manifest.xsf files. In its uncompressed state, they total about 479KB.
However, there is a section of the data source which populates via web services. (I didn't design the web services)
I noticed that the 'Securty Level' was set to ...
-
Patrick-
Line 21 is
IXMLDOMNode row = thisXDocument.DOM.selectSingleNode(''//my:repeatingtable1'')
Kip Bautista
KTB Dezines
KTBDezines@netscape.net
-
It's security not protected. Go to Tools->Form Options->Security, disable the auto security thing, and check Restricted.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Sure, just call xdExpression from the condition. Check out the following:http://www.infopathdev.com/howto/bugs/default.aspx?i=c5f158cb6d2d4b578290d1116db0ea29
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
It'll be great to see SP2. We are excited...
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
What is line 21?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Boštjan and welcome to the board,
I'm terribly sorry about missing your post. We typically sign XML data using the built-in InfoPath support which does not require all of the code you have above. My guess is that it's a difference between System.XML (.NET 2.0 version) and MSXML4 (what InfoPath uses). This can be tricky to debug. If you'd like ...
-
Hi Reg,
Various things. Update check is probably the main latency with the net if the form is local. Update feature has to check the version number of the form to see if a newer version exists and, if so, download it.
How big is your XML file? Does your form populate from any external data sources?
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Guys,
I want to be able to hide a control through code. I know I can use conditional formatting to accomplish this but is there a way that I can Hide a button through managed code(C#). If yes then could somebody please give me some example.
Thanks
Sumeet