Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Date Parameter Brings Through Half A Job Post Reply Post New Topic
Author Message
Eoghan Murray
Newbie
Newbie
Avatar

Joined: 17 Sep 2013
Location: United Kingdom
Online Status: Offline
Posts: 1
Quote Eoghan Murray Replybullet Topic: Date Parameter Brings Through Half A Job
    Posted: 18 Sep 2013 at 1:13am
Hello all

I'm working on a milestones report where each job will have 8 different milestones/events, each with a date and time of when they were completed. I'm then working out the time difference between these milestones compared to our target times.

The problem is when I introduce a date parameter it may cut out some of the first milestones of the job as they were not within the required date range so I can't work out the time difference for the first milestone that falls within the date range.

Is there any possible formula I could insert which would say if one of the milestones for a job falls within the date range then show all of the milestones for this job?

Thanks in advance

Edited by Eoghan Murray - 18 Sep 2013 at 1:28am
IP IP Logged
kostya1122
Senior Member
Senior Member
Avatar

Joined: 13 Jun 2011
Online Status: Offline
Posts: 475
Quote kostya1122 Replybullet Posted: 18 Sep 2013 at 6:34am
you could try command option
if you know some SQL
it would be something like

select
job,
milestones,
from table
where
job in (
select Job
where date_field in start_parameter to end_parameter)

to start grab the sql query from crystal it is in database tab >>
 show SQL Query

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.