Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameters and Julian Dates

Status
Not open for further replies.

MegOBytes

Technical User
Dec 23, 2006
23
US

CR XI
SQL 2005

If my database date values are stored as Julian and I create a parameter to select on the date field, how do i get the dates to show in mmddyyyy format?

i do have a function that i use in the report to convert julian to mmddyyyy but i need to select on dates that are in the mmddyyyy format in the parameter prompt. the parameter dialogue will only point me to the database fields (in julian)



Rick Piekos
Massachusetts
 
Make your parameter a static parameter, not a dynamic one, and make it a date datatype.

Then convert your julian field to a real date in a formula, and reference the formula in your record selection:

{?Date}={@YourFormula}

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Thank you dgillz, that worked great.



RJ Piekos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top