Hello all
Once again I've been trawling the web for a solution to this without success.
I have a form (dialog box) that opens a report using the code
the problem I have is that the report opens behind my switchboard which I always want to be visible.
I do not have popup or modal options in the properties of my report and it doesn't work in the code for the report if i try to change the popup property there.
I initially solved this by closing the form in the open event of the report this worked, until I turned the query behind the report into a parameter query, so if i use this method now it asks for parameter value when it opens the report even though i have already selected it on the form I use to open the report
has anyone got any ideas on how to get the report to open on top?
Many Thanks
Niyx
Once again I've been trawling the web for a solution to this without success.
I have a form (dialog box) that opens a report using the code
Code:
Private Sub cmdOK_Click()
DoCmd.OpenReport strReportName, acViewPreview
DoCmd.Close acForm, "frmYearSelector"
End Sub
the problem I have is that the report opens behind my switchboard which I always want to be visible.
I do not have popup or modal options in the properties of my report and it doesn't work in the code for the report if i try to change the popup property there.
I initially solved this by closing the form in the open event of the report this worked, until I turned the query behind the report into a parameter query, so if i use this method now it asks for parameter value when it opens the report even though i have already selected it on the form I use to open the report
has anyone got any ideas on how to get the report to open on top?
Many Thanks
Niyx