Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Previous Value function Post Reply Post New Topic
Author Message
swamy
Newbie
Newbie


Joined: 31 Oct 2008
Location: India
Online Status: Offline
Posts: 2
Quote swamy Replybullet Topic: Previous Value function
    Posted: 02 Nov 2008 at 10:05pm
Hi,
 
I have an requirement where by I need to calculate 30 days previous value.
 
Like in Deski Report it supports such as an option , it has a keyword Previous which does this .But in Crystal Report I need to implement the same .
 
Do any one have an option to do this.
 
Kindly Sugggest.
 
Thanks,
swamy
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 03 Nov 2008 at 12:13am

If you have a record for every day of the month, this isn't possible. The PreviousValue() function only looks back a single record. You can't nest them either.

Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
swamy
Newbie
Newbie


Joined: 31 Oct 2008
Location: India
Online Status: Offline
Posts: 2
Quote swamy Replybullet Posted: 03 Nov 2008 at 2:50am
Hi,
 
Thanks for your time.
 
Is there any alternative for this,like can this be done through some code.
 
kinldy suggests!
 
Thanks,
swamy
IP IP Logged
rahulwalawalkar
Senior Member
Senior Member
Avatar

Joined: 08 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 731
Quote rahulwalawalkar Replybullet Posted: 04 Nov 2008 at 2:38am
Hi...
 
Post some sample data and what you need.
 
Cheers
Rahul
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.016 seconds.