Append a Date Range condition to the SQL Where clause.

If the dateRange parameter contains no values then nothing will be appended.

Syntax

ISSqlWhereBuilder.AppendDateRange(fieldName, dateRange, [includeTime], [includeNullIfNoToDate])

Parameters

NameTypeOptionalByRefDescription
fieldName String The compare field name.
dateRange ISDateRange The Date Range.
includeTime Boolean Optional Indicates whether to include the Time portion of the Dates. If omitted, a value of False is assumed.
includeNullIfNoToDate Boolean Optional Indicates whether to allow the field to be Null if a From date is included but no To date. If omitted, a value of False is assumed.
Member of:
ISSqlWhereBuilder
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0