wwsql::lParameterReset

Internal flag used to determine whether to automatically clear any Named Parameters after a SQL command has executed, so the next command starts with a clean parameter list.

The Execute() or ExecuteNonQuery() methods set this flag to .T. after a command has executed, causing the next AddParameter() command to clear all existing parameters before adding the new one.

The purpose of this flag is to override the default parameter clearing behavior by doing the following:

Set the loSql.lParameterReset = .F. before the next call to AddParameter().

o.lParameterReset

Default Value

.F. - parameters are reset on next AddParameter() call after a Sql Command was executed.

.T. - parameters are preserved for the next Sql Command.

See also:

Class wwsql | wwsql::AddParameter

© West Wind Technologies, 1996-2024 • Updated: 04/18/22
Comment or report problem with topic