Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Crystal Report content is wrong in Crystal Report Viewer, but right if exporting to pdf file directly.

Crystal Report content is wrong in Crystal Report Viewer, but right if exporting to pdf file directly.

Scheduled Pinned Locked Moved Windows Forms
data-structuresquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CooperWu
    wrote on last edited by
    #1

    We have a crystal report contains additional functions to get same text. It works well if we exporting report to PDF file directly, but display empty value if we preview report in Crystal Report Viewer. We declare a global variable in one sub report, it is a handle of an array, then we get same text from this global variable in other sub report. any suggestion for this case?

    Glad to discuss with you and best wishes.

    W 1 Reply Last reply
    0
    • C CooperWu

      We have a crystal report contains additional functions to get same text. It works well if we exporting report to PDF file directly, but display empty value if we preview report in Crystal Report Viewer. We declare a global variable in one sub report, it is a handle of an array, then we get same text from this global variable in other sub report. any suggestion for this case?

      Glad to discuss with you and best wishes.

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Before the preview, is the ReportDocument.Refresh method called?

      The need to optimize rises from a bad design.My articles[^]

      C 1 Reply Last reply
      0
      • W Wendelius

        Before the preview, is the ReportDocument.Refresh method called?

        The need to optimize rises from a bad design.My articles[^]

        C Offline
        C Offline
        CooperWu
        wrote on last edited by
        #3

        I tried add Refresh before preview, but it didn't work. :sigh:

        Glad to discuss with you and best wishes.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups