Navigation:  DataServer Classes > DaoQuery Class >

DaoQuery:Append() Method

Previous pageReturn to chapter overviewNext page

Purpose

Append a blank record to the recordset; this blank record becomes the current position and is ready for assignment of data values.

When the underlying recordset has default values for certain columns, those values are assigned to the columns in the server as well.

 

When the Query is a child in a (selective) relation the link column(s) are filled with the values of the parent column(s).

 

NoteThe new record is only written to disk when you move of the newly appended record by calling  a record movement method or when you call the DaoServer:Commit() method. When you call the DaoServer:Cancel() method, the new record is discarded.

 

Returns

TRUE if the operation was successful; FALSE if not.

 

Description

Sends a NotifyIntentToMove message before the operation.  Sends a NotifyAppend message, if successful.

 

Class

DaoQuery

 

See Also

DaoRecordSet:AddNew()

DaoServer:Append()