M
ms
i have an access form/switchboard that opens a report. the
switchboard buttons open the same report but changes the
query that the report is based on so the results are a bit
different depending on which button was pushed.
if the form is already open and i hit another button, it
doesn't refresh the report using the new query. i guess it
sees it's already open so it doesn't continue.
vba code to open report is:
DoCmd.OpenReport "rptProject", acPreview
is there a way to have a report refresh/update itself if
it's already open?
thanks.
ms
switchboard buttons open the same report but changes the
query that the report is based on so the results are a bit
different depending on which button was pushed.
if the form is already open and i hit another button, it
doesn't refresh the report using the new query. i guess it
sees it's already open so it doesn't continue.
vba code to open report is:
DoCmd.OpenReport "rptProject", acPreview
is there a way to have a report refresh/update itself if
it's already open?
thanks.
ms