Applies a SQL INSERT statement to all the rows in a table window that have the ROW_New flag.

Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public SalBoolean DoInserts(
	SalSqlHandle hSql,
	SalBoolean clearFlags
)

Parameters

hSql
Type: PPJ.Runtime.Sql..::..SalSqlHandle
Sql handle with the prepared INSERT statement
clearFlags
Type: PPJ.Runtime..::..SalBoolean
Whether to reset the ROW New flag. If TRUE, clears the ROW New flag of each inserted row; if FALSE, does not clear the ROW New flag of each inserted row. This is useful for error handling; if an error occurs, you can rollback the transaction and try again.

Return Value

bool

See Also