Powerbuilder Documentation Older

Powerbuilder Documentation Older Version

Using the Menu painter – PB Docs 105

Using the Menu painter The Menu painter has several views where you can specify menu items and how they look and behave. For general information about views, how you use them, and how they are related, see “Views in painters that edit objects”. In addition to customizing the style of a menu in the Menu…

SetItemString – PB Docs 125

SetItemString method (DataWindows) Description Sets the value of a row and column in a DataWindow control to the specified value. SetItemStringByColNum A separate method name is provided as an alternative syntax for the Web DataWindow server component, which cannot use overloaded methods. Controls DataWindow type Method applies to Web Server component (see SetItem for equivalent…

Syntax 3 For loading an OLE object from a file into a control – PB Docs 126

Syntax 3 For loading an OLE object from a file into a control Description Opens an OLE object in a file and loads it into an OLE control. Controls OLE controls Syntax

Argument Description olecontrol The name of the OLE control into which you want to load an OLE object. OLEsourcefile A string specifying the…

Oracle FETCH – PB Docs 126

Oracle FETCH To access rows returned by a procedure, you use the FETCH statement as you did for cursors. You can execute the FETCH statement after any EXECUTE statement that executes a procedure that has output parameters. Example

The FETCH FROM procedure statements must exactly match the output parameters returned by the stored procedure…

Running an application – PB Docs 70

Running an application When the application seems fine, you are ready to run it in regular mode. In regular mode, the application responds to user interaction and continues to run until the user exits the application or an execution-time error occurs. You can rely on the default execution-time error reporting by PowerBuilder or write a…

Chapter 24 Highlighting Information in DataWindow Objects – PB Docs 105

Chapter 24 Highlighting Information in DataWindow Objects About this chapter This chapter describes how you modify the way information displays in DataWindow objects and reports based on the conditions you specify. The conditions are usually related to data values, which are not available until runtime. Contents Topic Highlighting information Modifying properties conditionally at runtime Supplying…

GetDataPieExplode – PB Docs 125

GetDataPieExplode method (Graphs in DataWindows) Description Reports the percentage of the pie graph’s radius that a pie slice is moved away from the center of the pie graph. An exploded slice is moved away from the center of the pie in order to draw attention to the data. Controls PowerBuilder DataWindow DataWindow control DataWindow Web ActiveX DataWindow…

Syntax 4 For opening an OLE object in memory into a control – PB Docs 126

Syntax 4 For opening an OLE object in memory into a control Description Opens an OLE object that is in a OLE storage object in memory and loads it into an OLE control. Controls OLE controls Syntax

Argument Description olecontrol The name of the OLE control into which you want to load an OLE object…

ODBC DELETE, INSERT, and UPDATE – PB Docs 126

ODBC DELETE, INSERT, and UPDATE Internally, PowerBuilder processes DELETE, INSERT, and UPDATE the same way. PowerBuilder inspects these statements for variable references and replaces all variable references with a constant that conforms to the backend database’s rules for that data type. Example Assume you enter the following statement:

In this example, emp_id_var is a…

Working with keys – PB Docs 70

Working with keys If your DBMS supports primary and foreign keys, you can work with the keys in PowerBuilder. Why you should use keys If your DBMS supports them, you should use primary and foreign keys to enforce the referential integrity of your database. That way you can rely on the DBMS to make sure…