Solved

DIFFERENT FORMAT FOR SAME DETAIL DATASET

Posted on 2013-05-20
11
252 Views
Last Modified: 2013-05-20
Hi All,

I have a CR report :

1. I want to have a different format.
2. I want to have a detail of Day Status at first row of detail section.
    Currently the first row is "Hari Kerja"
    I want to have "Day Status" before at first row.
    Day Status    "WD"   "HD" ......
    WD means WorkDay, HD means Holiday.
    The problem for adding Day Status is the data type of the dataset.

    Other way is create a new dataset for it which SlipGajiStatusHari. But I failed to do it.

How could I do it ?

Thank you.
PAYMENT-SLIP.png
0
Comment
Question by:emi_sastra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
11 Comments
 
LVL 1

Author Comment

by:emi_sastra
ID: 39180622
The rpt file.

Thank you.
rptSlipGajiStyleMini.rpt
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39181109
I am not sure what it is you want to add.

Can you determine which value each column gets based on the number?

mlmcc
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39182874
Please look at it again :

1. Hari Kerja
2. Hari Kerja Shift II
3. Lembur
4. 1.5x
...
8. 4x

Those data are feed from Detail Section 3.

Thank you.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 1

Author Comment

by:emi_sastra
ID: 39182877
From Dataset SlipGajiDetail.

Thank you.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39183096
Without data or at least an example it is very difficult to determine how to do what you want.

mlmcc
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39183113
Let's have a scenario :

We have a dataset :

1. EmpCode
2. EmpName
3. AttendDay01
.
.
X. AttendDay31

The AttendDay01 to AttendDay31 data type is double.

At CR we have :

Hari Kerja   1.00   1.00  and so on

Lembur      1.00    1.00 and so on

All of them are from the same dataset.

Now, I want the result :

Hari Kerja   1   1  and so on (without decimals point)

Lembur      1.00    1.00 and so on

Thank you.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 39183196
Just format them without the decimals.

Right click the field
Click FORMAT FIELD
Click the NUMBER TAB
Set it to 0 decimals

mlmcc
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39183206
Current :

Hari Kerja   1.00   1.00  and so on
Lembur      1.00    1.00 and so on

All of them are from the same dataset.

Now, I want the result :

Hari Kerja   1   1  and so on (without decimals point)
Lembur      1.00    1.00 and so on

Not like :
Hari Kerja   1   1  and so on (without decimals point)
Lembur       1    1 and so on

Remember they all have the same dataset.

Thank you.
0
 
LVL 1

Author Comment

by:emi_sastra
ID: 39183213
Remember they all have the same dataset and at the same detail section.

Thank you.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39183306
Try this formula in the custom number of decimals

If ({SlipGajiDetail.ValKeterangan} = "Hari Kerja") then
    0
Else
    2

Open in new window


mlmcc
0
 
LVL 1

Author Closing Comment

by:emi_sastra
ID: 39183473
Great.

Thank you very much for your help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question