Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

Autofill data from one form to another

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gsn9877 - 04 Feb 2008 22:00 GMT
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!

Clay Fox - 05 Feb 2008 01:06 GMT
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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.