Defining Table Properties in a Data Map to Normalize an Array

Defining Table Properties in a Data Map to Normalize an Array

Step 4. Test the Normalization of the Array in the Data Map

Step 4. Test the Normalization of the Array in the Data Map

In this step, you run a database row test to test the normalization of the array in the data map.
  1. Open the demo.map2array data map.
  2. On the
    Data Map
    tab in the
    Resource Explorer
    , select the RECORD_IN table and click
    File
    Database Row Test
    .
    The
    Database Row Test
    dialog box appears.
  3. In the
    Database Row Test
    dialog box, click
    Go
    .
    The
    Database Row Test Output
    window displays the following results:
    1. Results of the GenVRowKey function
    2. Results of the GetSeqWithinLevel function
    The r1genvrow_idx column displays the results of the GenVRowKey function, which is the number of the occurrence in the array. The r1genseq column displays the results of the GetSeqWithinLevel function, which is the number of the record.
    For example, the following results appear in the output:
    • The first row displays data for occurrence 1 in the array in record 1.
    • The third row displays data for occurrence 3 in the array in record 1.
    • The fourth row displays data for occurrence 1 in the array in record 2.

0 COMMENTS

We’d like to hear from you!