Solved

Infopath 2007 Forms Parent-Child relationship

Posted on 2013-05-10
3
633 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

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…
With the rising number of cyber attacks in recent years, keeping your personal data safe has become more important than ever. The tips outlined in this article will help you keep your identitfy safe.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

630 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