int fileType(cdbfapiPlus* handle);
Function fileType() returns type of a dbf file.
- 0 - dBase III
- 1 - FoxPro
- 2 - dBase IV
- 3 - Visual FoxPro
- 4 - SMT
- 5 - dBase Level 7
Function filetypeAsText() returns it as a string.
char* filetypeAsText(cdbfapiPlus* handle);
{
// your code
printf( "Type = %ld, %s\n", fileType(dbf), filetypeAsText(dbf) );
// your code
}