This method adds a new record to the database.
Header file: | Wcedb.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 2.0 and later |
BOOL AddRecord( CCeDBRecord* pRecord );
TRUE indicates that the record was successfully added. FALSE indicates that there was an error. To get extended error information, call GetLastError.
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.