Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Adding numbers per calendar month Post Reply Post New Topic
Author Message
adders
Groupie
Groupie


Joined: 09 Aug 2010
Online Status: Offline
Posts: 53
Quote adders Replybullet Topic: Adding numbers per calendar month
    Posted: 03 Nov 2011 at 4:51am
Hi,

I have two database fields, one with quantities and one with unit costs, how can I display the total values per calander month for the past year, which it will update every month, always keeping the values at 1 year?

Many thanks
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 04 Nov 2011 at 3:53am
I would think a cross tabs style report.  grouping by the month and in the report/selection formulas/record set the filter to be something like:
 
{table.field} >= cdate(year(now)-1, month(now) ,1)
 
 
HTH
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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.031 seconds.