Solved

Infopath 2007 Forms Parent-Child relationship

Posted on 2013-05-10
3
615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Infopath Decimals to Text String 10 1,710
Reset Drop-down list box in infopath with C# 2 1,878
Extract data from InfoPath XML 5 918
Sharepoint - Approval workflow question 1 104
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…
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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