These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Is there a way loop through a table or find the count of table programatically.

amadhani
Registered: Mar 21 2011
Posts: 2

I have a dynamic table that eventually will be looped through to do some data validation. Could someone provide a looping script or a script that counts the total rows for a table which I could use in a variable and loop through a table? Thanks
 

My Product Information:
LiveCycle Designer, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Have you tried the 'length' property or the 'count' function?

You may need to refresh the table by using the 'resolveNode' method before using the length property or count function.

George Kaiser

amadhani
Registered: Mar 21 2011
Posts: 2
Thanks for the response.

I'm running into an error

Here's my code :

textobject = mytable.instanceManager.count;

Invalid property set operation; value doesn't have a default property