Results 1 to 3 of 3

Thread: Crystal 9 and Refresh

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    13

    Crystal 9 and Refresh

    I have a Crystal 9 report viewer on a form in my VB 6 app. I amend the SQL for my report before opening the form with the viewer on.
    When I open the form, the report displays, however I have to click on the Refresh button within the viewer to Refresh the data. I have tried calling the refresh method of the viewer, which doesn't appear to work. How can I refresh the report with the latest data as it is opened?

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    Uncheck the "Save data with report" option on the file menu or if you are using the CRAXDRT to open/show reports then try the DiscardSaveData method.

    Note - I don't have Crystal 9 so the method/menu names may be different.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    13
    Cheers, worked a treat!!

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