Generate an IIF (or equivalent) SQL block.

Syntax

ISDatabaseBL.SqlIif(condition, trueValue, falseValue, [autoEscape])

Parameters

NameTypeOptionalByRefDescription
condition String The Condition.
trueValue String The value to use if Condition is True.
falseValue String The value to use if Condition is False.
autoEscape Boolean Optional Indicates that all '[' and ']' characters appearing in the condition, trueValue and falseValue should be replaced with the correct Escape characters for this Database Provider. If omitted, a value of False is assumed.

Return Value

String

A String value.

Member of:
ISDatabaseBL
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0