Solved

Infopath 2007 Forms Parent-Child relationship

Posted on 2013-05-10
3
605 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
ID: 39155653
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
ID: 39155859
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
ID: 39155946
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

756 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