cancel
Showing results for 
Search instead for 
Did you mean: 

how to get row count in different page

Former Member
0 Kudos

i have a requirement in which i need to check internal table row count in different page of adobe form

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jitendra,

Store the row count of the table into a local variable in adobe form using java script and then locate the variable in another page in which you have to display the value and add java script to pass that value.

Add the following code after selecting table element for getting row count of table in adobe form:

var rowcount;

rowcount = Tablename.all.length;

Add the following code to pass this value into a variable(lets say formfield) in another page:

     First navigate to this variable and then assign the value.

page.subform.formfield.value = rowcount.value.

Regards,

Mahidhar suggala.

Former Member
0 Kudos

i try to use

rowcount = Tablename.all.length;

but its always null

Former Member
0 Kudos

Hi Jitendra,

Please use rowcount.rawValue = Tablename.all.length;

Regards,

Mahidhar.