=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 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. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= see Old_open command for notes on this removal #COMMAND OLD_RELATE CVWR#LGR $c4 is not public anywhere now. It only works with recnum (e.g. |fnXxxx,00). If anyone one is actually using $c4 in their code (highly unlikely) this will only work with recnum tables #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 #ENDCOMMAND
VARIABLE_FILE_COMMAND $515 !1 #IF !0>1 API_RELATE !2 !3 !4 !5 !6 !7 !8 !9 #ENDIF