Print Preview

  • Thread starter Thread starter DavidW
  • Start date Start date
D

DavidW

How do I get the print preview to appear over the open existing forms. When
I do a print preview now it is in behind all of my forms, the only way that
you can see your preview now is to close all of the forms, which really dont
need to happen, is there a way around this?
Thanks
David
 
DavidW said:
How do I get the print preview to appear over the open existing forms. When
I do a print preview now it is in behind all of my forms, the only way that
you can see your preview now is to close all of the forms, which really dont
need to happen, is there a way around this?

If your forms have the Popup property enabled then they will always be "in
front" of all other objects except for other forms that also have Popup
enabled.
 
As mentioned, you likely have your forms set to popup.

Any reason why you would do this?

If you need a form to ALWAYS stay on top of the previous form, then simply
set the forms property to model,and all your problems of control, and what
form the user is using will be fixed. About 98% of my forms are model, but
it is rare day when they need, or are setup as popup.

When one form opens another model form,t he user MUST close the current form
and will be forced to return to the previous form. (and, of course any new
forms launched from a model form continue this process). So, given model
forms, you might drop the use of popup forms.

Of course, if you not using popup forms, then perhaps your report was/is not
being closed from the last time it was used. Check your code, and ensure the
report is NOT already opened, as this can also cause your problem.
 
Not all of my forms are popup. There are certain forms that I am using as
popups(small sized). I dont need them to be as large as the screen. Is there
a way to get a small-sized(fixed) form with out setting the property to
popup.
Thanks for responding!
 
DavidW said:
Not all of my forms are popup. There are certain forms that I am using as
popups(small sized). I dont need them to be as large as the screen. Is there
a way to get a small-sized(fixed) form with out setting the property to
popup.
Thanks for responding!

Well, if you make those forms model, then they will stay on top of
*previous* forms, but the FOCUS will ALSO have to remain on those forms.
However, model forms DO LET you launch reports, and the report will appear
on top.

I have tons of forms that I use to launch reports, and the reports ALL have
a

docmd.Maximze

In the reports open event. however, the forms that launch the report are
NEVER maximised, and those forms NEVER take on the maxed status of the
forms, or reports that follow. You can make forms keep their setting (ie:
NOT MAX, or NOT MIN) by simply turning off the max/min buttons setting (this
makes sense, since if you can't max, or min a form, then the form can't be
maxed, or mined!).

With popup forms, they will stay on top of the report (and they are supposed
to by design). So, I am not really sure of a solution here, but to dump the
use of popup forms seems a possible solution

I always provide my users with a nice screen that launches the reports.
Those reports always max to full screen, and the users really like this.
When they close the report after viewing, they are return to a nice little
form, and that form is NOT maixied, nor does it take on the settings of the
report (since as mentioned, I remove the min/max buttons from he form).

Here is some screen shots of those reports prompts I use.

http://www.attcanada.net/~kallal.msn/ridesrpt/ridesrpt.html

So, if this is ONLY a problem of max/min stuff, then popup forms are not
needed at all here. It is still not clear if you actually do need the popup
forms.
 
Back
Top