Accessing data in PowerBuilder – PB Docs 70
Accessing data in PowerBuilder There are several ways to access data in the PowerBuilder development environment, depending on your operating system platform : Through one of the standard database interfaces such as ODBC, JDBC, or OLE DB Through one of the native database interfaces Standard database interfaces A standard database interface communicates with a database…
About the Window painter – PB Docs 70
About the Window painter Views in the Window painter You design windows in the Window painter. The Window painter has several views where you specify how a window looks and how it behaves. The following views are available from the View menu: Layout Control List Non-Visual Object List Properties Event List Function List Script Structure…
Using your functions – PB Docs 70
Using your functions You use user-defined functions the same way you use built-in functions. You can call them in event scripts or in other user-defined functions. For complete information about calling functions, see Application Techniques . Pasting user-defined functions When you build a script in the Script view, you can type the call to the…
About working with database components – PB Docs 70
About 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…
Building a new user object – PB Docs 70
Building a new user object This section describes how to build a user object from scratch.You use this technique to create user objects that aren’t based on existing user objects. Creating a new user object To create a new user object: Click the New button in the PowerBar. The New dialog box opens. On Object…
Looking at an application’s structure – PB Docs 70
Looking at an application’s structure If you are working with an application that references one or more objects in an application-level script, you can look at the application’s structure in the Browser. To display the application’s structure: Click the Browser button on the PowerBar. In the Browser, select the Uses tab page and select Expand…
Using check-out and check-in – PB Docs 70
Using check-out and check-in If you are working with other developers on a large application, you will want to prevent multiple developers from modifying a library entry at the same time. To control access to library entries, PowerBuilder provides check-out and check-in facilities. Using them, you can check an object out of a public library…
Creating crosstabs – PB Docs 70
Creating crosstabs To create a crosstab: Select File>New from the menu bar. The New dialog box displays. Select the DataWindow tab. Select the Crosstab presentation style, then click OK. You are prompted to specify the data. Specify the data you want retrieved into the DataWindow object. If you want data to be retrieved into the…
Using AutoScript – PB Docs 70
Using AutoScript AutoScript provides help when you are coding scripts by displaying a list of possible completions for the statement you are typing. The list can include local variables, class variables, and functions. Class variables include global and instance variables that are in scope, objects and controls in the current window or user object, and…
Defining an executable application project – PB Docs 70
Defining an executable application project The Project painter for executable applications allows you to streamline the generation of executable files and dynamic libraries. When you build a project object, you specify the following components of your application: Executable filename Which of the libraries you want to distribute as dynamic libraries Which PowerBuilder resource files (if…