GetUpdateStatus – PB Docs 2017
GetUpdateStatus method (DataWindows) Description Reports the row number and buffer of the row that is currently being updated in the database. When called because of an error, GetUpdateStatus reports the row that caused the error. Obsolete method GetUpdateStatus is obsolete and will be discontinued in a future release. You should replace all references to GetUpdateStatus as soon as…
ImportClipboard – PB Docs 2017
ImportClipboard method (DataWindows) Description Inserts data into a DataWindow control or DataStore object from tab-separated, comma-separated, or XML data on the clipboard. Applies to DataWindow type Method applies to PowerBuilder DataWindow control, DataWindowChild object, DataStore object Syntax PowerBuilder
|
1 |
long dwcontrol.ImportClipboard ( {saveastype importtype}, { long startrow {, long endrow {, long startcolumn {, long endcolumn {, long dwstartcolumn } } } } } ) |
Argument Description dwcontrol A reference to a DataWindow control, DataStore, or child DataWindow. importtype (optional for…
InsertRow – PB Docs 2017
InsertRow method (DataWindows) Description Inserts a row in a DataWindow or DataStore. If any columns have default values, the row is initialized with these values before it is displayed. Applies to DataWindow type Method applies to PowerBuilder DataWindow control, DataWindowChild object, DataStore object Syntax PowerBuilder
|
1 |
long dwcontrol.InsertRow ( long row ) |
Argument Description dwcontrol A reference to a DataWindow control,…
GetStateStatus – PB Docs 2017
GetStateStatus method (DataWindows) Description Retrieves the current status of the internal state flags for a DataWindow and places this information in a blob. This method is used primarily in distributed applications. Obsolete method GetStateStatus is obsolete and will be discontinued in a future release. You should remove all use of GetStateStatus as soon as possible. This method…
FilteredCount – PB Docs 2017
FilteredCount method (DataWindows) Description Reports the number of rows that are not displayed in the DataWindow because of the current filter criteria. Applies to DataWindow type Method applies to PowerBuilder DataWindow control, DataWindowChild object, DataStore object Syntax PowerBuilder
|
1 |
long dwcontrol.FilteredCount ( ) |
Argument Description dwcontrol A reference to a DataWindow control, DataStore, or child DataWindow Return value Returns…
GenerateResultSet – PB Docs 2017
GenerateResultSet method (DataWindows) Description Generates a result set from data in a DataStore or DataWindow control. In PowerBuilder, when the result set is generated in a component on a transaction server, the format of the result set is ADO Recordset on MTS. Applies to DataWindow type Method applies to PowerBuilder DataStore object Syntax PowerBuilder
|
1 |
integer dsobject.GenerateResultSet (REF ResultSet rsdest { ,dwBuffer dwbuffer } ) |
…
GetDataNumberVariable – PB Docs 2017
GetDataNumberVariable method (Graphs in DataWindows) Description Returns the value associated with a data point in a graph in a DataWindow object when the values axis has a numeric datatype. You must call GetDataNumber first to retrieve the line style information. (GetDataNumber is based on GetDataValue and is documented in that entry.) Obsolete method GetDataNumberVariable is obsolete…
More examples in the DataWindow painter and in code – PB Docs 2017
More examples in the DataWindow painter and in code These examples illustrate the difference between the format for a DataWindow expression specified in the DataWindow painter versus in code. Border property The expression applied to the Border property of the salary_plus_benefits column displays a border around salaries over $60,000:
|
1 |
If(salary_plus_benefits > 60000, 1, 0) |
This statement changes the expression…
Collapsed – PB Docs 2017
Collapsed event (DataWindows) Description Occurs when a node in a TreeView DataWindow has collapsed. PowerBuilder event information Event ID: pbm_dwncollapsed Argument Description row Long by value. The number of the first row in the group to be collapsed. grouplevel Long by value. The TreeView level of the group to be collapsed. Return Values There are…
ItemChanged – PB Docs 2017
ItemChanged event (DataWindows) Description Occurs when a field in a DataWindow control has been modified and loses focus (for example, the user presses Enter, the Tab key, or an arrow key or clicks the mouse on another field within the DataWindow). It occurs before the change is applied to the item. ItemChanged can also occur…