Monday, March 12, 2012

Formatting a date displayed in a crystal report

Hello

I am using VS 2005 CR 10.

I am using typed datasets to populate a report.

From my database I have 1 field called incidentDate, this is a smallTimeDate datatype.

My reports always displayes the correct date, but is followed by the time which is always 12:00. For example 18/12/2006 12:00 AM.

I don't want to display this time. I have tried setting the DateWindowsDefaultType in the report properties for that field. But this did not work.

Does anyone have any other ideas,

Thanks very much,

SteveMake sure the type of the field in the report is Date.then whenu put it in the report right click choose formatObject u will find a Date Tab click and choose the format u want...

No comments:

Post a Comment