The Btrieve bulk create payload class.
More...
#include <btrieveCpp.h>
The Btrieve bulk create payload class.
- Examples
- btestbulk.cpp.
◆ BtrieveBulkCreatePayload()
BtrieveBulkCreatePayload::BtrieveBulkCreatePayload |
( |
| ) |
|
- Snippet
- C++ btestbulk.cpp Python btestbulk.py
btrieveBulkCreatePayload = btrievePython.BtrieveBulkCreatePayload()
assert(btrieveBulkCreatePayload != None)
◆ ~BtrieveBulkCreatePayload()
BtrieveBulkCreatePayload::~BtrieveBulkCreatePayload |
( |
| ) |
|
◆ AddRecord()
Btrieve::StatusCode BtrieveBulkCreatePayload::AddRecord |
( |
const char * | record, |
|
|
int | recordLength ) |
Add a record.
- Parameters
-
- Description
- Bulk create attributes have no records initially.
- Snippet
- C++ btestbulk.cpp Python btestbulk.py
rc = btrieveBulkCreatePayload.AddRecord(record)
assert(rc == btrievePython.Btrieve.STATUS_CODE_NO_ERROR), "Error: BtrieveBulkCreatePayload::AddRecord():%d:%s.\n" % (rc, btrievePython.Btrieve_StatusCodeToString(rc))
- Return values
-
= Btrieve::STATUS_CODE_NO_ERROR | Success. |
!= Btrieve::STATUS_CODE_NO_ERROR | An error has occurred. |
- See also
- Btrieve::StatusCodeToString
- Examples
- btestbulk.cpp.