Printing Master-Detail

E

Ed Richard

Hi all,

I created an Infopath form that shows all data available in a Sharepoint
Meeting workspace.

We have changed it a bit so that we have agenda-items and descision items
and task related to the agenditems by using a lookup field into the agenda
list.
I can display that nicely in Infopath by setting the Agendaitems as Master,
and descision and tasks as details. Interactively that works nice, you only
see the descisions and task for the AgendaItem that you select.
However I now need to make a print view showing _ALL_ Descisions and Tasks
grouped by AgendaItem and I can't figure out how to do that.
Any suggestions?

TIA,
Ed
 
E

Ed Richard

One more detail, the data is not related in the XML, I create the master
detail by setting this manually on the controls. The datasource jst contains
three seperate lists.

Ed
 
V

virgul

Why you don't do another view with a reapeating section and so when its
populate infopath put automatically all agenda and decisions. And you have
just to press print
 
E

Ed Richard

Infopath doesn't do this automatically because there's no relation between
Agenda and Tasks in the XML. I can set it using Master Detail but that only
prints the data that is selected at that time.

Ed
 
B

Brian Teutsch [MSFT]

This is a hard one. I think you will have to do some hard work to duplicate
the "filters" that master/detail utilized. In the print view, you'll want to
use a repeating section. Inside each of those sections, put the details
repeating section, but use a filter to show only the items that are linked.
If you're using a position, I'm not positive what to suggest, but if you're
using an index, this will help you out:
http://blogs.msdn.com/infopath/archive/2004/09/13/228881.aspx.

Sorry this isn't straightforward, but I think it should be possible.

Brian
 
E

Ed Richard

Thanks Brian, I figured I was headed in that direction.
Luckely I've got control over the Web Services side too so I decided to
change the returned DataSet into a nested one which is much easier to
handle.
But thanks for the link to the bLog, I will certainly find anther use for
the current() function in the near future.

Ed Richard
 

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