harrymossman
Technical User
I'm trying to check whether the user is matching dates and fiscal years correctly. The code below gives an error message no matter what date is entered, e.g. 7/1/2003. Brain slow today. What am I doing wrong?
Harry
Harry
Code:
if substr(Year.value,1,2) ="03" then
if self.value < 10/1/2002 or self.value > 9/30/2003 then
msgInfo("Stop","Date is outside fiscal year shown above.")
endIf
endIf