Home About Courses Schedule Services Webinars Contact Search

Basic SAP PowerBuilder Programming


Duration: 5 Days

Method: Instructor led, Hands-on workshops

Price: $2695.00

Course Code: PB1090


This intensive hands-on course is designed for application programmers responsible for the design and implementation of client/server applications using PowerBuilder.


If you need to learn all about the PowerBuilder Classic development environment, this is the course for you!

Each component of the PowerBuilder Classic IDE is covered in the context of using PowerBuilder to develop GUI-based client/server business applications.


Upon successful completion of this course, the student will be able to:

  • Use the System Tree to create workspaces and targets
  • Use the Application Painter to create application objects
  • Use the Window Painter to create windows
  • Use the PowerScript language to write scripts to perform required processing
  • Create user functions and user events
  • Use the DataWindow Painter to create Data Windows and select appropriate presentation styles and data sources
  • Use the Query Painter to interactively construct and edit SQL statements
  • Use the Database Painter to define extended attributes and manage database tables
  • Use the Menu Painter to create traditional and contemporary menus
  • Debug PowerBuilder applications
  • Package a PowerBuilder application for distribution
  • Discuss the alternative deployment types, including pcode, machine code, and .NET WinForm applications
  • A series of written and lab exercises will be used to reinforce the classroom education.
  • Note: This class can be supported by any version of PowerBuilder.


Basic knowledge of the Windows operating system. Introduction to SQL, or equivalent experience. Experience in a programming language, such as COBOL, Visual Basic, C++, or Java.


  • I. Introduction to PowerBuilder
    • Role of PowerBuilder in Application Development
    • PowerBuilder Application Architectures
    • Platforms and Databases Supported by PowerBuilder
    • PowerBuilder Concepts and Terminology
  • II. The PowerBuilder Classic Environment
    • Painter Structure
    • Customizing Toolbars
    • The System Tree
    • The Clip Window
    • Managing Painter Views and Panes
    • Object Browser
  • III. Creating an Application
    • Creating Workspaces
    • Creating Targets
    • Creating Application Objects
    • Application Object Properties
  • IV. Creating Windows
    • Types of Windows and Controls
    • Building Windows
    • Window Inheritance
  • V. PowerBuilder Scripts
    • Language Syntax
    • Using the PowerScript Painter
    • Control Structures
    • PowerScript Functions
    • Structures
    • Script Inheritance
  • VI. User Defined Function and Events
    • Global Functions versus Object Functions
    • Creating User Functions
    • Defining User Events
    • Invoking User Events
  • VII. Creating DataWindows
    • Presentation Styles
    • Data Sources
    • DataWindow SQL Options
    • Customizing the DataWindow Design
  • VIII. Implementing DataWindows
    • Associating DataWindow Objects with DataWindow Controls
    • Transaction Objects
    • DataWindow Functions
  • IX. DataWindow Updates
    • Controlling Updates
    • Data Validation Process
    • Transaction Management
  • X. Creating Menus
    • Menus Styles
    • Creating Menu Bars and MenuItems
    • Menu Events and Scripts
    • Popup Menus
    • Menu Inheritance
  • XI. MDI Applications
    • MDI Window Types
    • MDI Related PowerScript Functions
    • MDI Menus
    • Toolbars
  • XII. . Distributing the Application
    • Creating an Application Executable
    • PowerBuilder Resource Files
    • PowerBuilder Dynamic Libraries
    • Creating a Machine Code Executable
    • Creating a .NET WinForm Application
  • XIII. Supplemental Topics (as time permits)
    • The PowerBuilder Classic Debugger
    • Managing Database Tables
    • The Library Painter