Crystal Reports 2008 - Comparing Date Parameters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinpa
    New Member
    • Jul 2009
    • 4

    Crystal Reports 2008 - Comparing Date Parameters

    Hello,

    I wish to have the user enter a date range (i.e. 01/01/2009 ---> 12/31/2009) to retrieve data to populate part of my report, and then populate another column with the same date range, but from, say, a year earlier. This will help determine sales from year to year.

    Example:

    Code:
    Order #  Account #    Product ID    # Sold '07    # Sold '08  Profit '07   Profit '08
    01            12842         129               200            193           912.00      850.00
    Where "08" is the date entered by user, and "07" is the same range, but from previous year.


    Thanks in advance!
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Please show the code you have written for this so far, and explain what errors you are getting.

    Comment

    • vinpa
      New Member
      • Jul 2009
      • 4

      #3
      I haven't started the actual coding yet, I am just having difficulties tieing two parameters values to seperate cloumns in my report.

      Once I figure this out, the coding shouldn't be tough. I am just new to Crystal Reports and figured since I will be developing in C#, I would start my post here.


      Thanks!

      Comment

      • vinpa
        New Member
        • Jul 2009
        • 4

        #4
        I simply want one column to be the values of the date parameter entered by the user, and another column to display the values from said date but from the prior year.

        Comment

        Working...