Solved

DIFFERENT FORMAT FOR SAME DETAIL DATASET

Posted on 2013-05-20
11
250 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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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