470,817 Members | 1,345 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,817 developers. It's quick & easy.

Crystal Reports 2008 - Comparing Date Parameters

4
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:

Expand|Select|Wrap|Line Numbers
  1. Order #  Account #    Product ID    # Sold '07    # Sold '08  Profit '07   Profit '08
  2. 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!
Jul 27 '09 #1
3 3065
tlhintoq
3,525 Expert 2GB
Please show the code you have written for this so far, and explain what errors you are getting.
Jul 27 '09 #2
vinpa
4
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!
Jul 27 '09 #3
vinpa
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.
Jul 27 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Stephan | last post: by
3 posts views Thread by Vivek | last post: by
reply views Thread by lewindha | last post: by
1 post views Thread by steveberwick | last post: by
11 posts views Thread by =?Utf-8?B?cmtibmFpcg==?= | last post: by
10 posts views Thread by Miro | last post: by
3 posts views Thread by Miro | last post: by
1 post views Thread by =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.