N
Noah Kaufman
Hi -
I have a form that needs to be able to return the number of InfoPath forms
contained within an InfoPath form library within SharePoint using vbscript.
I have already set up the form library as a data source in my form.
Assuming the data source is called "foobar", what would be the xpath that I
would pass to the .selectNodes() method in order to be able to then use
..nextNode() to be able to go through the nodes sequentially? (so that I can
count them)
Alternatively, if this is _not_ the best way to count the number of XML
documents within the form library -- what would be a better method, assuming
that I have to use vbscript to do it?
Thank you very much, in advance, for taking the time to answer my question.
Sincerely,
Noah Kaufman
New World Design
Cambridge, MA, USA
I have a form that needs to be able to return the number of InfoPath forms
contained within an InfoPath form library within SharePoint using vbscript.
I have already set up the form library as a data source in my form.
Assuming the data source is called "foobar", what would be the xpath that I
would pass to the .selectNodes() method in order to be able to then use
..nextNode() to be able to go through the nodes sequentially? (so that I can
count them)
Alternatively, if this is _not_ the best way to count the number of XML
documents within the form library -- what would be a better method, assuming
that I have to use vbscript to do it?
Thank you very much, in advance, for taking the time to answer my question.
Sincerely,
Noah Kaufman
New World Design
Cambridge, MA, USA