Hi to all
I have a problem in Data report, I am using two tables in dataenviornment and linking them to show in report.
The problem is that the report does not get refreshed for only second time, for exampe if i press the print report for the first time it shows the correct report, but after updating the record in tables and pressing print report it shows the first record or report, and after that it shows right results.

i am using the folowing code for printing report

DataEnvRpt.rsCommandRpt.Open
DataEnvRpt.rsCommandRpt.Requery
Report.Refresh
Report.Show
DataEnvRpt.rsCommandRpt.Close

please reply as soon as possible