?
Solved

how to achive an effective sum in cr for visual studio 2010

Posted on 2013-01-15
4
Medium Priority
?
240 Views
Last Modified: 2013-01-15
Hi all
i want to sum  with a condition but cant achive it

 if{chequetmp.moneda}="MN." AND {chequetmp.pagadot}="SI"then
Sum ({@CANT})

but add in the sum all when pagadot="SI" and pagadot="NO"

what can i do?
regards
0
Comment
Question by:Ernesto
[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
  • 3
4 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 38780703
Try using this formula

 if{chequetmp.moneda}="MN." AND {chequetmp.pagadot}="SI"then
        {@CANT}
 Else
        0

Summarize it to get the total

mlmcc
0
 

Author Comment

by:Ernesto
ID: 38780741
how?
0
 

Author Comment

by:Ernesto
ID: 38780753
think i got it
0
 

Author Closing Comment

by:Ernesto
ID: 38780850
Oh man
thats what i need it
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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 …
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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