# RECSIZE()

Returns the size of a single record in an active database.

Syntax

  RECSIZE() --> nBytes

Arguments

  None.

Returns

  <nBytes> The record size.

Description

  This function returns the number os bytes used by a single record in the currently selected or designated database file.If no database is in use in this work area,the return value from this function will be 0.

Examples

          USE Tests NEW
          DBGOTOP()
          RECSIZE()            // Returns 1
          DBGOTO(50)
          RECSIZE()

Status

  Ready

Compliance

  This function is Ca-Clipper compliant

Files

  Library is rdd

See Also

- DISKSPACE()
- FIELDNAME()
- HEADER()
- LASTREC()