Application labels allow you to create custom field labels for data-capable elements. Application labels let you combine multiple data-capable elements into a single table, sort records by a particular field, and modify the column order. You can map labels to table columns or rows. A mapped element is created when you map a grid element that has one or more columns mapped to application labels.
See “Working with data-capable elements”.
Creating application labels
In the Application Manager, select an application listing from the detail view for which you want to add labels and click Edit.
When the Application Builder displays, click Labels on the toolbar.
In the Application Labels window, click Import Label to automatically import the defined labels from the application definitions. You define labels in the Define window when creating an application. See “Defining record layout”.
Or, you can enter the text you want as a label for one of the columns, then click the plus sign to add that label. Continue this process until you have created all the labels you need.
Use the up and down arrows under Sequence to reorder the labels.
For the Sort Records By option, select:
Sort Records By – to sort the table records by one of the labels listed in the drop-down list.
Ascending/Descending – to sort the records in ascending or descending order.
Select the Map All check box to automatically map labels to existing column headers. Automatic mapping is only for headers that have a mapping label name.
Click OK to save your entries and close the window.
Assigning application labels
You do not need to perform this procedure if you select the Map All check box. These are the manual steps for assigning application labels.
Click the name of a data-capable element in the Element List. This displays the element field labels below the element name and the associated Application Label drop-down lists.
Select an application label from the drop-down list associated with an element field. The element is added to a new mapped element within the Element List. The Mapped Element has a cell position drop-down list. You must assign a position to the Mapped Element for it to become visible in the application.
Select a location from the cell position drop-down list for the mapped element and preview the results in the application viewer pane of the Application Builder.
Click Save to save the application with the new labels.
The mapped elements and grid element columns along with the resulting labels previews in the application viewer.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |