We are a group of users of Blackbaud products and are not affiliated with Blackbaud. We'd love to have you join our community to help and be helped in getting the most from your Blackbaud software.
Register now to join us to get independant advice on your system, connect with 3rd party consultants to help you maximize your database and have a real alternative to the official Blackbaud website.
OK, so I have created a DateTime parameter tha captures a range of dates. Is there a way to display in the report the two values stored in this parameter? Is it an array?
Man, I suck at this stuff...
__________________ Peter Gulka
Chief Bus Driver
Blackbaud User Society www.blackbus.org
It's a range, not an array. You can use the Min() and Max() functions with the range to find the start and end points and then combine them however you want.
Drew
__________________ J. Drew Allen
Children's Hospital of Philadelphia
Crystal Reports and SQL Server Consultant
It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
It's a range, not an array. You can use the Min() and Max() functions with the range to find the start and end points and then combine them however you want.
Drew
I concur with Drew. I used the min() and max() functions last week for the first time. You can also use the HasLowerBound() and HasUpperBound() functions to test to see if the parameter was supplied with a min() and max() value.
Here is a snippet of code as an example.
//has both start date and end date... //...and start date is 1 - 9 and end date 10 - 31
...else if ( HasLowerBound({?Gift Date}) and HasUpperBound({?Gift Date})
and day(minimum({?Gift Date})) < 10 and day(maximum({?Gift Date})) >= 10 )
then chr(13) + totext(minimum({?Gift Date}), "MMMMd, yyyy") + " through " +
totext(maximum({?Gift Date}), "MMMM d, yyyy")...
__________________ Brian A. Zive
Information Systems Manager
Massachusetts General Hospital
Development Office