updated printout problem
can anyone help me with this: i'm using an msaccess database to hold data which i can manipulate using vbcode within a form that also shows the data in a datagrid. on the same form, i have a button which activates a data report to print out the same data displayed on the datagrid. the data report has controls in it which is automatically filled with the data from the database using the data environment. the problem is that whenever i make changes to the database, the datagrid correctly displays the changes but when i click on the button to display the data report printout, only the data form the previous session of the application gets shown. is there any way to "refresh" the data environment or the data report so that it can be updated & reflect the changes in the data which i recently made?
|