Powerbuilder Documentation 11.5

Powerbuilder Documentation 11.5

Using Transaction objects to call stored procedures – PB Docs 115

Using Transaction objects to call stored procedures SQLCA is a built-in global variable of type transaction that is used in all PowerBuilder applications. In your application, you can define a specialized version of SQLCA that performs certain processing or calculations on your data. If your database supports stored procedures, you might already have defined remote…

Supported DBMS features when calling stored procedures – PB Docs 115

Supported DBMS features when calling stored procedures When you define and use a custom Transaction object to call remote stored procedures in your application, the features supported depend on the DBMS to which your application connects. The following sections describe the supported features for some of the DBMSs that you can access in PowerBuilder. Read…

XML namespaces – PB Docs 115

XML namespaces XML namespaces provide a way to create globally unique names to distinguish between elements and attributes with the same name but of different terminologies. For example, in an XML invoice document for a bookstore, the name “date” could be used by accounting for the date of the order and by order fulfillment for…

About deploying applications – PB Docs 115

About deploying applications PowerBuilder lets you develop and deploy applications for many application architectures. Traditional client/server applications The primary focus of this chapter is on building an executable file and packaging a single- or two-tier application for deployment. The chapter helps you decide whether to use compiled code or pseudocode, whether to use dynamic libraries…

Exception handling in PowerBuilder – PB Docs 115

Exception handling in PowerBuilder When a runtime error occurs in a PowerBuilder application, unless that error is trapped, a single application event (SystemError) fires to handle the error no matter where in the application the error happened. Although some errors can be handled in the system error event, catching the error closer to its source…

Reading and writing text or binary files – PB Docs 115

Reading and writing text or binary files You use PowerScript text file functions to read and write text in line mode or text mode, or to read and write binary files in stream mode: In line mode, you can read a file a line at a time until either a carriage return or line feed…

Installing the sample applications – PB Docs 115

Installing the sample applications To install the samples from the DVD, select Code Examples from the list of components. To install Code Examples applications, select Example Application. To install the Web DataWindow PBL, select Web DataWindow. The setup program installs all samples in Code Examples subdirectories. Most Code Examples applications use a sample SQL Anywhere®…

Chapter 5 Building an MDI Application – PB Docs 115

Chapter 5 Building an MDI Application About this chapter This chapter describes how to build a Multiple Document Interface (MDI) application in PowerBuilder. Contents Topic About MDI Building an MDI frame window Using sheets Providing MicroHelp Using toolbars in MDI applications Sizing the client area About keyboard support in MDI applications Document get from Powerbuilder…

Security issues – PB Docs 115

Security issues When you develop a component for deployment to COM+, you can define roles that determine which users or groups of users are authorized to perform specific transactions. Then when you deploy the component, you assign roles to specific users in the COM+ Component Services tool. Enabling authorization in the Project painter or wizard…

SSL connections in PowerBuilder – PB Docs 115

SSL connections in PowerBuilder PowerBuilder provides two system objects for use with secure connections: SSLServiceProvider service object The SSLServiceProvider object is an implementation of the EAServer CtsSecurity::SSLServiceProvider interface. For more information about this interface, you can view the EAServer interface repository documentation in a Web browser by connecting to your server at http://hostname:portnumber. You use…