R
Robert Grund
Hello,
I am completely new with Infopath and I am trying to do the following right
now:
In the form I have a starting Date (Format YY.MM.DD HH:MM" and the same as
Ending Date. I need to find out how many hours and minutes have passed
since the beginning and the end.
I understand that I need to make a script with the option OnAfterChange but
I am more oriented torwards the VBA then Jscript.
Just to see if my script works I wanted to write a number into the field
I thought of keying in this
XDocument.DOM.selectSingleNode("/my:CountryGroup/my:Country/my:hours").text
= 2;
but I get always this message
'#PCDATA' is Null-conent
I would like to programm in vbscript and I do not understand further why
Infopath generates the function automatically like this
function msoxd_datum_bis::OnAfterCghange(eventObj)
{
.....
}
I know that this is jscript but I have set in the option vbscript.
Can some one tell me what I have to do so that I can use vbscript in the
backend and also is my current approach correct.
I know many questions but I hope some one can help me out.
Thanks!
Robert
I am completely new with Infopath and I am trying to do the following right
now:
In the form I have a starting Date (Format YY.MM.DD HH:MM" and the same as
Ending Date. I need to find out how many hours and minutes have passed
since the beginning and the end.
I understand that I need to make a script with the option OnAfterChange but
I am more oriented torwards the VBA then Jscript.
Just to see if my script works I wanted to write a number into the field
I thought of keying in this
XDocument.DOM.selectSingleNode("/my:CountryGroup/my:Country/my:hours").text
= 2;
but I get always this message
'#PCDATA' is Null-conent
I would like to programm in vbscript and I do not understand further why
Infopath generates the function automatically like this
function msoxd_datum_bis::OnAfterCghange(eventObj)
{
.....
}
I know that this is jscript but I have set in the option vbscript.
Can some one tell me what I have to do so that I can use vbscript in the
backend and also is my current approach correct.
I know many questions but I hope some one can help me out.
Thanks!
Robert