Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Use Week Number to Select Date Range Post Reply Post New Topic
Author Message
ThaRyeguy
Newbie
Newbie


Joined: 09 Oct 2012
Online Status: Offline
Posts: 1
Quote ThaRyeguy Replybullet Topic: Use Week Number to Select Date Range
     Posted: 09 Oct 2012 at 5:51am

I'm trying to write a report that, when run, allows the user to choose a specific week to retrieve the data from.

I'd rather not have to manually write the date ranges into parameter description fields and then write a 52 line IF statement.
 
I need a way:
- to select records based upon the week number
- display the date ranges in a parameter pick list
- display the date range on the report
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 09 Oct 2012 at 6:00am
what do you mean display the date ranges in the param?
Do you want the user to just enter the week number or does the user select from a LOV of the begin and end date?
Does your data have a row for every day of the year so you can use it as your lov?
are you only concerend with the current year or can a user look at past years weeks?
IP IP Logged
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