Powerbuilder Documentation

Powerbuilder Documentation

Using AutoScript – PB Docs 110

Using AutoScript AutoScript is a tool designed to help you write PowerScript code more quickly by providing a lookup and paste service inside the Script view. It is an alternative to using the paste toolbar buttons or the Browser—you do not need to move your hands away from the keyboard to paste functions, events, variables,…

MaxValDateTime – PB Docs 125

MaxValDateTime property for PowerScript controls Controls grAxis objects in Graph controls Description The MaxValDateTime property specifies the maximum value for an axis when the axis datatype is date or time. This property is not used if the Autoscale property is enabled. Usage In a painter To set the maximum value of an axis with a…

Using dynamic SQL – PB Docs 126

Using dynamic SQL DataWindow object property General information Because database applications usually perform a specific activity, you usually know the complete SQL statement when you write and compile the script. When PowerBuilder does not support the statement in embedded SQL (as with a DDL statement) or when the parameters or the format of the statements…

Testing and debugging the component – PB Docs 126

Testing and debugging the component This section describes three techniques you can use to test your component: Live editing Remote debugging Putting messages into the EAServer log Troubleshooting EAServer components For more information about troubleshooting components, see the EAServer documentation. Document get from Powerbuilder help Thank you for watching.

IPB_Arguments interface – PB Docs 150

IPB_Arguments interface The IPB_Arguments interface has two methods: GetCount obtains the number of arguments in a method call. GetAt obtains the value at a specific index of the pArgs member of the PBCallInfo structure. For each argument, GetAt returns a pointer to the IPB_Value interface. The following code fragment uses GetCount and GetAt in a…

CSMin – PB Docs 2017

CSMin database parameter Description Specifies the minimum number of database connections in a connection or session pool. Applies to ORA Oracle 11g and Oracle 9.2 or later databases Syntax

Parameter Description value Specifies the minimum number of database connections in a connection or session pool. Default value 1 Usage This value is ignored when…

GetDataLabelling – PB Docs 2017

GetDataLabelling PowerScript function Description Determines whether the data at a given data point is labeled in a DirectX 3D graph. Applies to Graph controls in windows and user objects, and graphs in DataWindow controls Syntax

Argument Description controlname The name of the graph from which you want data, or the name of the DataWindow…

CancelSync – PB Docs 2018

CancelSync PowerScript function Description Cancels the synchronization process and rolls back any changes accumulated during the processing. Applies to MLSynchronization, MLSync controls Syntax

Argument Description syncObject The name of the synchronization object that started a synchronization process that you want to stop. Return value Integer. Returns 1 for success and -1 for failure. Examples…

mailSession object – PB Docs 2019

mailSession object The mailSession nonvisual object signs on and establishes a messaging application program interface (MAPI) session. Properties mailSession property Datatype Description ClassDefinition PowerObject An object of type PowerObject containing information about the class definition of the object or control MessageID[ ] String Contains the IDs of the messages in a user’s mail inbox SessionID…

EXIT – PB Docs 2021

EXIT Description In a DO…LOOP or a FOR…NEXT control structure, passes control out of the current loop. EXIT takes no parameters. Syntax

Usage An EXIT statement in a DO…LOOP or FOR…NEXT control structure causes control to pass to the statement following the LOOP or NEXT statement. In a nested loop, an EXIT statement passes…