A
annysjunkmail
I am using the following code (gleamed from this Newsgroup) which
calculates financial years (1 April - 31 March).
Financial Year:
IIf(Format([LOOAcceptedDate],"m")<4,Format([LOOAcceptedDate],"yyyy")-1
& "-" &
Format([LOOAcceptedDate],"yyyy"),Format([LOOAcceptedDate],"yyyy") & "-"
& Format([LOOAcceptedDate],"yyyy")+1)
I have run into a problem in that if a date does not exist in field
LOOAcceptedDate then the statement returns an #Error. I am not sure how
to resolve this problem and was wondering could someone help me
Regards
Tony
calculates financial years (1 April - 31 March).
Financial Year:
IIf(Format([LOOAcceptedDate],"m")<4,Format([LOOAcceptedDate],"yyyy")-1
& "-" &
Format([LOOAcceptedDate],"yyyy"),Format([LOOAcceptedDate],"yyyy") & "-"
& Format([LOOAcceptedDate],"yyyy")+1)
I have run into a problem in that if a date does not exist in field
LOOAcceptedDate then the statement returns an #Error. I am not sure how
to resolve this problem and was wondering could someone help me
Regards
Tony