Can i drill down from one form into another?

R

Rob Edwards

I am looking for a way to link two infopath forms together. For example, I
have a form that has 300 entries in a repeating table. I have another form
that has a summary of the data from the first along with other forms. I'm
looking for a way to have the user click a button on the summary form and
open the 300 item form from within infopath.

What i have so far is that i could trigger the
Application.XDocuments.Open(urlToXmlFile) command, but that requires the user
to know the full URL to the Xml File in the Library. Is there another way I
could get a link to an existing form on the server? As it is, I would
probably have a button that the user could click to set a link to the xml
file and then a button open the form.

Any ideas/suggestions?
 
C

Clay Fox

Typically you would just have a second view in your form. Put a button on
each row which selects that row and switches to the other view which displays
the details.

You can also create a master detail form.
--
Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
 
R

Rob Edwards

Not quite what I'm looking for. The master form will only store data about
that form in XML and links to the subforms. The subforms would have their
own set of data and XML for each one of them. A view wouldn't work in that
situation.

Thanks though,

Rob
 
C

Clay Fox

OK.
One action you can put on a rule is to open another form from a button
selection. You can also pass variables from one to the other via code or I
have also had a flag field in my data that I write to with the first form and
then the second form uses the flag to know which record to detail.
--
Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

InfoPathDev.Com
The Largest InfoPath Forum in the World
http://www.infopathdev.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top