T
Thomas Toews
I'm using Access 2003 with a report that has it's own query as a datasource
(not a separate, saved query). I would like to refresh that report, if it is
open, when data is changed in the underlying table. I've tried the following
refresh/requery commands and none of them work. All return an unkown error
at the refresh/requery statement.
Form_AfterUpdate
Set rpt = Reports![Accept By Date]
If rpt.Visible = True Then
rpt.DataSource.Refresh
rpt.Requery
rpt.Refresh
End If
Tom
(not a separate, saved query). I would like to refresh that report, if it is
open, when data is changed in the underlying table. I've tried the following
refresh/requery commands and none of them work. All return an unkown error
at the refresh/requery statement.
Form_AfterUpdate
Set rpt = Reports![Accept By Date]
If rpt.Visible = True Then
rpt.DataSource.Refresh
rpt.Requery
rpt.Refresh
End If
Tom