Solved

Infopath 2007 Forms Parent-Child relationship

Posted on 2013-05-10
3
578 Views
Last Modified: 2013-05-15
Hello,

I want to design two form templates. Parent template has a repeating table with a button.
When user clicks the button Child template form opens up wher user can fill-in the data. When he saves/closes the child form some of the data from child form will be returned to a Parent Form. Is it possible to achieve something like this?
0
Comment
Question by:SBSAdmin2008
  • 2
3 Comments
 
LVL 28

Expert Comment

by:clayfox
Comment Utility
This can be done but would discourage it.
Are you familiar with views?  Typically you would have some secondary data connections and let the user navigate to the record they want. Then the button queries the selected record and switches to the detail view. Then on submit it switches back to the browse view.

otherwise the trick with multiple forms is passing variables, the record ID, to the second form and will require code.

is this a database form?
0
 

Author Comment

by:SBSAdmin2008
Comment Utility
No. I have bound a form to XML data. It is not a browser enabled.

Actually a child form is a Quote for each part and Parent form represents an Assembly. So What I want to do is from parent from User can add parts and then for each part he can create the Quote. When child Quote is saved/submitted it passes summary back to parent form and display on the table. Is that possible with Views? If not I am ready to code to achieve this

Thank You!
0
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
Comment Utility
I would think if all of the data is XML that you should be able to do it with views but am not familiar.

I think www.infopathdev.com has some code examples for launching a form and passing variables with the XDocument function.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now