Export.XML.HeadGroups – PB Docs 2018
Export.XML.HeadGroups property (DataWindow object) Description Setting that causes elements, attributes, and all other items above the Detail Start element in an XML export template for a group DataWindow to be iterated for each group in the exported XML. Applies to DataWindow objects Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Export.XML.HeadGroups |
Describe and Modify argument:
|
1 |
"DataWindow.Export.XML.HeadGroups { = 'value ' }" |
Parameter Description value…
Specify properties of the CommandButton controls – PB Docs 2018
Specify properties of the CommandButton controls Now you define the properties of the CommandButton controls. Select the top CommandButton control. The General page of the Properties view displays properties of the CommandButton control. Type cb_ok in the Name text box on the Properties view General page. Type OK in the Text text box. Select the…
Syntax 2: For RichTextEdit controls – PB Docs 2018
Syntax 2: For RichTextEdit controls Description Determines the line and column position of the insertion point or the start and end of selected text in an RichTextEdit control. Applies to RichTextEdit and DataWindow controls Syntax
|
1 |
rtename.Position ( fromline, fromchar {, toline, tochar } ) |
Argument Description rtename The name of the RichTextEdit or DataWindow control in which you want to find the location…
Event processing in visual extensions – PB Docs 2018
Event processing in visual extensions Contents Using an event name with return type and arguments Using an event name with a PowerBuilder event ID Processing events sent to the parent of the window A visual extension can have a window procedure that can process any Windows message or user-defined message. The PBVM passes all such…
HideSnaked – PB Docs 2018
HideSnaked property (DataWindow object) Description Whether the control appears only once per page when you print the DataWindow using the newspaper columns format. Applies to Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.HideSnaked |
Describe and Modify argument:
|
1 |
"controlname.HideSnaked { = 'Â value ' }" |
Parameter Description controlname…
Starting a trace in PowerScript with the PBTrace parameter – PB Docs 2018
Starting a trace in PowerScript with the PBTrace parameter Instead of tracing all database commands from the start of a database connection, you can start and end a trace programmatically for specific database queries. To start a trace, you can assign the string value pair “PBTrace=1” to the transaction object DBParm property; to end a…
HorizontalScrollSplit – PB Docs 2018
HorizontalScrollSplit property (DataWindow object) Description The position of the split in the DataWindow’s horizontal scroll bar. If HorizontalScrollSplit is zero, the scroll bar is not split. Applies to DataWindows Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.HorizontalScrollSplit |
Describe and Modify argument:
|
1 |
"DataWindow.HorizontalScrollSplit { = splitdistance }" |
Parameter Description splitdistance An integer indicating where the split will occur in the horizontal scroll bar…
DelimitIdentifierToDB – PB Docs 2018
DelimitIdentifierToDB database parameter Description Specifies whether PowerBuilder should send a “set quoted_identifier off” instruction to the server when the DelimitIdentifier parameter is not set. Applies to ODBC (if driver and back-end DBMS support this feature) OLE DB Syntax
|
1 |
DelimitIdentifierToDB='value' |
Parameter Description value Specifies whether PowerBuilder sends a “set quoted_identifier off” instruction to the server when the DelimitIdentifier…
ODBC DELETE, INSERT, and UPDATE – PB Docs 2018
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:
|
1 |
DELETE FROM employee WHERE emp_id = :emp_id_var; |
In this example, emp_id_var is a PowerScript…
Operators used in DataWindow expressions – PB Docs 2018
Operators used in DataWindow expressions Contents Arithmetic operators in DataWindow expressions Relational operators in DataWindow expressions Logical operators in DataWindow expressions Concatenation operator in DataWindow expressions An operator is a symbol or word in an expression that performs an arithmetic calculation or logical operation; compares numbers, text, or values; or manipulates text strings. Four types…