Results 1 to 4 of 4

Thread: auto update in data report

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2009
    Posts
    211

    auto update in data report

    hello!
    im using data report for my vb6 and ms access. my data report is working w/o errors. but the problem is if i changed/update something on my database (database connected to data report). the updates that i made are not seen on my report.for example originally the database has 10 records the 10 records will also be shown on my data report. but if i changed my database and add another or remove record. the report stays 10 records. how do synchronize the database and data report.

    thanks...

  2. #2
    Frenzied Member
    Join Date
    Mar 2009
    Posts
    1,182

    Re: auto update in data report

    is there a refresh method?

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: auto update in data report

    Moved To Reporting

  4. #4
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,517

    Re: auto update in data report

    If you're using a DataEnvironment you probably need to close or requery the recordset.
    Code:
    If Dataenvironment1.rsusers.State = adStateOpen Then
            Dataenvironment1.rsusers.Close
    End If
    DataReport1.Show

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