R
redbastid
Hi!
I am retrieving a dataset from a webservice as my main data source for
an infopath form. I added a button to the repeating table that
displays the data, and when clicked, I want it to either:
a) open a new infopath form using an XML string that is in the dataset
as a field, or
b) display the XML string that is in the dataset as a field on a form
in an alternate view in the same infopath form.
I am having problems retrieving the specific values from the row on
which the button was placed. I can use a pair of rules to set a couple
of nodes I appended to the schema and set some text boxes to their
values, but displaying the XML in a text box is not what I want. I
can't seem to set anything other than an element with a rule.
So, my question is: Given a dataset with ColA, ColB and ColC, how can I
get the specific value of ColB on the row where the button was clicked?
And, given that these forms will be served off a web server, should I
use the alternate view to display the row's XML data field content, or
spawn another form?
Many thanks for any help you can provide in this urgent matter!
I am retrieving a dataset from a webservice as my main data source for
an infopath form. I added a button to the repeating table that
displays the data, and when clicked, I want it to either:
a) open a new infopath form using an XML string that is in the dataset
as a field, or
b) display the XML string that is in the dataset as a field on a form
in an alternate view in the same infopath form.
I am having problems retrieving the specific values from the row on
which the button was placed. I can use a pair of rules to set a couple
of nodes I appended to the schema and set some text boxes to their
values, but displaying the XML in a text box is not what I want. I
can't seem to set anything other than an element with a rule.
So, my question is: Given a dataset with ColA, ColB and ColC, how can I
get the specific value of ColB on the row where the button was clicked?
And, given that these forms will be served off a web server, should I
use the alternate view to display the row's XML data field content, or
spawn another form?
Many thanks for any help you can provide in this urgent matter!