Powerbuilder Documentation Older

Powerbuilder Documentation Older Version

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…

Display Number Formats dialog box – PB Docs 125

Display Number Formats dialog box Description Specify a display format for a custom toolbar item command. Options Format Enter a display format for a toobar item command. You can type in a display format or select a named format from the list box at the bottom of the dialog box. Type Select a display format…

Displaying the title bar – PB Docs 126

Displaying the title bar For most views, a title bar does not permanently display at the top of a pane because it is often unnecessary, but you can display a title bar for any pane either temporarily or permanently. To display a title bar: Place the pointer on the splitter bar at the top of…

InsertItem – PB Docs 150

InsertItem PowerScript function Inserts an item into a ListBox, DropDownListBox, ListView, or TreeView control. To insert an item into a Use ListBox or DropDownListBox control Syntax 1 PictureListBox or DropDownPictureListBox control Syntax 2 ListView control when only the label and picture index need to be specified Syntax 3 ListView control when more than the label…

Setting Use Extended Attributes or Read Only to control access – PB Docs 150

Setting Use Extended Attributes or Read Only to control access To control system table access by setting Use Extended Attributes or Read Only: Select Design>Options from the menu bar to display the Database Preferences dialog box. On the General page, set values for Use Extended Attributes or Read Only as follows: Preference What you do…

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…

Customize dialog box – PB Docs 125

Customize dialog box Description Customize the buttons and position of your PainterBar, PowerBar, or custom toolbar. You can drag a button onto or remove a button from a toolbar and change the definition of a button on the toolbar. Dialog options Select Palette Check to select the PainterBar, PowerBar, or Custom palette that you want…

Toolbar basics – PB Docs 126

Toolbar basics PowerBuilder uses three toolbars: the PowerBar, PainterBar, and StyleBar: This toolbar Has buttons for And (unless hidden) displays PowerBar Opening painters and tools Always PainterBar Performing tasks in the current painter In each painter or editor; some painters have more than one PainterBar StyleBar Changing properties of text, such as font and alignment…

IsHebrew – PB Docs 150

IsHebrew PowerScript function Description Tests whether a particular character is a Hebrew character. For a string, IsHebrew tests only the first character on the left. Syntax

Argument Description character A character or string whose value you want to test to find out if it is an Hebrew character Return Values Boolean. Returns true if…

Informix DateTime datatype – PB Docs 150

Informix DateTime datatype The DateTime datatype is a contiguous sequence of boxes. Each box represents a component of time that you want to record. The syntax is: DATETIME largest_qualifier TO smallest_qualifier PowerBuilder defaults to Year TO Fraction(5). For a list of qualifiers, see your Informix documentation. To create your own variation of the DateTime datatype:…