Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Bespoke Financial Year Function
Oldest Post First
Newest Post First
Author
Message
dibblejon
Newbie
Joined: 05 Jan 2011
Location: United Kingdom
Online Status: Offline
Posts: 32
Topic: Bespoke Financial Year Function
Posted: 10 Aug 2011 at 5:59am
Hi
My companies financial year runs from 01/07 to 30/06
Is there an easy way I can setup this up so that I can subtotal reports by year but between these months?
Many thanks
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 10 Aug 2011 at 6:07am
one way ...
you can create a formula to convert the date to FYxx tehn use that formula field for grouping and sub totals or running totals
'FY' +
(if month(datefield) in 1 to 6 then totext(year(datefield)-1,0,"") else totext(datefield,"yy"))
Edited by DBlank - 10 Aug 2011 at 6:08am
IP Logged
dibblejon
Newbie
Joined: 05 Jan 2011
Location: United Kingdom
Online Status: Offline
Posts: 32
Posted: 10 Aug 2011 at 11:31pm
Hi
Thanks for taking the time to help.
This is nearly what I need. This returns 09,2009 for a FY or 10,2010 etc...
How can I amend to just display 2009,2010?
And is there a way to save the formual in crystal so it can be used over and over?
IP Logged
dibblejon
Newbie
Joined: 05 Jan 2011
Location: United Kingdom
Online Status: Offline
Posts: 32
Posted: 10 Aug 2011 at 11:42pm
Please ignore
Have sorted. Just added another formula that extracted the last two digits in the field created.
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
This page was generated in 0.016 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.