DBCount -- Count total records in database |
DBCount() |
Navigating the Database |
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. |
put DBSelect(databaseID) into dbResult put DBCount() into numRecs |
DBCountMatches, DBSum, DBAverage |
19
|