In this tutorial, use the Filter wizard to insert a new field in an existing record. This tutorial demonstrates using a label to specify a variable or a value.
Inserting a field
These steps assume that you have completed the steps in “Editing a record”, and that the Filter window is still displayed. Record 2, Field 1 has the words “Sybase Sites,” and the remaining fields in Record 2 are blank.
In the Filter window, look for the Add Filter Rule section of the window.
Under Add Filter Rule, insert a new field:
Select Insert Field from the drop-down list.
Select “before” from the “before/after” drop-down list to indicate you want to place the new field before an existing field.
Select “label” from the “number/label” drop-down list to indicate you want to choose a label from a list of defined labels.
Select Class from the drop-down list to indicate you want to insert the new field before the Class field.
Click Add. The Filter window is updated with the new rule, and a new field is inserted in the grid.
Click Finish to close the Finish window.
On Application Builder, look for the customerSites element name in the left pane, and select “Content” from the drop-down list next to the customerSites element to re-add the element to the template.
Click Save in the Application Builder window to save the customerSites application, and then click OK to confirm.
Optionally, you can click Preview to see your application. The new row, with Sybase Sites, is included, but the new column does not display because you did not change the grid rule to include columns 1 – 4. Close the Preview window when you are finished.
Click Close to close Application Builder.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |