-
Agni
Thanks a lot. It worked just fine. Thank you for taking the time out to respond to the newbies question. I think you guys are great.
Arthur c Dodd
-
I have a form library that holds some infopath forms. These forms are enabled with digital signatures. I recently had to change the form (just added a couple of new fields) and when opening an excisting, already saved form it warned me that the form I was opening needed to be upgraded with the new template. And all the signatures would be ...
-
Here's the problem:
I have 4 text boxes that need to be averaged, and the result shown in another box. All the text boxes are decimals. I cannot seem to find the right syntax for averaging the four fields. I try using the formula button in the text box property dialog box (with the ''avg'' function), but I only get a sum of the numbers. Also, ...
-
Hi Agni:
It worked just fine... Awesome.
Thanks a lot again.
Jason
-
You should remove ''oParentNode.appendChild(domXMLNode.documentElement)'' before for loop and have the below line in the for loop
oParentNode.appendChild(domXMLNode.documentElement.cloneNode(true))
this will insert the nodes as you loop through the code.
Hope this helps!
Agni
InfoPathDev India
-
Hi Agni:
Could you please look at the code. For... Next loop is there.
My problem is after inserting second row when it come to add third row.
I know you are busy with answering so many questions.
Thanks
Jason
-
Come on Jason its so somple you need make out all these, Its plain logic.
You have inserted just one row with the help of my code, you need to write that in the for loop to insert the total number of nodes required.
Agni
InfoPathDev India
-
Hi Agni:
The above code is inserting only two rows into the table ContactDetails. When it goes to third time the following error I am getting at
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & '']/my:CIFNumber'').text = strContactId
-----
System.NullReferenceException
Object reference not set to an instance of an object.
at ...
-
Hey now our previous code should work
With thisXDocument.DOM
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & '']/my:CIFNumber'').text = ''CIFNumber''
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & '']/my:FirstName'').text = ''FirstName''
.selectSingleNode(''/my:myFields/my:ContactDetails['' & i + 1 & ...
-
Hi Maulik,
I agree with your post on next/prev. However, InfoPath has serious perf issues when you a) load lots of data into the main DOM, and b) bind it to your view. My suggestion would be to use views or filtered queries to reduce the data set. If that isn't an option, load the data into a secondary data source (secondary DOM) and show a small ...