Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DIFFERENT FORMAT FOR SAME DETAIL DATASET

Posted on 2013-05-20
11
Medium Priority
?
257 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 101

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
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 
LVL 1

Author Comment

by:emi_sastra
ID: 39182877
From Dataset SlipGajiDetail.

Thank you.
0
 
LVL 101

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 101

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 101

Accepted Solution

by:
mlmcc earned 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 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