Constructor – PB Docs 125
Constructor event Description Occurs when the control or object is created, just before the Open event for the window that contains the control. Event ID Event ID Objects pbm_constructor All objects Parameters None Return Values Long. Return code choices (specify in a RETURN statement): 0 Continue processing Usage You can write a script for a control’s…
Supported Oracle datatypes – PB Docs 125
Supported Oracle datatypes The Oracle database interfaces support the Oracle datatypes listed in Table 10-2 in DataWindow objects and embedded SQL. Table 10-2: Supported datatypes for Oracle Binary_Float (Oracle 10g and later only) LongRaw Binary_Double (Oracle 10g and later only) NChar Bfile Number Blob NVarChar2 Char Raw Clob TimeStamp Date VarChar Float VarChar2 Long XMLType…
DateSelected – PB Docs 125
DateSelected event Description Occurs when the user selects a date using the mouse. Event ID Event ID Objects pbm_mcdatesel MonthCalendar Parameters None Return Values Long. Return code: Ignored Usage This event is similar to DateChanged, but it occurs only when the user has selected a specific date using the mouse. The DateChanged event occurs whenever…
.NET Web Service Deployment Considerations – PB Docs 125
.NET Web Service Deployment Considerations This topic discusses requirements, restrictions, and options for deploying .NET Web Service projects. When a .NET Web Service project is open in the Project painter and no other painters are open, you can select Design > Deploy Project from the Project painter to deploy the project. When all painters are…
CONNECT – PB Docs 125
CONNECT SQL statement Description Connects to a specified database. Syntax
|
1 |
CONNECT {USING <span>TransactionObject</span>}; |
Parameter Description TransactionObject The name of the transaction object containing the required connection information for the database to which you want to connect. This clause is required only for transaction objects other than the default (SQLCA). Usage This statement must be executed before any…
FormatArgsAsExp – PB Docs 125
FormatArgsAsExp database parameter Description Controls whether PowerBuilder converts a DataWindow object retrieval argument of decimal datatype to scientific (exponential) notation if the argument exceeds 12 digits but has fewer than 16 digits. If FormatArgsAsExp is set to Yes (the default), PowerBuilder performs this conversion. When to specify FormatArgsAsExp You must specify a value for FormatArgsAsExp…
TypeOf – PB Docs 125
TypeOf PowerScript function Description Determines the type of an object or control, reported as a value of the Object enumerated datatype. Controls Any object Syntax
|
1 |
<span>objectname</span>.<span>TypeOf</span> ( ) |
Argument Description objectname The name of the object or control for which you want the type Return Values Object enumerated datatype. Returns the type of objectname. If objectname is…
DS_Password – PB Docs 125
DS_Password database parameter Description When you access a Sybase Adaptive Server Enterprise database in PowerBuilder through Open Client 12.5 or higher software, DS_Password is one of several parameters that you can set to enable network-based directory services in your application. (For other directory services parameters, see the See Also section.) Some directory service providers and…
DO…LOOP – PB Docs 125
DO…LOOP Description A control structure that is a general-purpose iteration statement used to execute a block of statements while or until a condition is true. DO… LOOP has four formats: DO UNTIL Executes a block of statements until the specified condition is true. If the condition is true on the first evaluation, the statement block…
MaxConnect – PB Docs 125
MaxConnect database parameter Description Sets the maximum number of simultaneous connections you want to make when accessing a database. The default is 25 simultaneous connections. You can override this default by setting MaxConnect up to the maximum number of simultaneous connections configured on the database server. When to specify MaxConnect You must specify a value…