Macro: NEWRECORD

Module location: FMAC line 8007 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: NewRecord {logicalName|fileNum}*n Description: Sets the record buffer to inactive while retaining all existing data (w/ exception of recnum which is 0ed) Parameters: logicalName: The name used to identify the file in a DataFlex program. fileNum: The number used to open the file. added as of 12.0 - This is the recommended way to "inactivate" a record so it can be saved as a new record. if recnum is used, this always moves 0 to recnum. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  VARIABLE_FILE_COMMAND $531 !1
  #IF (!0>1)
    NEWRECORD !2 !3 !4 !5 !6 !7 !8 !9
  #ENDIF