Naming Objects in a DataWindow
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \DataWindow Painter \Naming Objects
Assigning
Accelerators
Tag Values
DW Icon
Comments
Changing
Databases
Controlling DW
Updates
OLE Columns
DataWindow
Reports
Dynamic DWs
Runtime Print
Specifications
Displaying the
DDLB Arrow
Displaying
Row Counts
Sort and Filter
Testing
Modifying Result
Sets Descriptions
Moving Object
with Keyboard
Naming Objects
Aggregate
Functions
New Color Bar
Events
DW Functions
New Menu Items
Grid Style
Shortcut Keys
Align Objects
Size Objects
Space Objects
Saving DWs
with Comments
Keyboard Object
Selection
Selecting a Font
Selecting a
Line Edit
Keyboard Sizing
Specifying
SQL Syntax
Background
Color
Timer Interval
Unit of Measure
Validation
Message
DB Table
Changes
Suppressing
Repeating Values
Testing an
OLE Column
Using Comments

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:

  1. 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.  
  2. Enter the name in the Name box.
  3. Click the OK button to close the window and display the DataWindow Painter workspace.
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com