Macro: OLD_REFRESH

Module location: FMACDD line 7485 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: REREAD {fileNum|logicalName}*n Description: Locks all files and then re-finds the current record in each file specified as an argument to the command. If no files are specified, then all files are reread. Parameters: logicalName: The name used to identify the file in a DataFlex program. fileNum: The number used to open the file. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Re-find all files listed by record identity

  #CHECK !1.RECNUM _RUWG
  !A [] $C0 !1.RECNUM |CI2         // FIND command
  !A [FINDERR] $047 |CI25 |CS"!1" // ERROR command
  #IF !0>1
    OLD_REFRESH !2 !3 !4 !5 !6 !7 !8 !9
  #ENDIF