Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Report Design
Topic: Combine two record selection criteria to a formula
Author
Message
DTejadaD
Newbie
Joined: 30 Aug 2013
Location: Bolivia
Online Status: Offline
Posts: 2
Topic: Combine two record selection criteria to a formula
Posted: 11 Sep 2013 at 3:59am
Hi to all,
I am struggling to make a report combining two diferents record selection criteria to a single report, and I can not find how to do it.
Report 1 (Loans)
1) Record selection: {envases.DC_CODE} in ["EV", "EX", "NR"]
Formula Fields: {envases.MV_QTY}
Report 2 (Returns)
2) Record selection: {envases.DC_CODE} in ["DV"]
Formula Fields: {envases.MV_QTY}
My goal is to substract the {envases.MV_QTY} form Report 1 minus Report 2 in one single report or (Loans - Returns).
I would be very thankful for the help.
Kind Regards,
Daniel T.
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 11 Sep 2013 at 5:00am
Record selection: {envases.DC_CODE} in ["EV", "EX", "NR","DV"]
create a formula field
if {envases.DC_CODE} in ["EV", "EX", "NR"] then {envases.MV_QTY} else {envases.MV_QTY} *(-1)
sum that.
IP Logged
DTejadaD
Newbie
Joined: 30 Aug 2013
Location: Bolivia
Online Status: Offline
Posts: 2
Posted: 11 Sep 2013 at 11:07am
WOW Perfect! Thank you very much.
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.