B
Bre-x
Hi,
I have a table with GL entries, i need to find out what fiscal year each
entry belogns to what FY (fiscal year).
Example 12/17/2001 will be FY 2001 because 2001 FY goes from 07/01/2001 to
07/31/2002, and soo on
i have a function but it's not working:
Function FY(D As Date)
Select Case D
Case D <= "8/31/2002"
FY = 2001
Case D >= "8/31/2002" And D <= "8/31/2003"
FY = 2003
Case Else
FY = 0
End Select
End Function
Any idea what's wrong with it?
John
I have a table with GL entries, i need to find out what fiscal year each
entry belogns to what FY (fiscal year).
Example 12/17/2001 will be FY 2001 because 2001 FY goes from 07/01/2001 to
07/31/2002, and soo on
i have a function but it's not working:
Function FY(D As Date)
Select Case D
Case D <= "8/31/2002"
FY = 2001
Case D >= "8/31/2002" And D <= "8/31/2003"
FY = 2003
Case Else
FY = 0
End Select
End Function
Any idea what's wrong with it?
John