J
Jose Cebrian
Hia all:
I'm working with InfoPath 2003 SP1. I need to create a survey using
InfoPath, with "survey" i mean a set of pairs of questions and answers.
The problem is that the questions of the survey must be created dinamically
depending on the values of some fields.
So, my main Data Source has a repeting group that stores the couples of
questions and answers.
Something like this:
(Repeating Group) Items
ItemQuestion
ItemAnswer
To obtain at runtime the set of questions needed, i have created a secundary
connection to SQL and modified the "XDocument.DataAdapter.Command" to query
the values that i need.
The secundary connection can be as simple as this:
(Repeating Group) Questions
ItemQuestion
The problem is how to assign the values of the secundary data connection to
my primary. That is: for each (secundary.ItemQuestion --> main.ItemQuestion)
I have tried to program a rule that copy the field of the secundary to the
field of my primary, but this only copy the first record.
Can somebody please help me?
Thanks!
I'm working with InfoPath 2003 SP1. I need to create a survey using
InfoPath, with "survey" i mean a set of pairs of questions and answers.
The problem is that the questions of the survey must be created dinamically
depending on the values of some fields.
So, my main Data Source has a repeting group that stores the couples of
questions and answers.
Something like this:
(Repeating Group) Items
ItemQuestion
ItemAnswer
To obtain at runtime the set of questions needed, i have created a secundary
connection to SQL and modified the "XDocument.DataAdapter.Command" to query
the values that i need.
The secundary connection can be as simple as this:
(Repeating Group) Questions
ItemQuestion
The problem is how to assign the values of the secundary data connection to
my primary. That is: for each (secundary.ItemQuestion --> main.ItemQuestion)
I have tried to program a rule that copy the field of the secundary to the
field of my primary, but this only copy the first record.
Can somebody please help me?
Thanks!