Returns the total number of records in the table open in the specified work area.
Syntax
long _DBRecCount(int workarea)
int workarea; /* Work area. */
Remarks
If no table is open in the specified work area, _DBRecCount( ) returns a negative integer whose absolute value is a Visual FoxPro error number.
For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.