I use the date check start < end heaps in my code. I am trying to extract it, but each times it fails.
i have my code
Namespace
RulesCheck Public Class Common Public Function StartGTEnd(ByVal target As IDatesCheck, ByVal e As RuleArgs) As Boolean If CDate(target.Starting) > CDate(target.Ending) Thene.Description =
"Start Date can't be after the end date" Return False Else Return True End If End Function End ClassEnd
NamespaceBut when I use the addrule method it doesn't work.
Help
Thanks
Ellie
Public Class Common
Public Function StartGTEnd(ByVal target As IDatesCheck, ByVal e As RuleArgs) As Boolean
Copyright (c) Marimer LLC