Solved

ePortfolio Lite Crystal Parameter Field

Posted on 2004-10-05
3
422 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
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…

831 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