The receive data connection you created becomes a secondary data source (see
list of data sources in Data Source pane). The "form field" you are referring
to is not in the Main data source, but in a secondary data source of your
form.
What you can do is set the value of the field that you need to pass to the
web service in the secondary data source for the web service. And then when
you do a query on this secondary data source, the value you set will be
passed on to the web service.
You can set the value of the field in the secondary data source using either
rules or code.
---
S.Y.M. Wong-A-Ton
> When creating a new data connection to receive data from a web
> service, if that web service requires a passed parameter in order to
[quoted text clipped - 12 lines]
> contents by telling it to use a field's value for the parameter,
> rather than simply typing it in ahead of time?
Paul - 06 Jun 2007 20:29 GMT
Hi,
Are there any step-by-step "how to's" for doing this? I'm very new to
InfoPath 2007 and this is exactly what I need to achieve, its just a little
vague without an example or two.
Thanks in advance,
Paul
> The receive data connection you created becomes a secondary data source (see
> list of data sources in Data Source pane). The "form field" you are referring
[quoted text clipped - 27 lines]
> > contents by telling it to use a field's value for the parameter,
> > rather than simply typing it in ahead of time?