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: Parameter with all records
Author
Message
kezza
Newbie
Joined: 08 Mar 2012
Location: Netherlands
Online Status: Offline
Posts: 19
Topic: Parameter with all records
Posted: 12 Jun 2013 at 9:58am
Hello, in a report I have made a parameter to choose a customer. But I want also the option to choose all customers.
So one time I have to choose customer 1234 and the next time I want to choose all customers.
How do i fix that ?
Thanx.
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 12 Jun 2013 at 11:00am
is this a dynamic list you are choosing from or are you typing in a value?
if it is a list is it set to multi select or only one value?
Are you using 2008 (which allows for optional paramters)?
IP Logged
kezza
Newbie
Joined: 08 Mar 2012
Location: Netherlands
Online Status: Offline
Posts: 19
Posted: 12 Jun 2013 at 8:27pm
I'm making use of crystal reports 11.
Yes, it is a dynamic list.
It is now set that you can choose only one value.
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 13 Jun 2013 at 3:35am
you have to add in an 'All' option to your LOV.
you can do this in your source table, in a stored proc or in a crystal command.
usually a union query.
you will need to matchthe data type so you might choose to use a 0 if it is numeric.
once you have it then you make your select statement (using zero as an 'all' option) as
(?param=0
or
?param=field)
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.