This member function adds a new record to the database.
BOOL AddRecord( CCeDBRecord* pRecord );
Header file: | Wcedb.h |
Platforms: | |
Versions: | 2.0 and later |
TRUE if the record was successfully added. FALSE if there was an error. Call ::GetLastError to determine why the operation failed.
The position at which the record is entered depends on the sort orders currently in force for the database. If there are no sort orders defined, the record is placed at the end.
CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, ::GetLastError