Enabling Generation of Joins for an Application
Joins are enabled by placing a statement in a program-specific configuration file.
To enable a join
- Open the program-specific configuration file for editing:
%LAWDIR%\productline|dataarea\xxsrc\xxnnn.cfgwhere the following parameters apply.
Parameter Description productline|dataareaThe product line or data area that contains the program you want to enable joins for. xxnnnThe program code, where xx is the two-letter system code abbreviation, and nnn is the numeric portion of the program code. - Add the following line to the file:
JOIN=FileName.IndexName(RelationName.0)[; (RelationName.0) ... ]where the following parameters apply.
Parameter Description FileNameThe table you want to enable joins for, as defined in dbdef. IndexNameThe index that is used to access data from the primary file (FileName). RelationNameThe relationship that is used to access data from the joined file as defined in dbdef.