home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
prog
/
ks94an.arj
/
ISOPEN.HDR
< prev
next >
Wrap
Text File
|
1994-04-24
|
1KB
|
51 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_IsOpen( cDBFileName ) --> cOpenStatus
PARAMETERS:
cDBFileName : database name or alias
SHORT:
Determine USE mode of database for current or other application.
DESCRIPTION:
_IsOpen() determines if a specified database is open shared, open exclusively
or not open by the current application or any other workstation on a network
drive.
_IsOpen() returns:
"E" if the specified database is open exclusively by the current or another
application.
"S" if the specified database is open shared by the current or another
application.
"" (empty) if the specified database is not open at all.
NOTE:
EXAMPLE:
t = _IsOpen('TEST.DBF')
Result:
If TEST.DBF is already open exclusively elsewhere t = 'E'
If TEST.DBF is already open SHARED elsewhere t = 'S'
If TEST.DBF is NOT open at all, anywhere t = '' ( ie, empty() )
******************************************************************************/