Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Pull Old and New Update Record Post Reply Post New Topic
Author Message
jhayr101681
Newbie
Newbie
Avatar

Joined: 19 Sep 2011
Location: Philippines
Online Status: Offline
Posts: 6
Quote jhayr101681 Replybullet Topic: Pull Old and New Update Record
     Posted: 19 Sep 2011 at 6:37am
Hi

Please help me.. i have 1 report that need to finish. My boss threatening me to this project.. Let me tell you my problem.

let say i have 1 table and 4 field

Equipment Table
ID type field
Name field
update record field
due record field


Report Preview

ID Type      Name        Update Record    Due Record
1            tester       12 Aug 2000      15 April 2000
1            tester       15 Sept 2001     25 Aug 2001
1            tester       26 Oct 2010     25 Jan 2011
1            tester       15 mar 2011      23 Sept 2011

What i want is show the record the first Update record history and the last Due record.

ex

ID Type     Name        Update Record     Due Record
1            tester       12 Aug 2000     23 Sept 2011

Anyone please help me

Thank you
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 Sep 2011 at 6:58am
do you need the minimum and maximum value or the first and last value?
min and max is
group on ID
insert 2 summary fields
minimum of Update record set at group footer
maximum of Due record set at group footer
IP IP Logged
jhayr101681
Newbie
Newbie
Avatar

Joined: 19 Sep 2011
Location: Philippines
Online Status: Offline
Posts: 6
Quote jhayr101681 Replybullet Posted: 19 Sep 2011 at 7:06am
Originally posted by DBlank

do you need the minimum and maximum value or the first and last value?
min and max is

group on ID

insert 2 summary fields

minimum of Update record set at group footer

maximum of Due record set at group footer


Hi thank you very much for reply..

what i am doing is searching by ID Type.. When i search the ID type it will appear all date history of ID ive search..

Data is correct but how can i customize the report that showing the first Update and Latest Due record date. I have thousands of record in my database...

Im very new in CR.. can you guide me what / how can i do that?

Do you have chatting account sir? like YM or MSN?


Thank you

Edited by jhayr101681 - 19 Sep 2011 at 7:08am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 Sep 2011 at 7:12am
sorry, no chatting account.
1. do you only need this for display purposes or do you need it for evaluation (e.g. determining datetime difference)?
2. Do you need first and last record or do you need Minimum and Maximum record?
IP IP Logged
jhayr101681
Newbie
Newbie
Avatar

Joined: 19 Sep 2011
Location: Philippines
Online Status: Offline
Posts: 6
Quote jhayr101681 Replybullet Posted: 19 Sep 2011 at 7:15am
Originally posted by DBlank

sorry, no chatting account.
1. do you only need this for display purposes or do you need it for evaluation (e.g. determining datetime difference)?

2. Do you need first and last record or do you need Minimum and Maximum record?


1. i'm just need to display purposes only

2. I need to show first record from update field and show the last record of Due record field.

Thank you very much for assisting me.. Please keep posting and helping me.

Thank you
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 Sep 2011 at 7:22am
group on the ID field
place the name and the update record on the group headeron the
place the sure record on the group footer (on the far right like you have it)
in the section expert suppress the detail section and
set the GH option 'Underlay Following sections' to True
IP IP Logged
jhayr101681
Newbie
Newbie
Avatar

Joined: 19 Sep 2011
Location: Philippines
Online Status: Offline
Posts: 6
Quote jhayr101681 Replybullet Posted: 19 Sep 2011 at 8:01am
Originally posted by DBlank

group on the ID field
place the name and the update record on the group headeron the

place the sure record on the group footer (on the far right like you have it)

in the section expert suppress the detail section and

set the GH option 'Underlay Following sections' to True


Hi Thank you very much..

i will try it tomorrow once i got to my work. i will send you a copy of my works too..

Thank you very much..
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