I have an application that I am writing and it contains a data enviroment and a data report.

I have linked the data report to the data enviroment but the data that is reported is old data the data that was captured when I created the command in the Data Enviroment.

How do I refresh the data before I report using it?

Thanks
Simon