Slightly nicer than what i had before (used a loop) but how do you easily determine whether the first day of the financial year occurred this year or last year? :)
Thanks
L
Main Topics
Browse All TopicsI'm trying to do this in Crystal Reports XI R2 but it's the logic which is frustrating me (the language i can handle).
Our financial year starts on the first monday of October.
Thanks
L
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
So what you really need is given a date in a record you need to determine the Fiscal Year.
Try this for FY
WhilePrintingRecords;
If Month({dateField}) IN [1 to 9] then
Year({dateField})
else If Month({dateField}) IN [11 to 12] then
Year({dateField}) + 1
else if {dateField}>= {@FirstDayofOctober} then
Year({dateField}) + 1
else
Year({dateField})
Change the other formula to
WhilePrintingRecords;
Local DateVar OneOct := Date(Year({dateField}),10,
Local DateVar FirstDay;
FirstDay := OneOct + ((8 - DayOfWeek(OneOct,crMonday)
mlmcc
Business Accounts
Answer for Membership
by: mlmccPosted on 2009-10-22 at 06:48:52ID: 25634111
Try this formula
) mod 7);
WhilePrintingRecords;
Local DateVar OneOct := Date(2009,10,1);
Local DateVar FirstDay;
FirstDay := OneOct + ((8 - DayOfWeek(OneOct,crMonday)
FirstDay
mlmcc