FATS - Fast Access Tree System
Table of Contents
List of Commands
"T" Get # Of Records

"T" Get # Of Records


Command string:

CMND$ = "T\{FileNo}"

FileNo File number

Purpose:

Returns the number of records in the data file.

Description:

This command returns the entire number of data records in the variable "RECNO". This value contains also deleted data records, which are reused with later Insert Record (I) commands. To determine the number of active records, subtract the value returned by the  Get # Of Deleted Records (U) command.

Parameters returned:

ERRORCODE:Errorcode or 0 (no error)
RECNO:The number of records
FATSKEY:Undefined

Example:

CMND$ = "T\1"

See also:

 "H" Get # Of Primary Keys; page 4-36
 "M" Get Key Length; page 4-48
 "U" Get # Of Deleted Records; page 4-77


 

© 2008  GCS Software, Udo Gertz