|
In the DataWindow Painter, you can use names to identify columns, computed fields, and graphic objects in DataWindow related functions and in the DataWindow aggregate functions. When you build a DataWindow, you can assign each column, field or graphic object in the DataWindow a name. If you do not assign a column, field, or graphic object a name, PowerBuilder assigns it a default name.
The default name for a database column is:
column number=column name
For example: 2=emp_id
The default names for computed columns, fields, and graphic objects are numeric names and are assigned so PowerBuilder can reference the column, field, or object in dwDescribe.
To change column and field names and name objects:
- Double-click the column, field, or graphic object or select it and press Enter. The Extended Definition window for the column, field, or object displays.
- Enter the name in the Name box.
- Click the OK button to close the window and display the DataWindow Painter workspace.
|