Using Quick Select – PB Docs 115
Using Quick Select The easiest way to define a data source is using Quick Select. To define the data using Quick Select: Click Quick Select in the Choose Data Source dialog box in the wizard and click Next. Select the table that you will use in the DataWindow object. For more information, see “Selecting a…
Analyzing trace information programmatically – PB Docs 115
Analyzing trace information programmatically PowerBuilder provides three ways to analyze trace information using built-in system objects and functions: Analyze performance by building a call graph model A call graph model contains information about all the routines in the trace file: how many times each routine was called, which routines called it and which routines it…
Chapter 21 Controlling Updates in DataWindow Objects – PB Docs 115
Chapter 21 Controlling Updates in DataWindow Objects About this chapter When PowerBuilder generates the basic DataWindow object, it defines whether the data is updatable. This chapter describes the default settings and how you can modify them. Contents Topic About controlling updates Specifying the table to update Specifying the unique key columns Specifying an identity column…
Chapter 19 Enhancing DataWindow Objects – PB Docs 115
Chapter 19 Enhancing DataWindow Objects About this chapter Before you put a DataWindow object into production, you can enhance it to make it easier to use and interpret data. You do that in the DataWindow painter. This chapter describes basic enhancements you can make to a DataWindow object. Contents Topic Working in the DataWindow painter…
Customizing keyboard shortcuts – PB Docs 115
Customizing keyboard shortcuts You can associate your own keyboard shortcuts with PowerBuilder menu items. For example, if you have used another debugger, you may be accustomed to using specific function keys or key combinations to step into and over functions. You can change the default keyboard shortcuts to associate actions in PowerBuilder’s Debugger with the…
Creating new objects using inheritance – PB Docs 115
Creating new objects using inheritance You use the Inherit From Object dialog box to create a new window, user object, or menu using inheritance. To create a new object using inheritance: Click the Inherit button in the PowerBar, or select File>Inherit from the menu. In the Inherit From Object dialog box, select the object type…
Defining validation rules – PB Docs 115
Defining validation rules Typically, you define validation rules in the Database painter, because validation rules are properties of the data itself. Once defined in the Database painter, the rules are used by default each time the column is placed in a DataWindow object. You can also define a validation rule in the DataWindow painter that…
Using the 3D look – PB Docs 115
Using the 3D look Applications sometimes have a three-dimensional look and feel. To use this appearance for an application, select a 3D border for your SingleLineEdit boxes and other controls and make the window background gray. To use the 3D look by default: Select Design>Options from the menu bar. The Options dialog box displays. On…
Building an application – PB Docs 115
Building an application This section describes the basic steps you follow when building a traditional client/server application. After completing step 1, you can define the objects used in your application in any order as you need them. To build a traditional client/server application: Create the application (using a New wizard) and specify the library list…
Working with database components – PB Docs 115
Working with database components A database is an electronic storage place for data. Databases are designed to ensure that data is valid and consistent and that it can be accessed, modified, and shared. A database management system (DBMS) governs the activities of a database and enforces rules that ensure data integrity. A relational DBMS stores…