Powerbuilder Documentation 10.0

Powerbuilder Documentation 10.0

Providing support for instance pooling – PB Docs 100

Providing support for instance pooling Benefits of instance pooling EAServer components can optionally support instance pooling. Instance pooling allows EAServer clients to reuse component instances. By eliminating the resource drain caused by repeated allocation of component instances, instance pooling improves the overall performance of EAServer. Specifying pooling options in the wizards When you create an…

Invoking the Web service method – PB Docs 100

Invoking the Web service method SoapConnection is used to create the Soap_proxy object and populate the Soap connection options that you set in the SetOptions method. Once a proxy object for a Web service is created, the client application can begin accessing the Web service. To invoke a Web service method, the proxy object must…

About building a COM or COM+ client – PB Docs 100

About building a COM or COM+ client A PowerBuilder application can act as a client to a COM server. The server can be built using PowerBuilder or any other COM-compliant application development tool and it can run locally, on a remote computer as an in-process server, or in COM+. You can use the Template Application…

OLE controls in a window – PB Docs 100

OLE controls in a window You can add OLE objects and ActiveX controls to a window or user object. To do so, you use one of the PowerBuilder OLE controls, which acts as an OLE container. This section explains how you select the control you want by choosing whether it holds an OLE object (also…

DataWindow plug-in – PB Docs 100

DataWindow plug-in The DataWindow plug-in displays Powersoft reports (PSRs) that have already been generated and stored on the Web server. Because the PSR files have already been generated, database access is not necessary. The plug-in supports only read-only access–users can view, print, and save the reports, but they cannot modify them. The plug-in works with…

Dot notation – PB Docs 100

Dot notation Dot notation lets you qualify the item you are referring to–instance variable, property, event, or function–with the object that owns it. Dot notation is for objects. You do not use dot notation for global variables and functions, because they are independent of any object. You do not use dot notation for shared variables…

Basic steps for setting connection parameters – PB Docs 100

Basic steps for setting connection parameters This section gives basic steps for setting database parameters and database preferences in PowerBuilder. To set database parameters: Learn how to set database parameters in the development environment or in code. See “Setting database parameters”. Determine the database parameters you can set for your database interface. For a table…

Connecting to a database – PB Docs 100

Connecting to a database To establish or change a database connection in PowerBuilder, use a database profile. You can select the database profile for the database you want to access in the Database Profiles dialog box. Using the Database painter to select a database profile You can also select the database profile for the database…

Sybase Adaptive Server Anywhere – PB Docs 100

Sybase Adaptive Server Anywhere This section describes how to prepare and define a Sybase ASA data source in order to connect to it using the ASA ODBC driver. ASA includes two database servers–a personal database server and a network database server. For information about using Sybase Adaptive Server Anywhere, see the ASA documentation. Supported versions…

DBParm support for PowerBuilder components – PB Docs 100

DBParm support for PowerBuilder components There are several connection options that are relevant only to a PowerBuilder custom class user object that is deployed as a transaction server component. These DBParm parameters can be set through the EAServer or EAServer/COM+ tab of the Database Profile Setup dialog box for the appropriate database interface or by…