Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Date Paramater

Date Paramater

Date Paramater

Hi there
I am new to crystal so forgive me if my explanation is a little clumsy.

I have created a date paramater from a date time field.
When the paramater is shown to the user at report time, I would like it to just show the date not the date time. Currently it is shown as 2012-08-21 00:00:00

Thanks, Sam

RE: Date Paramater

In Crystal Designer right click parameter field and select format.

You can then select a format to suit. Or if you prefer the click customize and set up as you want.


RE: Date Paramater

Hi Ian, thanks for your reply.
your suggestion does not change how the datetime field is displayed in the paramater box when the user is selecting the report paramaters.
I have tried to change the paramater type to just Date and the date is still displayed as 2012-08-21 00:00:00

Ideally, I would like the end user to see the dates listed like:
05-03-2012 etc

rather than
2012-01-28 00:00:00
2012-02-01 00:00:00
2012-03-05 00:00:00

RE: Date Paramater

Use a date parameter

It will not be available to use in the selection wizard. However, go into the record selection formula editor and manually use date param with your datetime field.

Crystal will then calculate correct datetime value when creating SQL statement.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close