Powerbuilder Documentation 2018

Powerbuilder Documentation 2018

Tips on the syntax generated by DWSyntax – PB Docs 2018

Tips on the syntax generated by DWSyntax Anything surrounded by <> indicates that a real value must be substituted (without surrounding <>). All other syntax is correct as is including single quotes. Internal to PowerBuilder, all DataWindow object properties are stored in strings. These can represent strings, numbers, or boolean (1/0, yes/no). Where appropriate the…

Examples of user object controls affecting a window – PB Docs 2018

Examples of user object controls affecting a window To illustrate these techniques, consider a simple custom visual user object, uo_minmax, that contains two buttons, Maximize and Minimize. If the user clicks the Maximize button in an application window containing this user object, the current window becomes maximized. If the user clicks Minimize, the window closes…

IPB_ResultSetAccessor interface – PB Docs 2018

IPB_ResultSetAccessor interface Contents AddRef GetColumnCount GetColumnMetaData GetItemData GetRowCount Release Description The IPB_ResultSetAccessor interface is used to access result sets in DataWindow and DataStore objects. Methods The IPB_ResultSetAccessor interface has six methods: AddRef GetColumnCount GetColumnMetaData GetItemData GetRowCount Release Document get from Powerbuilder help Thank you for watching.

Using the Group style – PB Docs 2018

Using the Group style The Group presentation style provides an easy way to create grouped DataWindow objects, where the rows are divided into groups, each of which can have statistics calculated for it. Using this style generates a tabular DataWindow object that has grouping properties defined. This Group style report groups by department and lists…

Syntax for a single data item in a DataWindow – PB Docs 2018

Syntax for a single data item in a DataWindow Description A DataWindow data expression accesses a single data item when you specify its row and column number. Syntax

Parameter Description dwcontrol The name of the DataWindow control or child DataWindow in which you want to get or set data. buffer  (optional) The name of…

C0139 Compiler Error – PB Docs 2018

C0139 Compiler Error Message text Illegal datatype for CREATEUSING statement: type. Must be a non-array variable or expression resulting in a STRING or an ANY. Explanation You cannot use an array or any expression that does not result in an Any or String datatype in a CREATE USING statement:

See Also CREATE in the…

Reposition the toolbars – PB Docs 2018

Reposition the toolbars You can customize the position of the toolbars to suit your work style. Select Tools>Toolbars from the menu bar. The Toolbars dialog box displays. The selected Move radio button indicates the position of the currently selected toolbar. Click Top. This repositions the PowerBar at the top of the workspace. Radio buttons are…

C0017 Compiler Error – PB Docs 2018

C0017 Compiler Error Message text Incompatible type for NOT operator: type. Explanation The following code generates C00017:

The following code compiles without error:

See Also Relational operators in PowerBuilder in the section called “Relational operators in PowerBuilder” in PowerScript Reference. Document get from Powerbuilder help Thank you for watching.

Call PB_GetVM to get a pointer to the IPB_VM interface – PB Docs 2018

Call PB_GetVM to get a pointer to the IPB_VM interface The next step is to call the PB_GetVM function to get a pointer to the IPB_VM interface:

Document get from Powerbuilder help Thank you for watching.

C0181 Compiler Error – PB Docs 2018

C0181 Compiler Error Message text The argument to SetNull cannot be an argument. Document get from Powerbuilder help Thank you for watching.