Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: date field Post Reply Post New Topic
Author Message
shirase22
Newbie
Newbie
Avatar

Joined: 22 Nov 2008
Location: Philippines
Online Status: Offline
Posts: 9
Quote shirase22 Replybullet Topic: date field
     Posted: 22 Nov 2008 at 8:55pm
Hi..

I have a problem with separation of date field

the date is displayed below

Jan 2, 2008
March 3, 2008
April 5, 2008
June 4, 2008
August 5, 2008

but it should be like this

August 5, 2008        June 4, 2008           April 5, 2008

i need the three previous months...can somebody help me about this??
it would be a great help...thanks
Practice makes perfect
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: 24 Nov 2008 at 4:55am

Hi

Create a formula to find month from currentdate.then subtract 3 from that month.
 
Frm
month(currentdate)-3
 
Then in your record selection formula check for
 
frm < {table.fieldname}
 
Cheers
Rahul
 
IP IP Logged
shirase22
Newbie
Newbie
Avatar

Joined: 22 Nov 2008
Location: Philippines
Online Status: Offline
Posts: 9
Quote shirase22 Replybullet Posted: 01 Dec 2008 at 10:30pm
thanks...
Practice makes perfect
IP IP Logged
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