I have a form that captures name and address information. As part of this
form, I have a button that opens another document. It also requires the same
name and address information. Is there a way for the 2nd form to
auto-populate the information from the original form?

Signature
Learning something new is an adventure we can all participate in!
With code you can pass values between two InfoPath forms.
Or you can launch the second form and pass variables via the command script.
I believe there is a sample on http://www.infopathdev.com
Or you can save the data to a backend database and then have the second form
retrieve it from there. So a data source could be used to share the
information between multiple forms. An XML file could be used as well.

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> I have a form that captures name and address information. As part of this
> form, I have a button that opens another document. It also requires the same
> name and address information. Is there a way for the 2nd form to
> auto-populate the information from the original form?
gsn9877 - 05 Feb 2008 14:02 GMT
Thanks Clay.
I don't know much about code, so I think I'll try the database option.

Signature
Learning something new is an adventure we can all participate in!
> With code you can pass values between two InfoPath forms.
>
[quoted text clipped - 9 lines]
> > name and address information. Is there a way for the 2nd form to
> > auto-populate the information from the original form?
Clay Fox - 05 Feb 2008 15:37 GMT
Sounds good.
1 question are you sure you need two forms?
2 question if you just need to identify the user and complete some of their
information, you may be interested in an Active Directory web service. With
that you could codelessly query AD and both identify each user and return
their address, manager, email, location, etc from Active Directory.
Just an idea.
You can investigate one here.
http://www.qdabra.com/proddetail.asp?prod=QADWS

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> Thanks Clay.
>
[quoted text clipped - 13 lines]
> > > name and address information. Is there a way for the 2nd form to
> > > auto-populate the information from the original form?