PowerServerResult object

A PowerServerResult system object is used to store the result of merged operations.

As suggested by the object name, this object and its functions only take effect when the application is deployed via the PowerServer project. This object and its functions will not be executed or modify how the application works in the traditional client/server environment (they will be ignored when the application is deployed via the PowerClient project or the Application project).

Properties

PowerServerResult property

Datatype

Description

SQLCode

Long

The SQLCode property of the Transaction object.

SQLDBCode

Long

The SQLDBCode property of the Transaction object.

SQLNRows

Long

The number of rows affected by the most recent SQL operation. The database vendor supplies this number, so the meaning may be different for each DBMS.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

SQLErrText

String

The SQLErrText property of the Transaction object.


Functions

PowerServerResult function

Datatype returned

Description

ClassName

String

Returns the name assigned to the user object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

PostEvent

Boolean

Adds an event to the end of the message queue of the user object.

TriggerEvent

Integer

Sends an event to the user object and executes the script associated with the event.

TypeOf

Object

Returns the type of the user object.