Close button on report

R

Robert

I have a database with a number of forms all of which have a "Close Form"
button on them. Now I am telling the user to click on the Close Button form
instead of the X to close the form. (There is some missing fields error
logic behind this button.) But he still has to click on X to close a print
preview. How can I get a close button on a print preview?

Robert
 
B

Brian

Here is one approach: disable the Windows close button (the X) on all forms
but leave them enabled on the reports. On the Format tab of the form's
properties, I set Control Box to No, (optionally) Min Max Buttons to None,
and Close Button to No.

This forces the user to click the Close button I have provided on forms, but
they still use the X on reports.
 
J

John Spencer

You can't put a button on a report that will work. You can put a button in a
menubar that will close the current report or you can add an action to the
shortcut menu (right-click) to close the report.

OR do as suggested elsewhere, let the user click the X on reports to close the
report.

John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
 
R

Robert

Thanks for the suggestion. I'll give it a try.
Brian said:
Here is one approach: disable the Windows close button (the X) on all
forms
but leave them enabled on the reports. On the Format tab of the form's
properties, I set Control Box to No, (optionally) Min Max Buttons to None,
and Close Button to No.

This forces the user to click the Close button I have provided on forms,
but
they still use the X on reports.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top