Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I create a dialog that prompts a user for a date range?

Status
Not open for further replies.

corbitt

MIS
Feb 22, 2002
73
US
We are confused.

We are trying to create a Crystal Reports 8.5 report that, when opened, will display a dialog box requesting a date range. Data, based on the date range entered, will be pulled from a particular field.

Any help is appreciated.

Thank you,

Jeremy
 
Just create the data parameter with a "Range" option.

Then set the record seelction formula to something like:
--------------------------------------------
{order_date} IN {?your_range_date_parameter}
--------------------------------------------

Cheers,
- Ido CUT, Visual CUT, and DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
I'm sorry for the "cross-post." I wasn't sure which category to use. I'm still having problems...I'll post in a second.

Thank you,

Jeremy
 
I would create 2 parameters: dtstart, dtend (or a single dat range parameter called dtrange). Then, in the Select Expert, add the following: {table.field} In dtstart to dtend.
 
It works!

Our mistake:

We were editing the SQL directly.

Solution:

We used select expert.

Thank you,

Jeremy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top