Solved

ePortfolio Lite Crystal Parameter Field

Posted on 2004-10-05
3
421 Views
Last Modified: 2010-08-05
when I get the prompt to enter parameters, the two date fields apear in the following format
date(yyyy,mm,dd), the user can select the date from the Calendar pop-up, or else they must enter the date in the same format "date(yyyy,mm,dd)"  see example below

is there any way to format this prompt so the date can be entered as "mm/dd/yyyy" and also without the word "date" in front.

Please advise,
NAM


The report you requested requires parameter values.
--------------------------------------------------------------------------------
Crystal Parameter Field(s)
  StrDT  
Enter Staring Date  
date(2004,9,1)  

  EndDT  
Enter Ending Date  
date(2004,9,30)  
0
Comment
Question by:neylamj
3 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 50 total points
ID: 12226447
The format "Date(yyyy,mm,dd)" is used because that's actually an existing crystal function that converts the year, month, and day values into a "Date" value.  There isn't a way to change this format.

If you don't mind doing the work, you can change your parameter to accept text and then you can create formulas to manually parse out the text into year, month, and day and then use these values to call the Date function internally in your report.  However, this will slow down the report's execution and if the user input isn't valid may cause the report to crash.  That's your only option however if you want to change the format.

HTH

frodoman
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports 11 Ignoring Parameters 3 68
Crystal Reports remove alpha characters only 5 46
Formatting number to Text Format DDDDDDDDCC 1 30
Mask on Parameter CR2008 28 45
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…
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 …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

16 Experts available now in Live!

Get 1:1 Help Now