Saving DataWindows with Comments
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \DataWindow Painter \Saving DWs with Comments
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

The PowerBuilder File Menu has two menu items for saving objects (Applications, Menus, Windows, and Window Objects) and user-defined functions:  Save and Save As.

Use Save to save changes to an existing object or user-defined function in the current file. 

Use Save As to name and save a new object or user-defined function or to save an existing object or user-defined function under a new name or in a different location (disk, directory, or subdirectory).  A save window displays:

    The name of the current object or user-defined function and a list of objects or user-defined functions in the current library.

    The name of the current library (the library containing the current object or user-defined function)

    The name of the current directory (the directory containing the current library)

    A list of libraries and subdirectories in the current directory and other directories and drives that are currently available

The current directory and library are the defaults. To change the current directory, select another directory from the list.  To change the library, enter the name of the library in the Library Name box or select a library from the list. 

TIP:   Library names have the file extension .PBL.

To save the object, script, or user-defined function using Save:

Select Save on the File Menu.  PowerBuilder saves the object or user-defined function under its current name.

Note:When you save an object for the first time, you can enter comments in the Comments box. PowerBuilder associates these comments with the object and they display in the Select window for the painter, in the Save window, and in the Library Painter if you specify that you want to display comments.

To save the object, script, or user-defined function using Save As:

  1. Select Save As on the File Menu.  PowerBuilder displays the Save window.  The Save window is similar to the Select window.  To display a picture of a typical Select window and information about the fields in the select window, click here.
  2. TIP:    To replace the file with the contents of the active window, click the OK button or press Enter. PowerBuilder saves the file using the current filename.

  3. Move to the name box and enter the name you want to use to save the object or user-defined function.  PowerBuilder will supply the file extension.
  4. Enter any comments you want to associate with the object.  PowerBuilder associates these comments with the object and they display in the Select window for the painter and in the Library Painter if you specify that you want to display comments.
  5. Click the OK button or press Enter.

Note:When you use Save As to save an object, you can add and modify the comments associated with the object.

Examples:

To modify a window and change the original, use Save; the window is saved under its current name.

To modify a window without changing the original, use Save As and save the modified window under another name.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

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