Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Date Formula Needes Post Reply Post New Topic
<< Prev Page  of 3
Author Message
lahorichick
Groupie
Groupie


Joined: 13 Aug 2009
Online Status: Offline
Posts: 54
Quote lahorichick Replybullet Posted: 04 Sep 2009 at 4:00am
but lets say an account had activity in 2005 and 2001 I would still like to see that account, because the last time i did business with them was in 2005.
 
 
IP IP Logged
lahorichick
Groupie
Groupie


Joined: 13 Aug 2009
Online Status: Offline
Posts: 54
Quote lahorichick Replybullet Posted: 04 Sep 2009 at 4:40am
this is what the select expert is reading:
 
Sum ({@Date 3}, {BILLACCT.NAME}) = 0.00 and
Sum ({@Date 2}, {BILLACCT.NAME}) > 0.00 and
Sum ({@Date}, {BILLACCT.NAME}) = 0.00
 
@Date = if ({INVOICE.DATE} in Date (2003, 01, 01) to Date (2008, 12, 31)) then 1 else 0
 
@Date2 = if {INVOICE.DATE}  < Date (2003, 01, 01) then 1 else 0
 
 
@Date3= if {INVOICE.DATE}  > Date (2008, 12, 31) then 1 else 0
 
I'm looking through the results that I have---and its ONLY invoices for 2002--nothing else?
IP IP Logged
lahorichick
Groupie
Groupie


Joined: 13 Aug 2009
Online Status: Offline
Posts: 54
Quote lahorichick Replybullet Posted: 04 Sep 2009 at 4:47am
ok the last formula you gave:
if ({INVOICE.DATE} in Date (2003, 12, 01) to Date (2008, 12, 01)) then 0 else 1
 
looks right--i ran it..the results look like...nothing for 2002 picked up nothing for 2009 picked up
 
but i want to confirm with you...if an account was invoiced in 2002 and then in 2007 that WILL come up in these results yes?
IP IP Logged
lahorichick
Groupie
Groupie


Joined: 13 Aug 2009
Online Status: Offline
Posts: 54
Quote lahorichick Replybullet Posted: 04 Sep 2009 at 7:33am
OK..so i had to revert back to those 3 seperate forumla..it worked..i'm done...atleast with this one..back to the other report...(hopefully not until Monday)
 
thanks for ur help
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 04 Sep 2009 at 7:34am
lol. I was in the middle of a really long reply explaining to use the 3 formulas again.
Glad it worked out Clap
IP IP Logged
<< Prev Page  of 3
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.