Crystal Reports parameter field date format

Posted on 2009-02-12
Last Modified: 2012-05-06
I would like to change the default format of a parameter field that is a date type. The default format is yyyy-mm-dd. I would like to change it to mm-dd-yyyy. I changed the default date format of the report and it had no effect. Seems like this should be easy but I can't figure it out.
Question by:jb25
    LVL 100

    Expert Comment

    I don't think you can change the format.


    LVL 4

    Accepted Solution

    1.  Make your parameter date (?Date1) a Text field, and specify that it is input as 'mm/dd/yyyy'
    2.  Create a formula field (@Date2) that converts the text date (?Date1) to Date format:
             cdate ({?Date1})

    Author Comment

    Thanks for the help. I was hoping for setting change that would resolve the issue but we'll have to use the workaround suggested by spangdelta.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    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…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    729 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now