Navigation:  Advantage .NET Data Provider > AdsExtendedReader Class > AdsExtendedReader Methods >

AdsExtendedReader.AppendRecord

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Appends an empty record to the end of the table.

public void AppendRecord();

Remarks

AppendRecord appends a blank record to the end of the table, locks the record, and positions the table to the new record. Changes are written when the user moves off of the appended record or calls WriteRecord. Transactions have some affect on appending records; see Advantage Transaction Processing for more information on appends during transactions.

Note With ADT tables, Advantage implements a record re-use algorithm that recycles records that have been deleted (DeleteRecord). This means that the newly appended record may not actually be at the end of the table. An application should not make any assumptions about the new record number.

See Also

DeleteRecord

RecordNumber