hi all, I have an Infopath 2003 form using VB Script.
I have a couple of repeating tables on the form that are submitted to a database and saved on a Sharepoint form. when I first fill out the form and save it, it works correctly. When I come back to edit in through infopath, the .length of the node of the repeating table appears to be too big. here is the code:
NumMaterialRowsWidth = XDocument.DOM.SelectNodes("//d:UT_Proposal_Material").length
If there are only two materials in my database and on the form, the .length parameter is returning 4 and if there are 3, it sometimes returns 5 or 6.
can any one see any glaring problems with my logic?, I've verified the database and there should be only 2 rows when the .length says 4?
Any help appreciated, this is a great site with helpful insights.