Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>isdbt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ISDBT()
 Determines if a memo file (.dbt) is present
------------------------------------------------------------------------------
 Syntax

     ISDBT() --> lPresent

 Returns

     ISDBT() returns .T., if a database has a memo file associated with it.

 Description

     ISDBT() determines if a database has a memo file associated with it, and
     allows you to compress that memo file.

 Example

     If the database has a memo file, the database is copied to minimize the
     memo file:

     USE DATA
     IF ISDBT()
        COPY TO TEMP
        CLOSE DATABASES
        DELETEFILE("DATA.DBF")
        DELETEFILE("DATA.DBT")
        RENAMEFILE("TEMP.DBF", "DATA.DBF")
        RENAMEFILE("TEMP.DBT", "DATA.DBT")
     ENDIF


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