SetRange – PB Docs 150
SetRange PowerScript function Description Sets a duration for a progress bar control or sets the start and end position for a trackbar control. Controls Progress bar controls Syntax
1 |
<span>controlname</span>.<span>SetRange</span> ( <span>startpos</span>, <span>endpos</span> ) |
Argument Description controlname The name of the progress bar or trackbar startpos Integer indicating the initial position of the range endpos Integer indicating the terminal position…
Oracle Transaction management statements – PB Docs 150
Oracle Transaction management statements You can use the following transaction management statements with one or more transaction objects to manage connections and transactions for an Oracle database: CONNECT DISCONNECT COMMIT ROLLBACK See also Oracle Using CONNECT, DISCONNECT, COMMIT, and ROLLBACK Document get from Powerbuilder help Thank you for watching.
Syntax 1 For docked toolbars – PB Docs 150
Syntax 1 For docked toolbars Description Sets the position of a docked toolbar. Controls MDI frame and sheet windows Syntax
1 |
<span>window</span>.<span>SetToolbarPos</span> ( <span>toolbarindex</span>, <span>dockrow</span>, <span>offset</span>, <span>insert</span> ) |
Argument Description window The MDI frame or sheet to which the toolbar belongs. toolbarindex An integer whose value is the index of the toolbar whose settings you want to change. dockrow An integer whose value…
Oracle DELETE, INSERT, and UPDATE – PB Docs 150
Oracle DELETE, INSERT, and UPDATE Internally, PowerBuilder processes DELETE, INSERT, and UPDATE statements the same way. PowerBuilder inspects them for any PowerScript variable references and replaces all references with a constant that conforms to Oracle rules for the 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…
SetSeriesLabelling – PB Docs 150
SetSeriesLabelling PowerScript function Description Set the series label for a DirectX 3D graph. Controls Graph controls in windows and user objects, and graphs in DataWindow controls Syntax
1 |
<span>controlname</span>.<span></span><span>SetSeriesLabelling</span> ({<span>graphcontrol</span>, } <span>series</span>, <span>value</span> ) |
Argument Description controlname The name of the graph in which you want to set data, or the name of the DataWindow control containing the graph. graphcontrol (DataWindow…
PBNewSPInvocation – PB Docs 150
PBNewSPInvocation database parameter Description Uses an alternative method to invoke a stored procedure. Controls ODBC Syntax
1 |
PBNewSPInvocation=<span>'value</span>' |
Parameter Description value Specifies whether the standard method or an alternative method is used to invoke a stored procedure. Values are: No (Default) Use the standard method to invoke a stored procedure. Yes Use the alternative method to…
PrintLine – PB Docs 150
PrintLine PowerScript function Description Draws a line of a specified thickness between the specified endpoints on the current print page. Syntax
1 |
<span>PrintLine</span> ( <span>printjobnumber</span>, <span>x1</span>, <span>y1</span>, <span>x2</span>, <span>y2</span>, <span>thickness</span> ) |
Argument Description printjobnumber The number the PrintOpen function assigned to the print job x1 An integer specifying the x coordinate in thousandths of an inch of the start of the line y1 An…
Using Native Database Interfaces – PB Docs 150
Using Native Database Interfaces About this chapter This chapter describes native database interfaces. The following chapters explain how to prepare to use the database and define any unique database interface parameters so that you can access your data. Contents Topic About native database interfaces Components of a database interface connection Using a native database interface…
SetFirstVisible – PB Docs 150
SetFirstVisible PowerScript function Description Sets the specified item as the first visible item in a TreeView control. Controls TreeView controls Syntax
1 |
<span>treeviewname</span><span>.SetFirstVisible</span> ( <span>itemhandle</span> ) |
Argument Description treeviewname The TreeView control in which you want to identify an item as the first visible item itemhandle The handle of the item you are identifying as the first visible item…
Oracle Retrieval – PB Docs 150
Oracle Retrieval Retrieval using cursors is conceptually similar to retrieval in the singleton SELECT. The main difference is that since there can be multiple rows in a result set, you control when the next row is fetched into the PowerScript variables. If you expect only a single row to exist in the employee table with…