Using the Chain Separator and Line Separator

How to:

The chain separator and line separator options allow for chains and parameters to be grouped or split depending on which settings are turned on. When used, the two separators do the following:

Chain separator. When Start each chain on a new line is on, this separator creates new chain groups on new lines. When Start each chain on a new line is off, this separator starts a new chain wherever it is placed in the New Parameters dialog box. The controls are positioned in one row and wrap at the end of the form.

Note: Start each chain on a new line is turned on by default. This option can be found in the Form settings dialog box.

Line separator. This separator creates a line break wherever it is placed.


Top of page

x
Procedure: How to Use the Chain Separator and Line Separator

To use the chain separator and line separator:

  1. Create a new procedure that uses the CAR Master File and prints COUNTRY, CAR, MODEL, BODYTYPE, SEATS, and SALES.
  2. Save the procedure, naming it separator_example.fex.
  3. Create a new HTML file.
  4. Insert a new report.
  5. Right-click on the report and select Reference existing procedure, as shown in the following image.

  6. Select the previously created procedure, separator_example.fex, and click Open.

    The New Parameter dialog box opens, as shown in the following image.

  7. Check the Auto chain controls in above specified order option.
  8. Move Line Separator above SALES.

    A copy of the line separator is moved up while the original stays in the starting position. This is so you can add multiple line separators.

  9. Move Chain Separator above MODEL.

    A copy of the chain separator is moved up while the original stays in the starting position. This is so you can add multiple chain separators.

    The New Parameters dialog box will look like the following image.

  10. Click OK.

    The report is added to the HTML page. COUNTRY and CAR are on the first line and make up one chain. MODEL, BODYTYPE, and SEATS are on the second line, while SALES is on a separate, third line. MODEL, BODYTYPE, SEATS, and SALES make up a second chain.

    The parameters are shown in the following image.


WebFOCUS