Solved

Crystal Report Date Range Parameters

Posted on 2016-08-09
2
88 Views
Last Modified: 2016-08-09
Hello, I have a crystal report with a transaction date range. When I run the report a date range is asked.
How do I get the selected ‘date range’ to appear at the top of the report?
0
Comment
Question by:jspc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
James0628 earned 500 total points
ID: 41748573
You can use formulas.  If the parameter only allows a single range, you can use Minimum ({?your date range parameter}) and Maximum ({?your date range parameter}) to display the range values.  You could put those functions in separate formulas, or convert the dates to strings and combine them in a single formula.  For example:

"Date Range: " + CStr (Minimum ({?your date range parameter}), "MM/dd/yyyy") + " to " +
 CStr (Maximum ({?your date range parameter}), "MM/dd/yyyy")

Open in new window


 If you'd like the date in a different format, look up CStr in the CR Help for info on the different format strings.

 James
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 41748810
That looks good.

mlmcc
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question