Macro: OLD_RELATE

Module location: FMACDD line 7443 (view source)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: RELATE {fileNum|logicalName}*n Description: Moves all related fields into the parent files and then performs a find in the parents using the main index of the first (or primary) related field for each parent. Parameters: logicalName: The name used to identify the file in a DataFlex program. fileNum: The number used to open the file. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

  #IFDEF !1
    !A [] $C4 !1
  #ELSE
    #CHECK !1.RECNUM _CVWLR#GU
    !A [] $C4 !1.RECNUM
  #ENDIF
  #IF !0>1
    OLD_RELATE !2 !3 !4 !5 !6 !7 !8 !9
  #ENDIF