 |
CeDeleteRecord ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function deletes a record from a database. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL CeDeleteRecord(
HANDLE hDatabase,
CEOID oidRecord
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeDeleteRecord IN rapi;
INTEGER hDatabase,;
INTEGER oidRecord
|
 |
 |
 |
| Parameters: |
 |
hDatabase
[in] Handle to the database from which the record is to be deleted. The database must be open. Open a database by calling the CeOpenDatabase function.
oidRecord
[in] Object identifier of the record to be deleted; this is obtained from CeOpenDatabase. |
 |
 |
| Return value: |
 |
| TRUE indicates success. |
 |
 |
| My comment: |
 |
To add new record call CeWriteRecordProps with oidRecord set to zero. To delete a property of a record call CeWriteRecordProps with the CEDB_PROPDELETE flag set.
See also CeOpenDatabase, CeWriteRecordProps functions. |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-26 10:21:55 | | Modified: | 2004-08-26 10:26:20 | Visited in last 7 days: 13 |