GetDynamicInserter (open)

Creates an object that can insert records into a table that is specified at run-time.

Syntax

LOADLIB "wh::dbase/dynquery.whlib";

OBJECT FUNCTION GetDynamicInserter(OBJECT trans, STRING tablename, RECORD options)

Parameters

OBJECT trans

Transaction to use

STRING tablename

Name of the table to insert into

RECORD options

Options

STRING ARRAY cols

List of the database names of all the columns that will be inserted

Return value

OBJECT
Possible objecttypes:

Inserter