
Date/Time type in Crystal Reports
Quote:
> I'm new to VB and Crystal reports, so this may be a stupid question. I'm
> using Crystal Reports 2.0 for VB and I've run into a bit of a snag. I have
> a date/time data type that I'm reading from an access 2.0 mdb file. However
> when I place the field into a report, the only formating options I get are
> for
> Date...nothing for time.
> Any suggestions would be greatly appreciated
Hi Dave. Unfortunately Crystal standard v2.0 that comes with VB3.0 cannot
"see" the time part of a date/time field unless you read it via ODBC and
tweak some ini settings somewhere (I think). If you have control of what
goes into the database then try adding a separate field for the time eg
an integer containing a 24 hour time. Bit yukky but it gets around the
problem.
Cheers,
Simon (New Zealand)