var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How I can make my report appear on top of the other windows?
I'm using a form with two text fields and a button. When the user presses the button it opens up a report (according to the data entered in the two text fields).
However the report always appears behind all the other windows. How can I make my new report window appear on top of everything else?
After you issue the docmd.openreport command, is there more code that is setting focus to a form? In the onOpen event of the report, it is setting focus to an external item?
I believe the answer is no to both of those questions.
What is the command to set focus to the newly opened report?
(the command I would use after the openreport command)
Set these in the forms properties. Pop up=yes Modal=yes. This should do what you want.