DBF USED()

From Lianjapedia
Jump to: navigation, search

PURPOSE

Is a table in use

SYNONYM

api_dbf_used()

SYNOPSIS

#include "lianja_api.h"
 
int	DBF_USED()
 
<input parameters>
none
 
<output parameters>
none

DESCRIPTION

The DBF_USED() function will return 1 if a table is in use in the current cursor, or 0 if no table is opened.

EXAMPLE

The following example checks if a table is opened in the current cursor.

#include "lianja_api.h"
 
lianjaapi_dbf_used()
{
    int	result;
 
    result = DBF_USED();
 
    _retl( result );
}

SEE ALSO

COMMAND(), DBF_ALIAS(), DBF_DBF(), DBF_ISEXCLUSIVE(), DBF_ISREADONLY(), DBF_SELECT()