Results 1 to 3 of 3

Thread: ***RESOLVED***Crystal Report Not Updating

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Sunny Scottsdale Arizona
    Posts
    254

    Question ***RESOLVED***Crystal Report Not Updating

    I have a form which I use to update a Microsoft Access db. I am using an external crystal report (not using report design component) to display the data in my db. The problem is that when a user goes into the form and makes a change to the database, the change is not reflected in the report until the user closes and restarts the application.

    I am not sure if I need to be doing something to the report or the code which calls the report.

    Here is the code I am using to call the report:

    vbcode
    Private Sub mnuLoanActivity_Click()

    Screen.MousePointer = vbHourglass
    With frmRptView
    .Show
    .CRViewer1.ReportSource = rptPrimDls3
    .CRViewer1.ViewReport
    End With
    Screen.MousePointer = vbDefault

    End Sub
    /vbcode
    Last edited by Jefftopia; Mar 11th, 2004 at 10:20 AM.

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Open the report in Crystal and make sure "Save Data With Report" is NOT ticked. I think it's on the FILE menu.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    Sunny Scottsdale Arizona
    Posts
    254

    Cool

    Thanks. That was not it as it turned out. I needed to use refresh property of viewer.

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