Print Page | Close Window

Set Parameter For Selections

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=5292
Printed Date: 03 May 2024 at 6:43am


Topic: Set Parameter For Selections
Posted By: eluke
Subject: Set Parameter For Selections
Date Posted: 21 Jan 2009 at 2:10pm
How can you set up Parameter Fields so you can show on your report the user selection dates?



Replies:
Posted By: DBlank
Date Posted: 21 Jan 2009 at 2:20pm
If you want thtem to select both a Start and End date create one parameter field as Start Date (or whatever) as either a DATE or DATETIME field type (depends on what you are going to compare it against).
Repeat with an End Date (or whatever name you want) parameter.
Go into your select expert and add the selection of
{table.datefield} in {?Start Date} to {?End Date}
The {?parameterfieldname} items will be available in the drop downs if the datatypes match.



Print Page | Close Window