Results 1 to 3 of 3

Thread: Reset Data report after Query

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Location
    Netherlands Antilles
    Posts
    66
    Hi,

    I have gotten a datareport to work in VB6.0 with an Access Database and Select * from database command.

    when all the info is displayed. i go and print the report.
    after closing the report i go back to my query form and make another query.

    go back into the report and the information from the first query it still there.
    only way i can use this is to exit the entire application and reopen it before being able to clear the report.

    any suggestions would be great??

    Thanks in advance EL.

  2. #2
    New Member
    Join Date
    Sep 2000
    Posts
    5

    Thumbs up

    Your problem is due to the data environment not refreshing the data.

    You need to reset/refresh the DE.

    Try closing the DE in the datareport initilise subroutine.

    Good Lick

  3. #3
    Fanatic Member spud's Avatar
    Join Date
    Aug 2000
    Location
    Munster (Germany)
    Posts
    542

    Wink

    Zed just Select* nothing in the query and that should reset the databse


    Hope this Helps


    Spud

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