Rules and Repeating Sections Question...

F

Frank J. Hannaford

I have a repeating section defined that includes a text
control governed by a rule that autopopulates the control
with the value found in another control that is part of
the 'main' form.

The first entry of data into the reating section works
fine...and the control I want 'autopopulated' contains the
value I want.

However, when I generate additional sections, the rule
governing 'autopopulation' doesn't work. I have tried
attaching the rule other ways, to other controls, but,
ivariably, I end up with the same problem.

Works for the initial repeating section, but no others.

Other rules attached to controls in the repeating section
appear to function as planned.

Is there some trick to using a rule that captures a value
for display in a control that is a member of repeating
section?

Advice / suggestions welcome.
 
G

Guest

Greg,
Rule is inside the repeating section. I will check the
XPath, as suggested.

Thanks for the advice.
Frank J. Hannaford
-----Original Message-----
Where is the rule located: inside, or outside of the
repeating section? If it is inside, you should just check
the XPath you are using for setting the field value. You
might need to use the current() function (details can be
found with a thorough search). If it is outside... how are
you choosing which row to update?
--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



I have a repeating section defined that includes a text
control governed by a rule that autopopulates the control
with the value found in another control that is part of
the 'main' form.

The first entry of data into the reating section works
fine...and the control I want 'autopopulated' contains the
value I want.

However, when I generate additional sections, the rule
governing 'autopopulation' doesn't work. I have tried
attaching the rule other ways, to other controls, but,
ivariably, I end up with the same problem.

Works for the initial repeating section, but no others.

Other rules attached to controls in the repeating section
appear to function as planned.

Is there some trick to using a rule that captures a value
for display in a control that is a member of repeating
section?

Advice / suggestions welcome.
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top