Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Trimming of Data Post Reply Post New Topic
Author Message
siktui82
Newbie
Newbie


Joined: 20 Jun 2007
Online Status: Offline
Posts: 8
Quote siktui82 Replybullet Topic: Trimming of Data
    Posted: 20 Jun 2007 at 11:20pm
INV000000601 DP00000008 KARINE LEE HWEE YAW X0000009

DP00000008

X0000010

DP00000008

X0000010

DP00000008

X0000010

DP00000008

X0000009

DP00000008

X0000009

DP00000008

X0000043
INV000000602 Cheque

X0000009

Cheque

X0000010

Cheque

X0000010

Cheque

X0000010

Cheque

X0000009

Cheque

X0000009

Cheque

X0000043
INV000000603 Cash

X0000009

Cash

X0000010

Cash

X0000010

Cash

X0000010

Cash

X0000009

Cash

X0000009

Cash

X0000043
INV000000604 Cheque

X0000009

Cheque

X0000010

Cheque

X0000010

Cheque

X0000010

Cheque

X0000009

Cheque

X0000009

Hi,

based on above captures, how do i trim away repeated data in the columns?
IP IP Logged
redeyeball
Newbie
Newbie
Avatar

Joined: 20 Jun 2007
Location: South Africa
Online Status: Offline
Posts: 3
Quote redeyeball Replybullet Posted: 20 Jun 2007 at 11:57pm

Have you tried inserting a group section and moving your details in details section to the group ?

IP IP Logged
siktui82
Newbie
Newbie


Joined: 20 Jun 2007
Online Status: Offline
Posts: 8
Quote siktui82 Replybullet Posted: 21 Jun 2007 at 8:53pm
if i move everything to group. it will show only

INV000000601 DP00000008 KARINE LEE HWEE YAW X0000009

but my others details will truncated.
IP IP Logged
redeyeball
Newbie
Newbie
Avatar

Joined: 20 Jun 2007
Location: South Africa
Online Status: Offline
Posts: 3
Quote redeyeball Replybullet Posted: 22 Jun 2007 at 12:11am
O now I see, doh! Maybe try to see if you can change the data (SQL query) thats comming from DB.
IP IP Logged
__Yuri__
Newbie
Newbie
Avatar

Joined: 14 Jun 2007
Online Status: Offline
Posts: 6
Quote __Yuri__ Replybullet Posted: 24 Jun 2007 at 1:53am
I write suppress formating formulas.
You can use IF to compare your values with global vars, previous(), isnull({...}) and so on...
for instance:

if Date({DM_ACTIVITY.time_from}) = Date(Previous ({DM_ACTIVITY.time_from}))
 and {DM_ACTIVITY.activity_code} = Previous ({DM_ACTIVITY.activity_code}) then
    true
else
    false;



Edited by __Yuri__ - 24 Jun 2007 at 2:46am
One, two, Freddy's coming for you...
IP IP Logged
siktui82
Newbie
Newbie


Joined: 20 Jun 2007
Online Status: Offline
Posts: 8
Quote siktui82 Replybullet Posted: 25 Jun 2007 at 2:22am
thanks for all the idea,
i use cross tab reports to show remove dup data. :)

btw, i working on view on SQL. can anybody help?

wanted to create a view to store create a temp table and store data. CR will pull data from the temp table.

Can this work?

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.