Evaluating dates against NULL values
What is the best way of evaluating dates against NULL values, as the following code generates an invalid cast exception, when there is a NULL value forFailureDate? Thanks
If blnStarStockAnd dteDay = row("FailureDate")Or dteDay = GetMaxTradeDate
(row("CompanyKey"), row("CompanyCode"))Then
' Do Something
EndIf

