NEWBIE - Crystal Report not Refreshing

Discussion in 'ASP .Net' started by Dave, Nov 15, 2004.

  1. Dave

    Dave Guest

    Greetings,

    I have an aspx page with a CrystalReportViewer on it that displays
    information fine. The problem is that the report is static. I want it to
    change when data in the database is changed. I can change values in the
    database (either inside of or outside of my web application) and the report
    data remains the same as it was before the change.

    I assume that somewhere I need to tell the report to look at the database
    and refresh the values in my report. Where and how do I accomplish this?

    Thank you kindly,
    -Dave
    Dave, Nov 15, 2004
    #1
    1. Advertising

  2. Dave

    Dave Guest

    Resolved. I found what I needed to do.

    "Dave" <> wrote in message
    news:...
    > Greetings,
    >
    > I have an aspx page with a CrystalReportViewer on it that displays
    > information fine. The problem is that the report is static. I want it to
    > change when data in the database is changed. I can change values in the
    > database (either inside of or outside of my web application) and the
    > report data remains the same as it was before the change.
    >
    > I assume that somewhere I need to tell the report to look at the database
    > and refresh the values in my report. Where and how do I accomplish this?
    >
    > Thank you kindly,
    > -Dave
    >
    Dave, Nov 15, 2004
    #2
    1. Advertising

  3. Dave

    zoom14151 Guest

    zoom14151, Jun 13, 2005
    #3
  4. Dave

    mshsajib

    Joined:
    Jul 6, 2009
    Messages:
    1
    Try this on Page Load Event

    CrystalReportSource1.Report.FileName = "C:\Reportpath\Report.rpt"
    CrystalReportViewer1.ReportSourceID = CrystalReportSource1.ID
    CrystalReportViewer1.DataBind()
    CrystalReportViewer1.RefreshReport()
    mshsajib, Jul 6, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. James Wallace
    Replies:
    0
    Views:
    1,053
    James Wallace
    Oct 17, 2003
  2. Krishna Karthik

    Refreshing a Crystal Report from a Viewer

    Krishna Karthik, Oct 26, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    603
  3. =?Utf-8?B?SmFpZ2FuZXNo?=

    Reading report content using Crystal Report Viewer XI

    =?Utf-8?B?SmFpZ2FuZXNo?=, Jan 4, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    1,181
    =?Utf-8?B?SmFpZ2FuZXNo?=
    Jan 4, 2006
  4. Learner
    Replies:
    1
    Views:
    1,109
    Richard Dudley
    Jan 11, 2006
  5. Comfort
    Replies:
    0
    Views:
    547
    Comfort
    Oct 18, 2004
Loading...

Share This Page