AdoRecordSet:AddNew()

<< Click to Display Table of Contents >>

Navigation:  Ado Classes > AdoRecordset Class >

AdoRecordSet:AddNew()

Previous pageReturn to chapter overviewNext page

Purpose

Creates a new record for an updatable Recordset object.

 

Prototype

METHOD AddNew ( aFieldList AS USUAL,aValues AS USUAL )  AS VOID 

 

Argument(s)

aFieldList        (Optional) A single name, or an array of names or ordinal positions of the fields in the new record.

aValues        (Optional) A single value, or an array of values for the fields in the new record. If Fields is an array, Values must also be an array with the same number of members; otherwise, an error occurs. The order of field names must match the order of field values in each array.

 

 

See Also

AdoRecordSet, AdoRecordSet:Delete()