API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IDATABASE_CREATERECORD()

Brew Release
Brew MP 1.0.2
See Also
Description
This function creates a new database record with the fields specified by pDBFields in the database specified by pIDatabase.
Params
pIDatabase
[]:
Pointer to the IDatabase Interface object in which the record is being created.
pDBFields
[]:
Pointer to the database fields that need to be placed in a new record created by this function.
iNumFields
[]:
Number of fields in the record.
Interface
  • IDATABASE
Prototype
  • IDBRecord * IDATABASE_CreateRecord( IDatabase * pIDatabase, AEEDBField * pDBFields, int iNumfields);
    
Return
  • Pointer to the database record created : if successful. NULL : If unsuccessful.
Side Effect
  • None
Comments
A new record is added to the database. The IDBRecord must be released using the IDBRECORD_Release() before the database is released. If records are not released, IDATABASE_Release() cannot close the database.