Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b>newrec() locate or append a new record</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NEWREC()    Locate or append a new record

 Syntax....: NEWREC()
 Parameters: none

 Returns...: <expL>: .T.
 Cautions..: assumes records are being cleared (ie. RECCLEAR() ) when they
             are DELETEd.  If they are being cleared, then they will
             appear at the top of the INDEX ( since the key is BLANK() ).
             This technique is much better than having to PACK to remove
             DELETEd records.
 CC Calls..: SETDELETED()
 Alias.....: none

 Example...: NEWREC()                  && instead of APPEND BLANK
             REPLACE  MYDVF->FLD1  WITH m->FLD1
             REPLACE  MYDVF->...

See Also: RECCLEAR

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