Develop > Tailoring > Form creation > Format Control > Array maintenance > Create a data record for sorting simple arrays

Create a data record for sorting simple arrays

Applies to User Roles:

System Administrator

Once you have created the form and Format Control for sorting simple arrays, you are ready to create the data record for sorting simple arrays.

To create a data record for sorting simple arrays:

  1. Click Tailoring > Database Manager.
  2. Type demo.sort in the Form field of the Database Manager dialogue box.
  3. Click Search.
  4. Type sort1 in the Name field of your test form.
  5. Enter data in the arrays in random order. For example, numbers in the Numbers array and characters in the Characters array.
  6. Click Add to add the record to the database and sort the array.

    Note: Since Update evaluates to true in the Format Control record for this form, you may also sort an array by clicking Save.

    The Numbers array is sorted in descending order.

  7. Repeat the process for the other arrays by changing the name parameter in the Format Control record to reflect the array being sorted.
  8. Remove the boolean1 parameter, and the sort order defaults to true. The array is sorted in ascending order.

Related concepts

Sorting simple arrays

Related tasks

Sort simple arrays
Create the form for sorting simple arrays
Create the Format Control record for sorting simple arrays