Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal Reports XI R2 Date Parameter Post Reply Post New Topic
Author Message
chris
Newbie
Newbie


Joined: 02 Apr 2008
Location: United Kingdom
Online Status: Offline
Posts: 35
Quote chris Replybullet Topic: Crystal Reports XI R2 Date Parameter
     Posted: 27 Jul 2009 at 6:04am
Hi all,
 
I've recently upgraded from Crystal Reports 9 to XI R2 and have come across a couple of minor irritations to do with date parameters that I wondered if anybody could solve for me.
 
1 - Is there anyway of having a date parameter default to today's date as it did in Version 9. It was very useful.
 
2 - For a date parameter I now have to enter a date in the format yyyy-mm-dd or choose from the calendar. Is there anyway of changing the format of the date parameter to be dd-mm-yyyy ?
 
Many Thanks
 
Chris
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 27 Jul 2009 at 6:44am

I believe the only way in v-XI is to make it a text parameter and then use a DATE() function on it in the select statement.

That of course is fraught with other issues and also removes the option of using a calender at all.


Edited by DBlank - 27 Jul 2009 at 6:45am
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum