Solved

DIFFERENT FORMAT FOR SAME DETAIL DATASET

Posted on 2013-05-20
11
251 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
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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