CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2003
    Posts
    7

    Unhappy Crystal reports 5 skips a record.

    I have a problem. While using Crystal reports 4.6 with VB 6, I have to print a recipt with just one record. At times Crystal report shows an empty report. If I debug the report activation in VB, it works fine. I increase the time gap between the record fetching and report activation, i have put a loop of doevents: but still it fails at times. What do I do?

  2. #2
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    This may be due to a invalid link of the tables.
    check the link of the tables.

  3. #3
    Join Date
    Jan 2003
    Posts
    7

    Post Thats not the case

    The error is occuring coz the processing time is too fast for Crystal Report. If I run it in Debug mode of VB it works fine. Direct excution gives varied results from PC to PC. The report uses only one table. The thing is it has just 1 record.

  4. #4
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    oh!
    I also had the similar problem

    I did follwoing way to avoid this.Not a Methodical way to do it.

    Dim I As Double
    Dim J As Double
    For I = 0 To 1000000
    For J = 0 To 10
    Next

    Next



  5. #5
    Join Date
    Jan 2003
    Posts
    7

    Thanx for the reply.

    Thanx for the reply. But i have heard there is a setting in Crystal Report which eliminates this problem. Thanx any ways.

  6. #6
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    Hey, what is that setting.

  7. #7
    Join Date
    Jan 2003
    Posts
    7

    even i m searching

    Hey even i m searching for it. if i find will send u.

  8. #8
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    Did u find the solutions

    There is a setting called Save with Data in File Menu Untick this option and check

  9. #9
    Join Date
    Jan 2003
    Posts
    7

    Thumbs up Thanx a Ton

    Hey,
    Thanx a TON. The problem is solved. I owe it to u. Pls keep up the good work.

  10. #10
    Join Date
    May 2002
    Location
    Colombo,Sri Lanka
    Posts
    1,110
    Welcome.Actuall ymost of the time I foget this too.
    After problem arrises I realise this.
    Yesterday I came across the samew problem

    So I thought this may be the problem with u too.

  11. #11
    Join Date
    Jan 2003
    Posts
    7

    Keep it up.

    I appreciate ur gesture of sharing the knowledge. Keep it up.

    Thanx again

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