Solved

Infopath 2007 Forms Parent-Child relationship

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

914 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

19 Experts available now in Live!

Get 1:1 Help Now