Previewing crosstabs – PB Docs 70
Previewing crosstabs Once you have defined the crosstab, you can see it with data in the Preview view. To preview the crosstab: Select View>Preview from the menu bar to display the Preview view. Click on the Preview view to be sure it’s current. Select Rows>Retrieve from the menu bar. PowerBuilder retrieves the rows and performs…
Defining the data source – PB Docs 70
Defining the data source The data source you choose determines how you select the data that will be used in the DataWindow object. About the term data source The term data source used here refers to how you use the DataWindow painter to specify the data to retrieve into the DataWindow object. Data source can…
Distributing resources – PB Docs 70
Distributing resources You can choose to distribute your resources (pictures, pointers, and icons) separately or include them in your executable file or dynamic library. Distributing resources separately If a resource has not been included in the executable file or in a dynamic library, when a resource is referenced at execution time PowerBuilder looks in the…
Using the file editor – PB Docs 70
Using the file editor PowerBuilder provides a text editor that is always available. Using the editor, you can view and modify text files (such as initialization files and tab-separated files with data) without leaving PowerBuilder. To open the file editor: Press shift+f6 anywhere in PowerBuilder. or Click the Edit button in the PowerBar. The File…
Example 1: creating a gray bar effect – PB Docs 70
Example 1: creating a gray bar effect The following DataWindow object shows alternate rows with a light gray bar. The gray bars make it easier to track data values across the row: Adding a rectangle control To create the gray bar effect, you would add a rectangle control to the detail band and size it…
Working with validation rules – PB Docs 70
Working with validation rules When users enter data in a DataWindow object, you want to be sure the data is valid before using it to update the database. One way to do this is through validation rules. You usually define validation rules in the Database painter. To use a validation rule, you associate it with…
Using graphs – PB Docs 70
Using graphs In PowerBuilder, there are two ways to display graphs: In a DataWindow, using data retrieved from the DataWindow data source In a graph control in a window or user object, using data supplied by your application code This chapter discusses the graph control and describes how your application code can supply data for…
Deploying an application that uses the automation server – PB Docs 70
Deploying an application that uses the automation server When deploying your objects, you need to coordinate registry entries with the locations of all the files. PowerBuilder runtime files For both PowerBuilder.Application and a registered user object as a server, you need to deploy the PowerBuilder runtime environment on each user’s machine. For information about PowerBuilder…
Rich text and the user – PB Docs 70
Rich text and the user All the editing tools described throughout this chapter and in the chapter on working with rich text in the PowerBuilder User’s Guide can be made available to your users. What users can do They can: Use the toolbars for text formatting Use the popup menu, which includes using the clipboard…
PowerBuilder techniques – PB Docs 70
PowerBuilder techniques PowerBuilder provides full support for inheritance, encapsulation, and polymorphism in both visual and nonvisual objects. Creating reusable objects In most cases, the person developing reusable objects is not the same person using the objects in applications. This discussion describes defining and creating reusable objects. It does not discuss usage. Implementing inheritance PowerBuilder makes…