How i can Access one form values in other form in infopath

V

venugopal

I have two forms , and i want to access some values in first form
in second form how can i achieve this
 
G

Greg Collins [InfoPath MVP]

There is an XDocuments object. This is a collection of open forms. If you get the correct XDocument from that collection, you can manipulate it's DOM just as you can your own form's DOM.

If you opened the other form via NewFromSolution() or NewFromSolutionWithData() then you should already have a handle to the other form's XDocument because this object is returned from these two methods.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top