prgwhiting
Registered User.
- Local time
- Today, 00:31
- Joined
- Apr 18, 2000
- Messages
- 15
I'm sure this is possible, but I can't find the formula anywhere. I've a table that stores records by Financial Year Date. I've got a Field YearStart which always contains 01/04 and whatever year, and a field YearEnd which always contains 31/03 and whatever year. What I need to do, is via an SQL query only select the year relevant for Date() IE. today 01/12/2001 will bring up 01/04/2001 as year start and 31/03/2002 as year end. I thought I could do this by using YearStart<=Date() etc. but this is flakey and only works on some dates. Any ideas