RDD

RecSize()

Return the record length

Syntax

Signature
RecSize() --> nBytes

Arguments

None.

Return value

Record length in bytes.

Description

RecSize() returns the byte length of one database record.

Notes

With no open area it returns zero.

Example

RecSize.prg
PROCEDURE Main()

   DbUseArea( .T., , "people.dbf", "People" )
   QOut( "Record bytes: " + LTrim( Str( RecSize() ) ) )
   DbCloseArea()

RETURN

Output

See also