Code Needed

T

Tomma

Is there any exampes out there that shows how to add nodes
values (not expression box) and do various calculations
with managed code??
 
A

Andrew Ma [MSFT]

You will use selectsinglenode to get a node, like this:

IXMLDOMNode node = thisXDocument.DOM.selectSingleNode("my:myFields");

(edit the xpath to point to your node)

Then node.text will be the property you want to use to get and set values.


--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath
http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top