Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Item Number in Dynamic Table Quirk

Avatar

Level 2

I'm a new LC user, ramping up to speed on this package, thanks to everyone for the useful information here and other places.

Using the great advice and info here,

http://www.assuredynamics.com/wp-content/uploads/2010/11/Assure-Dynamics-Building-dynamic-tables.pdf

I added a dynamic table to a form I've been working on.  Most everything works, except the caption on the Row/Item number.  So, I yanked out the subform with the table on it to create a simpler copy of the form to post here.  Get this...  it works on the simple form.  So, there's something going on on my not so simple form that is preventing my Row/Item number from working. 

I'm hoping that if I post both forms here, someone can help me fix this thing.

this is the form that works:

http://inthequeue.com/adobeLC/Template_excerpt.pdf

this is the form that does not work:

http://inthequeue.com/adobeLC/Template_std.pdf

Thanks in advance

John Q.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi John,

Try changing the code in the layout:ready event from;

this.caption.value.text = (this.parent.index + 1).toString();

To;

this.caption.value.text.value = (this.parent.index + 1).toString();

That is add another ".value".

Your form that works targets Reader 8.0 or later and the one that doesn't Targets Reader 9.0 or later, I'm guessing that is the difference.

Regards

Bruce

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Hi John,

Try changing the code in the layout:ready event from;

this.caption.value.text = (this.parent.index + 1).toString();

To;

this.caption.value.text.value = (this.parent.index + 1).toString();

That is add another ".value".

Your form that works targets Reader 8.0 or later and the one that doesn't Targets Reader 9.0 or later, I'm guessing that is the difference.

Regards

Bruce

Avatar

Level 2

Thanks Bruce, that did the trick, and I doubt I would have ever found it.