About this book


You should read this book if you are involved in any phase of a client/server, distributed, or Web application development project that uses PowerBuilder®.

How to use this book

This how-to book guides you through programming techniques used to build and deploy PowerBuilder applications and components. It does this by equipping you with collections of techniques for implementing many common application features and advice for choosing those techniques best suited to your requirements.

PowerBuilder is accompanied by sample applications that illustrate some of the issues, features, and techniques you will read about. Examine the components of these applications in PowerBuilder, read the comments in the code, and experiment with real, working examples of what you are trying to learn.

For where to find the sample applications, see Chapter 1, “Using Sample Applications.”

Related documents

For a description of all the books in the PowerBuilder documentation set, see the preface of PowerBuilder Getting Started.

Other sources of information

Use the Sybase® Getting Started CD and the Sybase Product Documentation Web site to learn more about your product:


The formatting conventions used in this manual are:

Formatting example


Retrieve and Update

When used in descriptive text, this font indicates:

  • Command, function, and method names

  • Keywords such as true, false, and null

  • Datatypes such as integer and char

  • Database column names such as emp_id and f_name

  • User-defined objects such as dw_emp or w_main

variable or file name

When used in descriptive text and syntax descriptions, oblique font indicates:

  • Variables, such as myCounter

  • Parts of input text requiring substitution, such as pblname.pbd

  • File and path names


Menu names and menu items are displayed in plain text. The greater than symbol (>) shows you how to navigate menu selections. For example, File>Save indicates “select Save from the File menu.”


Monospace font indicates:

  • Information that you enter in a dialog box or on a command line

  • Sample script fragments

  • Sample output fragments

If you need help

Each Sybase installation that has purchased a support contract has one or more designated people who are authorized to contact Sybase Technical Support. If you cannot resolve a problem using the documentation or online help, please have the designated person contact Sybase Technical Support or the Sybase subsidiary in your area.