Working with edit styles in the Enterprise Explorer

Typically, you define edit styles in the Enterprise Explorer, because edit styles are properties of the data itself. Once defined in the Enterprise Explorer, the styles are used by default each time the column is placed in a DataWindow object.

StepsTo create a new edit style:

  1. In the Enterprise Explorer, select View>Extended Attributes from the Enterprise Explorer view drop-down menu. In the Extended Attributes view, select Display Formats.

  2. In the Edit Style dialog box, select the edit style type from the Style drop-down list.

  3. Specify the properties of the edit style and click OK.

    For information, see “Defining edit styles”.

    You can use the new edit style with any column of the appropriate datatype in the database.

StepsTo modify an existing edit style:

  1. In the Enterprise Explorer, select View>Extended Attributes from the Enterprise Explorer view drop-down menu to open the Extended Attributes view.

  2. In the Extended Attributes view, open the list of edit styles.

  3. Position the pointer on the Edit style you want to modify, display the pop-up menu, then select Properties.

  4. In the Edit Style dialog box, modify the edit style as desired and click OK.

    For information, see “Defining edit styles”.

    You can use the modified edit style with any column of the appropriate datatype in the database.

StepsTo associate an edit style with a column in the Enterprise Explorer:

  1. In the Enterprise Explorer (Objects view), position the pointer on the column, select Properties from the pop-up menu, then select the Edit Style tab in the Properties view.

  2. Select a style for the appropriate datatype from the list in the Style Name box.

    Sybase WorkSpace associates the selected edit style with the column in the extended attribute system tables.

StepsTo remove an edit style from a column in the Enterprise Explorer:

  1. In the Enterprise Explorer (Objects view), position the pointer on the column, select Properties from the pop-up menu, then select the Edit Style tab in the Properties view.

  2. Select (None) from the list in the Style Name box.

    The edit style is no longer associated with the column.