Connecting to a COM server – PB Docs 70
Connecting to a COM server To access a method associated with a component in the COM server, the PowerBuilder client connects to the component using its programmatic identifier (ProgID) or its class identifier (CLSID). You can use a tool such as OLEVIEW or the OLE tab in the PowerBuilder Browser to view the Program ID…
Testing and debugging the component – PB Docs 70
Testing and debugging the component About testing and debugging a Jaguar component Before you can test and debug a Jaguar component that you’ve developed in PowerBuilder, you need to create a new project and build the project. The new project lists the object(s) that will be included and specifies the name of the output library…
Accessing the EAS Demo DB – PB Docs 70
Accessing the EAS Demo DB PowerBuilder includes a standalone Adaptive Server Anywhere database called the EAS Demo DB. The database is installed automatically, unless you clear this option in the Setup program. Initially, you access tables in the EAS Demo DB when you use the PowerBuilder tutorial. An Adaptive Server Anywhere database is considered an…
Preparing to use the JDBC interface – PB Docs 70
Preparing to use the JDBC interface Before you define the interface and connect to a database via the JDBC interface, follow these steps to prepare the database for use: Configure the database server for its JDBC connection and install its JDBC-compliant driver and network software. Verify that a Java VM is installed on your machine….
About defining ODBC data sources – PB Docs 70
About defining ODBC data sources Each ODBC data source requires a corresponding ODBC driver to access it. When you define an ODBC data source, you provide information about the data source that the driver needs to connect to it. (Defining an ODBC data source is often called configuring the data source.) After you prepare to…
Inserting controls in a window – PB Docs 70
Inserting controls in a window You insert controls in a window in the Window painter. To insert a control in a window: Select Insert>Control from the menu bar. or Display the Controls dropdown toolbar on the PainterBar. Select the control you want to insert. If you select a user object control, the Select Object dialog…
Using structures – PB Docs 70
Using structures After you define the structure, you can: Reference an instance of the structure in scripts and functions Pass the structure to functions Display and paste information about structures by using the Browser Referencing structures When you define a structure, you are defining a new data type. You can use this new data type…
About inheritance – PB Docs 70
About inheritance One of the most powerful features of PowerBuilder is inheritance. It enables you to build windows, user objects, and menus that are derived from existing objects. Using inheritance has a number of advantages: When you change an ancestor object, the changes are reflected in all the descendants. You do not have to manually…
The PBCatVld table – PB Docs 70
The PBCatVld table Column Column name Description 1 pbv_name Validation rule name 2 pbv_vald Validation rule 3 pbv_type Data type to which validation rule applies 4 pbv_cntr Concurrent-usage flag 5 pbv_msg Validation error message Document get from Powerbuilder help Thank you for watching.
Using inherited scripts – PB Docs 70
Using inherited scripts In the hierarchy formed by ancestors and descendants, each descendant inherits its event scripts from its immediate ancestor. If an inherited event does not have a script, you can write a script for the event in the descendant. If the inherited event does have a script, the ancestor script will execute in…