SQL::Connection::UpdateData()

Syntax

Result_Flag as L = <SQL::Connection>.UpdateData( TableOwner as C, TableName as C, <ResultSet> as SQL::ResultSet [, EventScript as C ] )

Argument

Description

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

<SQL::Connection>

A SQL::Connection object.

TableOwner

The owner of the table.

TableName

The name of the table containing the data.

<ResultSet>

A SQL::ResultSet object that contains transactions to apply.

EventScript

Optional. Default = "". An Xbasic Script implementing any of the following functions:

  • UpdateBegin()

  • UpdateProgress()

  • UpdateEnd()

In each case, the Context argument is the connection itself.

Description

The UpdateData() method applies changes to existing rows in a table in the currently connected database using a result set.

Supported By

Alpha Five Version 8 Enterprise Edition

Limitations

Desktop applications only.

Examples

 

See Also

SQL::Connection Object