Datareport refreshing

hstanisic
10-06-2001, 04:00 AM
in my program i use datareport like this:

Private Sub mnureport_Click()
DataReport1.Show , glavna
End Sub

And now when i add or delete something in my database the datareport show the same things, the datareport does not show any changes what i made in my database so i need i peace of code wich will refresh datareport so that report shows a real state of my database.
I hope that you understand what i need.
Please answer on my mail and thanks!!!!!!

rodfiuza
10-06-2001, 04:37 AM
I think that you should close and then re-open the report so it will be updated. I don't know if you can do it when it is open. Or you can show to the user a form with the data that will be printed with the refresh option and the print option ( who will actually load the repport). Hope this helps :)

if you want to hit the stars,shoot to the sky.

hstanisic
10-06-2001, 06:03 AM
yes i mean when i close report and then make changes and then open report the report does not shows any changes
I know there is something with refresh option but i dont know how to do it so if you maybe know i would be very thankfull

Volte
10-06-2001, 07:33 AM
i think DataReport1.Refresh is what refreshes it, but I don't know if it'll solve your problem.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum