Filtering data to be included in a view

M

Matt

I'm hoping and guessing that this is a really easy problem to solve.

FYI, I don't have SP1 installed yet. Maybe that's the solution.

Also, in this scenario, I'm using an infopath form for more of a reporting
solution than a data submission solution. And I've simplified my scenario
quite a bit.

On load, I'm autopopulating my DOM from a secondary data source. I have
views that I've designed heirarchically to burrow down from a list of items
into their details, and I can't figure out how to display only the subtree of
the DOM that I want to look at.

Here's what my data source basically looks like:
<data source>
<item maxOccurs="unbounded">
<itemName/>
<itemDetails/>
</item>
</data source>

My topmost view ("Item List View") consists of a repeating section bound to
"item". The repeating section consists of a read-only "itemName" textbox and
a button to view the details of that item. When clicked, the button switches
to the "Item Detail View" which should display "itemName" and "itemDetails".

My problem is that I want the "Item Detail View" to display only the
"itemName" and "itemDetails" of the item whose corresponding button I just
clicked. As it is now, it shows every single "itemName" and "itemDetails" in
the DOM.

Can anyone point me in the right direction?
 
A

Alex [MSFT]

Try using a Master / Detail control - you'll need InfoPath SP1.
Alternatively, you might want to try filtering.
 

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