Hi, rather new to vb.net and INfoPath.

Can someone tell me what is wrong with the next code :

Dim veldje As IXMLDOMNode
veldje = thisXDocument.DOM.selectSingleNode("//my:Opdrachtstatus")
veldje.text = "changed"
thisXDocument.DOM.selectSingleNode("//my:Opdrachtstatus").text = veldje.text

The field "Opdrachtstatus" on the InfoPath-form does not change anything.

Suggestions are appreciated, regards, Ger.

Hi ger,

I am probrably even more of a newbe then you are:mrgreen:
but I was wondering, is IXMLDOMNode an Integer?
If yes what kind?

Curious how you solved it.
Regards
Henny

Hi ger,

I am probrably even more of a newbe then you are:mrgreen:
but I was wondering, is IXMLDOMNode an Integer?
If yes what kind?

Curious how you solved it.
Regards
Henny

Hi Henny,

To be honest. I donot remember. It is over a year ago, when I encountered this problem. Nowadays I donot work often with InfoPath anymore.
So sorry, not being able to help you,

regards, Ger. :rolleyes:

Hi Ger,

That is a pity but tnx for replying anyway.

Greetings
Henny