BBjRecordSet::insert
Description
In BBj 4.0 and higher, this method inserts a new BBjRecordData buffer to the BBjRecordSet.
Syntax
Return Value |
Method |
---|---|
void |
insert(BBjRecordData recordData) |
Parameters
Variable |
Description |
---|---|
recordData |
Specifies a BBjRecordData object. |
Return Value
None.
Remarks
Use this method to insert a new record to the recordset. Attempting to insert a record that already exists in the recordset generates an error. To update an existing record, use BBjRecordSet::update. After calling this method, the current record is unchanged. That is to say after inserting a record, you must seek to that newly inserted record before attempting to update. Note that the inserted record may not be visible within the recordset if, for instance, the select statement would not have included it in the original result set.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.