[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
V_APPEND()      Adds a blank record in a shared database

Description:
  Adds a blank record to the currently selected database or notifies
  user if unsuccessful.


Syntax:     
  V_APPEND()


Pass:       
  Nothing


Return:     
  <expL>  = .T. if successful, otherwise .F.


Notes:      


Example:    
  DO WHILE whatever
     IF .NOT. V_APPEND()
        ac_msg[1] = "Unable to add a blank record"
        ac_msg[2] = "Operation aborted"
        DISPMSG(ac_msg,2,"","")
        INKEY(5)
        EXIT
     ENDIF
     .
     .
     .
  ENDDO
  .
  .
  .


Usage:      
  V_APPEND() will try to append a blank record to the currently selected
  file.  If it is unsuccessful, a non-screen destructive message stating
  "Waiting for busy network.  Press any key to abort."  will appear on
  the screen and V_APPEND() will endlessly attempt to append a blank
  record to the currently selected database.  If the user aborts the
  operation by pressing a key, V_APPEND() will return a logical value of
  false, it's your job as the programmerr to abort the operation and
  recover properly.

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson