Applies a SQL UPDATE statement to all table window rows with the Row_Edited 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 DoUpdates(
	SalSqlHandle hSql,
	SalBoolean clearFlags,
	WhenSqlErrorHandler errorHandler
)

Parameters

hSql
Type: PPJ.Runtime.Sql..::..SalSqlHandle
Sql handle with the prepared UPDATE statement
clearFlags
Type: PPJ.Runtime..::..SalBoolean
If TRUE, clears the Row Edited flag of each changed row; if FALSE, does not clear the Row Edited flag of each changed row. This is useful for error handling; if an error occurs, you can roll back the transaction and try again.
errorHandler
Type: PPJ.Runtime.Sql..::..WhenSqlErrorHandler

Return Value

bool

See Also