Cursor.insertRow() (Method)

A new row is inserted into the table that the cursor is pointing at.

Availability:

JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Number primitive
JavaScript syntax:NESmyCursor.insertRow(aTableName)
Argument list:aTableNameThe name of a table to have the new data inserted into it

New rows can be inserted into the table if the cursor is updateable.

Note that there is no guarantee as to the position of the new inserted record. There may be automatic sorting triggers activated in the database that cause it to be sorted into the correct position or the new record may simply be appended to the end. It is implementation-dependent.

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

See also:Status Code