FILEFLEX API REFERENCE



NAME
DBPack -- Delete marked records and compact the database

SYNTAX
DBPack()

CATEGORY
Updating Information

DESCRIPTION
THIS FUNCTION HAS CHANGED IN FILEFLEX 3.0

When you are certain that you want to delete all marked records (for example, at the end of a day or processing session), call the FileFlex function DBPack. It takes no arguments and physically removes all marked records from the database, compacting the file when it has done so. This makes recovery of deleted records impossible. It's also relatively slow.


EXAMPLE
put DBPack() into dbResult

NOTES
FileFlex now optimizes memo files associated with the packed database. In previous versions, when a record was deleted in a memo file, the data was retained in the file. The current performance is yet another benefit from the conversion from the dBASE III format of FileFlex 2 and earlier to the FoxPro format of FileFlex 3.

SEE ALSO
DBZapRecs, DBDeleteRecs

INTERNAL FUNCTION NUMBER
18


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender