wwsql::SQLBuildInsertStatementFromObject

Creates a SQL INSERT string from a SCATTER NAME type object.

o.SQLBuildInsertStatementFromObject(loData,lcTablename,loSQLRecord, llUseNamedParameters)

Return Value

String of the SQL INSERT statement or ""

Parameters

loData
SCATTER NAME type object that contains the field data to be inserted into the table.

lcTablename
The name of the table to insert to.

loSqlRecord
Optional - Instance of a record to compare to to determine which fields need to be updated.

llUseNamedParameters
Optional - if .t. uses any named parameters added to the named parameter section.


See also:

Class wwsql

© West Wind Technologies, 1996-2018 • Updated: 05/20/13
Comment or report problem with topic