Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_isdbt() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_ISDBT()

 DESCRIPTION

 The C_ISDBT() function is used to determine if a database file has
 an associated DBT file (memo file).

 NOTES

 The file to check should be closed before calling this function.

 SYNTAX

 C_ISDBT(dbf_name [,network])

 PARAMETERS

 dbf_name (C) is the name of the database file, including extension,
 to check for the association of a DBT file.  A drive and directory
 name may also be specified with the database file name.  Note that
 C_ISDBT() only searches the current drive and directory for the
 specified database file.  If the database file is in another drive
 and/or directory the complete path name must be explicitly
 specified.

 network (L) indicates whether or not the program is running on a
 network.  If the program is running on a network pass true (.T.) so
 the file can be opened with the proper share access, otherwise pass
 false (.F.).  If network is not specified, the default of false
 (.F.) is used.

 RETURNS

 C_ISDBT() returns true (.T.) if the specified database file has an
 associated DBT file, or false (.F.) if it does not.

 EXAMPLES

 dbfname = "TEST.DBF"

 if c_isdbt(dbfname)          && If database has a DBT file,
   c_setdbt(dbfname, .f.)     && disconnect DBT file
 endif
 ...
 ...
 ...
 if c_isdbt("c:\files\main.dbf")         && If database has a DBT file,
   c_setdbt("c:\files\main.dbf", .f.)    && disconnect DBT file
 endif


See Also: C_SETDBT() C_ISDBF() C_HANDLES() C_SETHANDLES() C_SECURE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson