CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Exclamation CR XI -SP6 problem with datetime at "1900-01-01

    Hello:

    I am working in an VB6 application with Crystal Report XI R2 - SP6 and SQL Server 2005.

    All of the reports print the datetime fields with 1 second of difference when the day is "1900-01-01".

    Example:
    At database:"1900-01-01 10:00:00" at the report "1900-01-01 09:59:59"

    Only happens with some hours in the day (10:00, 15:00, etc) and only happens with the date "1900-01-01".

    If I add one year to the datetime field, (1901-01-01) the reports works fine.

    If I execute the report in Crystal Report 2008 its works fine as well, but Crystal Report 2008 and VB6 are not fully compatible.

    Any clues about that?

    Thanks for your help and attention.

    Agmand

  2. #2
    Join Date
    Jul 2005
    Posts
    1,083

    Re: CR XI -SP6 problem with datetime at "1900-01-01

    Maybe the problem is in the driver you are using in Crystal Reports to access the sql data

    JG

  3. #3
    Join Date
    Apr 2010
    Posts
    2

    Exclamation Re: CR XI -SP6 problem with datetime at "1900-01-01

    Thanks for your response.

    Mdac 2.8 Sp1 is installed in the machine. (Windows XP Sp3)

    It looks like Crystal Report doesnt like the minimun date at Sql Server.

    Agmand

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured