Invoking another server component’s methods – PB Docs 70
Invoking another server component’s methods Jaguar allows the methods of one server component to call methods of another server component. The other server component does not need to be another PowerBuilder component; it can be implemented in any language supported by Jaguar. Accessing a component in the current server To access methods of another Jaguar…
Handling communications errors – PB Docs 70
Handling communications errors What the client can do Whenever an error occurs during client/server communications, the client application can trap the error and respond to the situation. In the event of an error, PowerBuilder records information about the error in the built-in Error object. The client application can access the Error object to determine what…
Deploying the client application – PB Docs 70
Deploying the client application Packaging your application The procedure for deploying a client application in a distributed computing environment is more or less the same as the procedure for deploying any other PowerBuilder application. You have two basic ways to package your client application: As one standalone executable (EXE) file that contains all the objects…
Defining the component interface – PB Docs 70
Defining the component interface When you build a PowerBuilder custom class user object as a COM or MTS component, the functions and optionally the instance variables defined for the object appear in the component interface. PowerBuilder generates an IDL file that defines a COM class and a single interface for each custom class user object…
Creating the user interface – PB Docs 70
Creating the user interface One of the main differences between a distributed server application and a traditional PowerBuilder application is that a server application requires minimal user interaction. In a distributed environment, most of the user interaction takes place in the client application. Typically, a server application provides a simple interface for starting and stopping…
About data pipelines – PB Docs 70
About data pipelines The Data Pipeline painter gives you the ability to quickly reproduce data within a database, across databases, or even across DBMSs. To do that, you create a data pipeline which, when executed, pipes the data as specified in the definition of the data pipeline. What you can do With the Data Pipeline…
Filtering rows – PB Docs 70
Filtering rows You can use WHERE and HAVING clauses and retrieval arguments in the SQL SELECT statement for the DataWindow object to limit the data that is retrieved from the database. This reduces retrieval time and space requirements during execution. However, you may want to further limit the data that displays in the DataWindow object….
Sorting rows – PB Docs 70
Sorting rows You can use an ORDER BY clause in the SQL SELECT statement for the DataWindow object to sort the data that is retrieved from the database. If you do this, the DBMS itself does the sorting and the rows are brought into PowerBuilder already sorted. However, you might want to sort the rows…
Grouping rows – PB Docs 70
Grouping rows You can group related rows together and, optionally, calculate statistics for each group separately. For example, you might want to group employee information by department and get total salaries for each department. How groups are defined Each group is defined by one or more DataWindow object columns. Each time the value in a…
About highlighting information – PB Docs 70
About highlighting information About properties Every control in your DataWindow object has a set of properties that determines what the control looks like and where it is located. For example, the values in a column of data display in a particular font and color, in a particular location, with or without a border, and so…