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>set deleted</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET DELETED


Syntax:     SET DELETED on/OFF/(<expL>)

Purpose:    To toggle automatic filtering of records marked for
            deletion.

Usage:      When SET DELETED is ON, most commands ignore deleted
            records.  If, however, you refer to a record by record
            number (GOTO or any command that supports the RECORD scope)
            the record is not ignored even if marked for deletion.
            Additionally, SET DELETED ON has no affect on INDEX and
            REINDEXing.

            RECALL ALL, however, honors SET DELETED and does not recall
            any records.

Library:    CLIPPER.LIB


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

   USE Sales
   ? LASTREC()          && Result: 84

   DELETE RECORD 4
   COUNT TO num
   ? num                && Result: 84

   SET DELETED ON
   COUNT TO num
   ? num                && Result: 83


See Also: DELETE RECALL SET FILTER DELETED()

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