Solved

Group formula produces duplicates

Posted on 2011-09-08
3
260 Views
Last Modified: 2012-05-12
I have the following  group formula in a sub report. It produces duplicate records, any ideas ?

if isnull({ListOfProfDetailCost.CostCard1__Voucher1__OpenAmt}) or ({ListOfProfDetailCost.CostCard1__Voucher1__OpenAmt}=0) then
    "Disbursments (Paid)"
else
    "Disbursments (Unpaid)"
0
Comment
Question by:mowit
[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
  • 2
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 36507296
Wht do you mean it produces duplicate records?

A formula cannot produce duplicates.

The duplicates are produced by the SQL your report uses most likely through an incorrect link between tables.

mlmcc
0
 

Author Comment

by:mowit
ID: 36507318
mlmcc,

when i remove the group and place a field in the details section 1 record prints but when I add this group i get duplicates. I'm using XML datasource. I verified only one record exists.
0
 

Author Closing Comment

by:mowit
ID: 36507441
thank you
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
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 video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

705 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