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 / August 2004

Tip: Looking for answers? Try searching our database.

Updating Secondary Data Source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
oakridge - 13 Aug 2004 13:29 GMT
What is the proper methodology or where are there examples on how to update a
secondary data source from the form?  The purpose of the secondary data
source is to populate vendor information but the user of the form will also
need to add in additional or update vendor information when completing the
form.
Greg Collins [MVP] - 13 Aug 2004 17:19 GMT
You can write code to save out the the updated data to the .xml file or database. You're secondary data source cannot be part of the .xsn file or this will never work.

Another option is to have a button in the view that launches another form. That other form's main data source is the first form's secondary data source -- thus you can update the file. The only problem you have with this is you need to communicate back to the first form when an update is made to force it to update the secondary data source info. It's a lot of work, but with a bit of research, a few bumps and bruises and, and some steady persistance, it can be done this way.

Sorry I don't have examples of either approach.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

What is the proper methodology or where are there examples on how to update a
secondary data source from the form?  The purpose of the secondary data
source is to populate vendor information but the user of the form will also
need to add in additional or update vendor information when completing the
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.