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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report 2008 1

Status
Not open for further replies.

jchewsmith

Technical User
Nov 20, 2006
161
US
How can you convert all date time fields to date for the entire report.

Crystal 8.5 used to have the option in file, report options, then a drop down to select convert date time to: date, to string or date time.

 
In 2008 it seems this this can only be set at the Global level, ie it will affect all reports.

The setting is in: File => Options => Fields => Date and Time. On the Date and Time tab, click on the Customize button and select Date from the Order drop down list.

If you don't want it to affect all reports, I think you will need to manually format every Date/Time field.

Cheers
Pete
 
Don't forget the Format Brush - once you have one field set as you want it, impose the same on another field.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 2008 with SQL and Windows XP [yinyang]
 
Madawc's suggestion is a great way to do it. To reformat multiple fields, format one of the Date/Time fields to a Date and then with that field selected from the report canvas click on the Format Painter (Brush) icon, hold down the Alt key and click on all of the other Date/Time fields that you want changed to show Date only.

Hope this helps.

Cheers
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top