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


Syntax:     ZAP

Purpose:    To remove all records from the current database file.

Usage:      ZAP is the same as DELETE ALL followed by PACK, but is much
            faster.  Current index or memo files are also ZAPped.

Network:    To ZAP in a network environment, the current database file
            must be USEed EXCLUSIVEly.

Library:    CLIPPER.LIB


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

   USE Sales
   ? LASTREC()                 && Result: 84

   COPY TO Archive
   ZAP
   ? LASTREC()                 && Result: 0



See Also: CLEAR DELETE PACK

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