Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2006

Tip: Looking for answers? Try searching our database.

Master-Detail View with XML datasource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PR - 20 Apr 2006 17:28 GMT
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
Greg Collins [InfoPath MVP] - 20 Apr 2006 19:33 GMT
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
Thanks again !
Priya - 20 Apr 2006 21:57 GMT
Thanks again !
Priya - 20 Apr 2006 21:57 GMT
Thanks again !
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.