Cursor.updateRow() (Method)

Any pending changes to the current row are saved back to the database.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESmyCursor.updateRow(aTableName)
Argument list:aTableNameThe name of a table to be updated with the new data

If the cursor is updateable, then the row currently referred to by the cursor can be updated.

You may need to perform a commit action on the database to confirm the changes and avoid them being rolled back when the session is closed. Whether this is necessary depends on whether there are auto-confirm triggers or whether the target database even supports a two phase commit.

Refer to the Status Code topic for a list of the status code values that are returned by this method.

See also:Status Code