Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Calling PowerScript from an extension – Page 24 – PowerBuilder Library

Calling PowerScript from an extension

PBBoundedObjectArrayCreator class – PB Docs 125

PBBoundedObjectArrayCreator class Description The PBBoundedObjectArrayCreator class is used to create an object array. Methods PBBoundedObjectArrayCreator has two methods: GetArray SetAt Document get from Powerbuilder help Thank you for watching.

GetCount – PB Docs 125

IPB_Arguments interface: GetCount method Description Obtains the number of arguments in an instance of PBCallInfo. Syntax

Return Values pbint. Examples This example uses GetCount in a FOR loop used to process different argument types:

See Also GetAt Document get from Powerbuilder help Thank you for watching.

IPB_ResultSetAccessor interface – PB Docs 125

IPB_ResultSetAccessor interface Description The IPB_ResultSetAccessor interface is used to access result sets in DataWindow and DataStore objects. Methods The IPB_ResultSetAccessor interface has six methods: AddRef GetColumnCount GetColumnMetaData GetItemData GetRowCount Release Document get from Powerbuilder help Thank you for watching.

AddRef – PB Docs 125

IPB_ResultSetAccessor interface: AddRef method Description When you call the CreateResultSet function of interface IPB_Session, you need to pass an argument of type IPB_ResultSetAccessor. The AddRef function is called on that argument and the Release function is called when the pbobject is destroyed. Syntax

Return Values None. See Also CreateResultSet GetColumnCount Document get from Powerbuilder…

GetColumnCount – PB Docs 125

IPB_ResultSetAccessor interface: GetColumnCount method Description Obtains the number of columns. Syntax

Return Values Unsigned long. Examples This statement stores the number of columns in *numCols:

See Also CreateResultSet GetRowCount Document get from Powerbuilder help Thank you for watching.

GetItemData – PB Docs 125

IPB_ResultSetAccessor interface: GetItemData method Description Accesses the data in a cell. The first row is 1 and the first column is 1. Syntax

Argument Description row The row number of the cell col The column number of the cell data A pointer to an IPB_RSItemData structure Return Values Boolean. Examples This example stores the…

GetColumnMetaData – PB Docs 125

IPB_ResultSetAccessor interface: GetColumnMetaData method Description Obtains a column’s metadata. The column number of the first column is 1. Memory must be allocated for columnName before this function call. The pointer values can be null. Syntax

Argument Description columnNum The number of the column for which you want to obtain metadata columnName The name of…

IPB_RSItemData interface – PB Docs 125

IPB_RSItemData interface Description The IPB_RSItemData interface is used as an argument to the GetItemData function of IPB_ResultSetAccessor. Methods The IPB_RSItemData interface has two methods: SetData and SetNull. Document get from Powerbuilder help Thank you for watching.

GetRowCount – PB Docs 125

IPB_ResultSetAccessor interface: GetRowCount method Description Obtains the number of rows. Syntax

Return Values Unsigned long. Examples This statement stores the number of rows in *numRows:

See Also CreateResultSet GetColumnCount GetColumnMetaData GetItemData Document get from Powerbuilder help Thank you for watching.

Header file contents – PB Docs 125

Header file contents PBNI classes and interfaces are defined in a set of header files. pbni.h The classes, structures, and methods defined in the header file pbni.h allow PowerBuilder extension modules to interact with PowerBuilder. This file also includes the pbarray.h, pbfield.h, and pbnimd.h header files. pbarray.h, pbfield.h, pbtraits.h, and pbnimd.h pbarray.h contains helper classes…