Returns the number of bytes in a record of a table.

Syntax

RECSIZE([<alias>])

<alias>

The work area you want to check.

Description

RECSIZE( ) returns the number of bytes in a record of a table in the current or specified work area. If no table is open in the specified work area, RECSIZE( ) returns a value of zero.

LIST STRUCTURE and DISPLAY STRUCTURE also show the size of a table's records.

OODML

Use a loop to add up the length properties of the Field objects in the fields array.