Was this helpful?
DBInsert Method
The DBInsert method performs inserts on database tables with columns mapped to variables or fields specified for insertion.
This method has the following syntax:
integer = QueryObject.DBInsert([rownumber = integer]
          [, isrepeated = integer])
This method has the following parameters:
rownumber
Specifies the row affected by the operation. This parameter is needed only if the query is opened in QY_CACHE mode. The parameter defaults to the current row. An insert is interpreted as before this row. It is legal to pass maxrow + 1 to append to the end of the cache.
isrepeated
Specifies whether the query is repeated. Valid values are TRUE (to specify a repeat query), or FALSE.
Default: FALSE
If the DBInsert method is successful, it returns ER_OK. If it is not successful, it returns a non-zero value. Descriptions of system constant values and their numeric equivalents are listed in Error Codes).
Last modified date: 06/25/2024