Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2006
    Location
    Newbury. UK
    Posts
    3

    Question Unanswered: Automatic Date range ( - 7 days )

    Hello,

    I'm writting a Crystal report on all order sent out in the past week.
    I all works fine, but I am now trying to take away all the steps I can to make it easier and quicker to run.
    The report has to inputs, the ClientCode and the Date Range.
    Is there any way/Code that I can use to replace the need to input a date that will get the report to take todays date as the End range ( which is does at the moment ) and the - 7 days and use the result as the Start Range?

    Thanks in advance

  2. #2
    Join Date
    Feb 2007
    Posts
    348
    I'm using 10, if you go into the selection expert and select a date time field you should get a drop down, one of the options is "In this period" and you can then select "In the last 7 days".

  3. #3
    Join Date
    Jan 2006
    Location
    Newbury. UK
    Posts
    3
    Thats Great, Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •