2.4 Data Blocks

This topic provides systematic instructions to create Data Block.

  1. Under Function Generation screen, right-click the Data Block and select Add option to create the new data block.
    The Add Block window displays.
  2. Specify the Block Name field and click Ok.
    Block Name should start with BLK_. The Block Name should be short and equivalent to a data source but not the same as DataSource Name.
    The new DataBlock gets created and Block Properties screen displays.

    Figure 2-12 Providing properties for Data Block



  3. Select Parent block if added block is not Master Block.
  4. Select Multi Record field as Yes/No based on Master Block value.
    Available data sources displays in the DataSource Available text area.
  5. Select the required data source and click the Move button to attach Data Source to the Block.
    The selected Data sources gets attached to the Block.

    Figure 2-13 Attaching Data Sources to Data Block



  6. Select Multi Record as Yes in the data Block Properties screen to add multi record data source to data block.
    Multi Data Source once used to one block won’t be available for reuse whereas a single record data source can be used in multiple blocks.
    All the data sources with Multi Record as Yes will be populated.
  7. Select Block Fields as follows:
    1. Right-click the newly added block.
      The Select Fields & Add UI Fields window displays.

      Figure 2-14 Select Fields & Add UI Fields



    2. Check the right side check boxes to add the required fields.
    3. Verify the Field Name and Label Code details and click the OK button.
      The Field Name should not be the same as the column name. Special characters are also not allowed in the Field Name (including underscore and space). Label Code will be automatically populated based on the Field Name.