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 / August 2007

Tip: Looking for answers? Try searching our database.

Setting InfoPath Secondary Data Source Parameter to Main Data Source (xpath) Value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
phatmike11@earthlink.net - 15 Aug 2007 15:48 GMT
I have an infopath form that I need to set the secondary datasources
value at runtime. The value should be set to a value that is always in
the main datasource when the form opens for the first time. I have
tried modifying the datasource and changing the set value... to the
xpath of the main datasources value but it simply passes the xpath
string (/a:b/A:c/A:d) into the web service not the value contained
within it. I want this to be set when the form loads because there a
multiple sections that require the parameter to be there or they will
be blank. The web service simply takes in an ID number and returns the
record with the corresponding ID. All data on the infopath form is
populated with this single parameter. I tried setting my section
control rule to query the service. However, you can't set this value
there either. Any help would be much appreciated.

The basic question is there a way to set the parameter to a web
service in a secondary data source based on the value of an xpath in
the main datasource out of the box?  If not any code sample to point
me in the right direction would be much appreciated.
Clay Fox - 17 Aug 2007 02:05 GMT
I would recommend you check out the Database Accelerator Web Services Suite.
It may be useful to you instead of building web services fom scratch but also
there are support tutorials which show how to pass parameters to the
webservices which may be what you need.
http://www.qdabra.com

Signature

Thanks

Clay Fox

Qdabra Software
http://www.qdabra.com

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

> I have an infopath form that I need to set the secondary datasources
> value at runtime. The value should be set to a value that is always in
[quoted text clipped - 14 lines]
> the main datasource out of the box?  If not any code sample to point
> me in the right direction would be much appreciated.
 
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.