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

MZAP( cDbfname )

Purpose

Multi-user only. ZAP a DBF in a multi-user environment.

Arguments

     cDbfname -- name of DBF to zap

Setup

File must be open and selected.

Example

     IF MZAP( "DSTATS" )
        POP_MSG( "DSTATS now purged of its sins." )
      ENDIF

Returns

.T. if successful, otherwise .F.

Side Effects

Removes all records if successful.

Artful Calls

DB_OPEN(), XCOUNT()

Source File

AM_MZAP.PRG

Notes

If the function cannot obtain exclusive use of the file, it cannot zap.

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