Difference between revisions of "DBF USED()"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision)
(No difference)

Revision as of 06:34, 11 April 2013

PURPOSE

Is a table in use

SYNONYM

api_dbf_used()

SYNOPSIS

#include "lianjaapi.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 "lianjaapi.h"
 
lianjaapi_dbf_used()
{
    int	result;
 
    result = DBF_USED();
 
    _retl( result );
}

SEE ALSO

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