Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>isdbt()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ISDBT()

Syntax:     ISDBT()

Returns:    A logical value.
            The function will return a (.T.) if a database has a memo file.

Usage:      To determine if the database has an associated memo file
            in order, for example, to PACK it.

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   USE afile
            IF  ISDBT()
               * Copy the data in order to make the memo
               * file smaller.
               COPY TO temp
               CLOSE DATABASES
               DELETE afile.dbf
               DELETE afile.dbt
               RENAME temp.dbf TO afile.dbf
               RENAME temp.dbt TO afile.dbt
            ENDIF



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