PDA

Click to See Complete Forum and Search --> : Reset Data report after Query


elpower
Oct 10th, 2000, 05:50 AM
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.

Zed
Oct 13th, 2000, 05:08 PM
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

spud
Oct 14th, 2000, 07:42 AM
Zed just Select* nothing in the query and that should reset the databse


Hope this Helps


Spud