lcHolder1 = "01/01/2002" *-- Do a cursory check for a proper date format lcSetDate = SET("DATE") SET DATE TO BRITISH *-- just the way we want it.... IF EMPTY(CTOD(lcHolder1)) *-- This must be an error wait WINDOW "it is empty" nowait ELSE *-- This should be okay, so compare some dates.... wait WINDOW "it is not empty" nowait ? lcHolder1 ENDIF>Hi Everyone.....
>lcHolder1 = "01/01/2002" > >*-- Do a cursory check for a proper date format >lcSetDate = SET("DATE") >SET DATE TO BRITISH >*-- just the way we want it.... >IF EMPTY(CTOD(lcHolder1)) > > *-- This must be an error > >ELSE > > *-- This should be okay, so compare some dates.... > >ENDIF > >>
IF EMPTY(CTOD("lcHolder1"))....>