Usage notes for OrcaScript commands and parameters – PB Docs 100
Usage notes for OrcaScript commands and parameters Before calling any other ORCA functions, you need to open a session:
|
1 |
start session |
You can start and end multiple OrcaScript sessions in the same batch file. Copying files, objects, and properties If you want to use OrcaScript simply to move objects among libraries, you do not need to…
Selected PowerScript Topics – PB Docs 125
Selected PowerScript Topics About this chapter This chapter describes how to use elements of the PowerScript language in an application. Contents Topic Dot notation Constant declarations Controlling access for instance variables Resolving naming conflicts Return values from ancestor scripts Types of arguments for functions and events Ancestor and descendent variables Optimizing expressions for DataWindow and…
IsAnyArabic – PB Docs 125
IsAnyArabic PowerScript function Description Tests whether a particular string contains at least one Arabic character. Syntax
|
1 |
<span>IsAnyArabic</span> ( <span>string</span> ) |
Argument Description string A string whose value you want to test to find out if it contains at least one Arabic character Return Values Boolean. Returns true if string contains at least one Arabic character and false if…
Tooltip.property – PB Docs 126
Tooltip.property DataWindow object property Description Settings for tooltips for a column or control. Controls Button, Column, Computed Field, Graph, GroupBox, InkPicture, Line, OLE, Blob OLE, Oval, Picture, Rectangle, Report, RoundRectangle, and Text controls Syntax PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Tooltip.<span>property</span> |
Describe and Modify argument:
|
1 |
"<span>controlname</span>.Tooltip.<span>property </span>{ = ' <span>value </span>' }" |
DataWindowSyntaxFromSql:
|
1 |
Column ( Tooltip.<span>property </span>= <span>value</span> )<br>Text ( Tooltip.<span>property </span>=<span> value</span> ) |
Parameter Description controlname The control whose Tooltip properties you want…
Select Declared Cursors dialog box – PB Docs 150
Select Declared Cursors dialog box Description Select a cursor that you have previously declared to paste into the current script. Options Declared Cursors Lists the cursors that have been declared. Name SourceDisplays the source for the cursor selected in the Declared Cursors box. See also Building and executing SQL statements Editing scripts Document get from…
Chapter 28 Working with Rich Text – PB Docs 90
Chapter 28 Working with Rich Text About this chapter This chapter explains how to create DataWindow objects using the RichText presentation style and how to use the RichTextEdit control. Contents Topic About rich text Using the RichText presentation style Using the RichTextEdit control Formatting keys and toolbars Document get from Powerbuilder help Thank you for…
Asc – PB Docs 2017
Asc DataWindow expression function Description Converts the first character of a string to its Unicode code point. A Unicode code point is the numerical integer value given to a Unicode character. Syntax
|
1 |
Asc ( string ) |
Argument Description string The string for which you want the code point value of the first character Return value Unsigned integer. Returns…
Arrange – PB Docs 2017
Arrange PowerScript function Description Arranges the icons in rows. Applies to ListView controls Syntax
|
1 |
listviewname.Arrange ( ) |
Argument Description listviewname The name of the ListView control in which you want to arrange icons Return value Integer. Returns 1 if it succeeds and -1 if an error occurs. Usage Can only be used with large icon and small…
Support for auto-increment column – PB Docs 2018
Support for auto-increment column PostgreSQL supports the auto-increment column with the following two methods: Method 1: GetIdentity=’Select currval(”GEN_&TableName”)’ Method 2: GetIdentity=’Select currval(”&TableName._&ColumnName._seq’)’ Method 2 uses the serial to create the auto-increment column. These methods require that the sequence name follows the name conversions specified by GetIdentity in pbodb180.ini, for example, gen_TableName, TableName_ColumnName_seq. If the sequence…
Plain JSON – PB Docs 2019
Plain JSON A plain JSON follows the industry standard JSON format (as specified in https://www.json.org) and has one of the following structures depending on the actual export/import scenario. A plain JSON can only contain elements of the following 4 data types: integer, string, boolean, and null. One-level structure A one-level plain JSON string must have…