Print Page | Close Window

Missing Parameter

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=17220
Printed Date: 02 May 2025 at 12:40am


Topic: Missing Parameter
Posted By: Beebt77
Subject: Missing Parameter
Date Posted: 06 Aug 2012 at 7:13am

Hello All,

I have a simple task that just seems to be
stumping me, which is each time I run a report with a date range the parameter field does not appear in the report header, but if I change the parameter options to "discrete values it will appear with only the first dat entered for the date range.
 
Is there some trick I'm missing?Confused
 
Thanks
Bee



Replies:
Posted By: hilfy
Date Posted: 06 Aug 2012 at 9:06am
I don't usually use range parameters for this specific reason.  I'll add two parameters - one for start date, one for end date and set the filter in the Select Expert to date field between {?StartDate} and {?EndDate}.
 
However, if range parameters are set up like multi-value parameters, you should be able to get both values from a range parameter by treating the parameter as an array of two values and getting the value from each of the items in the array.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window