A good way to do it is to create a secondary data source, can be just a simple XML file with a single field in it. This field would store a key piece of data needed to filter the detail view--something like an ID or a row number, etc.
Then in the detail view, add a filter using this secondary data source value.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.BrainTrove.com
Visit http://www.InfoPathDev.com
Hi All
I have two views, namely master and detail. The master view shows the
content of a PO . The detail View will get launched upon clicking a
button present in a repeating table control that shows the order line
item details. The detail view will give complete description and other
details of the item selected. I have used a custom XSD as the
datasource. This xsd cannot be modified.
I do not know how to show the details of only the item whose button is
clicked in the detail view. How can I filter out the content? Any help
is appreciated.
Thanks
Priya
Priya - 20 Apr 2006 21:17 GMT
Thanks! A simple and easy solution.
I have another question
There are 3 attributes (Descrip1, Descrip2, Descrip3) in my xml schema
that I have to concatenate and bind to a single Description text
control. How can I do this?
Thanks again
Greg Collins [InfoPath MVP] - 20 Apr 2006 21:21 GMT
Create a default value formula on Description that is something like (I add spaces between each word):
concat(@Descrip1, " ", @Descrip2, " ", @Descrip3)

Signature
Greg Collins [InfoPath MVP]
Visit http://www.BrainTrove.com
Visit http://www.InfoPathDev.com
Thanks! A simple and easy solution.
I have another question
There are 3 attributes (Descrip1, Descrip2, Descrip3) in my xml schema
that I have to concatenate and bind to a single Description text
control. How can I do this?
Thanks again
Priya - 20 Apr 2006 21:57 GMT
Priya - 20 Apr 2006 21:57 GMT
Priya - 20 Apr 2006 21:57 GMT