Talk with the Author
 Crystal Reports Forum : General Information : Talk with the Author
Message Icon Topic: Date Range Parameter Post Reply Post New Topic
Author Message
oceanview
Newbie
Newbie


Joined: 07 Mar 2013
Online Status: Offline
Posts: 2
Quote oceanview Replybullet Topic: Date Range Parameter
    Posted: 15 Mar 2013 at 2:00pm

In my table I have a date field named WorkDate(which stores every working date the employee work for the day). I need a date range parameter where the start date and end date may be the Future Date. So how to pass that parameter?

IP IP Logged
Gurbs
Senior Member
Senior Member
Avatar

Joined: 16 Feb 2012
Location: Ireland
Online Status: Offline
Posts: 216
Quote Gurbs Replybullet Posted: 01 Apr 2013 at 10:32pm
If you want the parameters to be variable, you'll have to create 2 parameters. Then, in your record selection, create a formula like

{table.WorkDate} in {?StartDate} to {?EndDate}

When you run the report, it will prompt a screen where you can enter the start and end date.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.