FILEFLEX API REFERENCE



NAME
DBCount -- Count total records in database

SYNTAX
DBCount()

CATEGORY
Navigating the Database

DESCRIPTION
To count the number of records in the current database file, you can use the FileFlex DBCount function. Since it operates only on the current database, you must first call the DBSelect function to make the desired database current if it is not already. The first line in the example below makes the selected database current. The second line will then return the number of records in the database file.

EXAMPLE
put DBSelect(databaseID) into dbResult
put DBCount() into numRecs

SEE ALSO
DBCountMatches, DBSum, DBAverage

INTERNAL FUNCTION NUMBER
19


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender