Detail Tables

I need to be able to count the number of lines in a detail table. When I look at the Data Model, I can see that my detail table “address” has 8 lines of information. How am I able to get this information? It seems that the metadata feature is not available for tables.

Thanks for any help.

C

Hello Cecile,

You can get this throught the use of scripts. For example to get the number of detail lines you would do:

record.tables.detail.length

This gives you the number of “rows” in that table. You could loop through those rows also in javascript using for loops if necessary, but if all you need is a count (for instance, to show at the top of a table) than this should be sufficient.

Thank you very much! This worked!