B
BowieM
Hi,
The question "Can an XML file be used as the master-detail relationship?"
was posed by "rhrempel" to which "S.Y.M Wong-A-Ton" responded.
In their exchange both spoke about setting up the XML correctly for
"master-detail"
relationship to work in InfoPath.
My question is how do you "correctly" define the XML? Does it mean that I
have to repeat the master key field in the detail portion of the XML?
Basically what I want is to be able to recall master-detail information that
was saved in SQL Server back into an InfoPath form so that it can be updated.
I use Web Services to interact with SQL Server. Once I return the data set it
is available to me InfoPath but I need a means of populating the detail
repeating section each time the master is altered.
Here is a snippet of an XML that I am using:
----
<report>
<department>A</department>
<departpmemtn>
<introductions>
<introduction seq=1.0>texttextext</introduction>
<introduction seq=2.0>texttextext</introduction>
<introduction seq=2.0>texttextext</introduction>
<introductions>
<issues>
<issue seq=1.0>texttextext</issue>
<issue seq=2.0>texttextext</issue>
<issues>
</report>
--
I need to relate the department to the introductions and the issues. In the
form, I have a list of department that when selected must display al the
introductions and the issues stored in this XML in two separate repeating
tables. How do I link the master table containing the list of departments to
the detail table(s)? Do I have to add the department field in the form (and
the XML) ?
Regards,
Bowie M
The question "Can an XML file be used as the master-detail relationship?"
was posed by "rhrempel" to which "S.Y.M Wong-A-Ton" responded.
In their exchange both spoke about setting up the XML correctly for
"master-detail"
relationship to work in InfoPath.
My question is how do you "correctly" define the XML? Does it mean that I
have to repeat the master key field in the detail portion of the XML?
Basically what I want is to be able to recall master-detail information that
was saved in SQL Server back into an InfoPath form so that it can be updated.
I use Web Services to interact with SQL Server. Once I return the data set it
is available to me InfoPath but I need a means of populating the detail
repeating section each time the master is altered.
Here is a snippet of an XML that I am using:
----
<report>
<department>A</department>
<departpmemtn>
<introductions>
<introduction seq=1.0>texttextext</introduction>
<introduction seq=2.0>texttextext</introduction>
<introduction seq=2.0>texttextext</introduction>
<introductions>
<issues>
<issue seq=1.0>texttextext</issue>
<issue seq=2.0>texttextext</issue>
<issues>
</report>
--
I need to relate the department to the introductions and the issues. In the
form, I have a list of department that when selected must display al the
introductions and the issues stored in this XML in two separate repeating
tables. How do I link the master table containing the list of departments to
the detail table(s)? Do I have to add the department field in the form (and
the XML) ?
Regards,
Bowie M