Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Summing Issue Post Reply Post New Topic
<< Prev Page  of 5
Author Message
cheryla
Groupie
Groupie


Joined: 23 Oct 2013
Online Status: Offline
Posts: 51
Quote cheryla Replybullet Posted: 26 Nov 2013 at 8:01am
I just realized what you were trying to do. sorry!
 
If I change the formula then I will lose the other part of what I am trying to accomplish. Each po line can have mulitple receiving dates. I want to compare the first receving date to the desired recvg date and say if it's then late else on_time. The other problem is that each po can have multiple lines. THe theory is if one line is late then the entire po is late. I have this part all worked out. It's just that I need to suppress the po #'s that aren't late. I hope all this makes sense.
 
I have tried suppressing the po field itself and using the section expert but it's been either all or nothing so far.
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 26 Nov 2013 at 8:35am
you could try something like
formula1
if receiving date > desired recvg date then 1 else 0
formula2
sum(formula1,po #)
section expert
not(formula2 >0)

Edited by kostya1122 - 26 Nov 2013 at 8:36am
IP IP Logged
cheryla
Groupie
Groupie


Joined: 23 Oct 2013
Online Status: Offline
Posts: 51
Quote cheryla Replybullet Posted: 26 Nov 2013 at 9:11am
Is this in addition to my late line formula or instead of?
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 26 Nov 2013 at 9:19am
this is just for suppressing. PO# that were not late.
IP IP Logged
cheryla
Groupie
Groupie


Joined: 23 Oct 2013
Online Status: Offline
Posts: 51
Quote cheryla Replybullet Posted: 26 Nov 2013 at 10:14am
ok I did what you suggested and it works (sort of). I'm going to see if I can try a couple of things and come back to it tomorrow. I'm sure I'll be back thanks again for your help.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 27 Nov 2013 at 3:54am
not knowing your whole data set this might work, you will have to make sure though
 
Minimum ({RECEIVER.RECEIVED_DATE}, {PURC_ORDER_LINE.LINE_NO})<=Maximum({PURCHASE_ORDER.DESIRED_RECV_DATE}, {PURC_ORDER_LINE.LINE_NO})
IP IP Logged
<< Prev Page  of 5
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.035 seconds.