How to Format Time Fields in Crystal Reports 
Author Message
 How to Format Time Fields in Crystal Reports

I have a time field in an Access table that I can't format
as a time field in CR.  It always shows up as 99/99/99.
Anybody know how to get around this??

Thanks in advance...

Kelton



Thu, 05 Aug 1999 03:00:00 GMT  
 How to Format Time Fields in Crystal Reports

The obvious way to me would be to change your date/time field to a text
field, then format it to look like a date or time (ie:
format(yourvariable, HH-MM AMPM), etc,etc.  this works for either time
or dates.

The only down side to this is that if you need to use the date/time
field in a sort, then it won't work.  I have gotten around this by using
formula fields to convert it back to date, which is kind of a pain in
the ass, but it does work.  

Check out crystal's web site, they have a pretty decent knowledge base
for this, and if you have a question, they will email you back in a day
or two (crystalinc.com)

I really haven't quite figured crystal out yet.  It seems that
everything you need to do has to be done differently than you would
expect.  But I have'nt found anything yet that can't be done.

Good luck!

Quote:

> I have a time field in an Access table that I can't format
> as a time field in CR.  It always shows up as 99/99/99.
> Anybody know how to get around this??

> Thanks in advance...

> Kelton



Thu, 05 Aug 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. URGENT : HOW TO , IN CRYSTAL REPORT ,Change format of a field in Run Time

2. Problem w/Access '97 and Crystal Reports Formatting Time Fields

3. Time format in Crystal Reports designer

4. Time Format in Crystal Report

5. need HELP on Crystal Reports time format

6. Time format in crystal report 4,6,1,0, with SQLL 6.55

7. Crystal Reports/Field Format From VB

8. Crystal Reports: Formatting a formula field.

9. Inserting multiple fields into a letter format Crystal Report

10. Formatting a date field in crystal reports..

11. Date/Time field & Crystal Reports in VB5

12. Crystal reports not returning time from Sybase datetime fields

 

 
Powered by phpBB® Forum Software