Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

PACKFILE( _alias [, _filename [, _reopen ]] )

Purpose

Remove all deleted records from .dbf and .dbt if it exists.

Arguments

     _alias -- alias of the table to pack

     _filename -- if passed, the actual name of the dbf

     _reopen -- if passed, whether to reopen, else .T.

Setup

In multi-user mode, the caller must establish exclusive use of the file
before calling PACKFILE().

Example

     PACKFILE( "CURMONTH", "JANUARY" )

Returns

.T. if successful, else .F.

Side Effects

Indexes are recreated if the dictionary is open, otherwise not.

Artful Calls

DICTFIND, MCOUNT, MSG, IS_OPEN, GET/SET_FILTER, DB_OPEN, STAT_LINE, STRINT

Source Files

AA_PACKM.PRG, AM_PACKM.PRG

See Also: PACKDICT() CHK_DICT()

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