Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Crystal Reports - COALESCE
Author
Message
bryanrevelant
Newbie
Joined: 03 Apr 2015
Online Status: Offline
Posts: 8
Topic: Crystal Reports - COALESCE
Posted: 04 May 2015 at 10:38am
Hello,
I wrote a SQL for parms. I want to have this as a record selection in Crystal.
'2015-05-04' BETWEEN v.admit_Date AND COALESCE(v.discharge_Date,CURRENT_TIMESTAMP)
I thought it would be like the below:
({?EndDischarge} IN v.admit_Date TO COALESCE(v.discharge_Date,CURRENT_TIMESTAMP)
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 04 May 2015 at 11:36am
Do you mean what is a crystal equivalent?
{?EndDischarge} IN v.admit_Date TO (if isnull(v.discharge_Date) THEN CURRENT_TIMESTAMP else v.discharge_Date)
Edited by DBlank - 06 May 2015 at 5:10am
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.