Hide Print button at report time...

Addammer

New member
Local time
Today, 17:51
Joined
May 15, 2006
Messages
8
I would like to put a print button on a report.

When the user clicks the button the report will print without showing this button. I'm drawing a complete blank.

Thanks,
Adam
 
Reports are not interactive. How about letting the user use File>Print?
 
I use a print button on my reports. I use the wizard to build it on a from, then copy and paste it on to the report. It works, but the button does print.
 
I've disabled all my tool bars.

Would there be a way to automatically open the Print window when the report is displayed?
 
OtherControl.setfocus
ButtonName.Visible = False

Just tried this. Awesome idea I never thought of that.

BUT when I view my report all I have for a cusor is a magnifiying glass.
 
OtherControl.setfocus
ButtonName.Visible = False

Just tried this. Awesome idea I never thought of that.

BUT when I view my report all I have for a cusor is a magnifiying glass.

Is that because you're opening the report in print preview?
When I use the print button on my reports, it is in Report View. The button works for me in this view (Access 2007). All you need to do is add the above code to the on click event when you build the print button in a form, before copying and pasting on to the report.
 
Is that because you're opening the report in print preview?
When I use the print button on my reports, it is in Report View. The button works for me in this view (Access 2007). All you need to do is add the above code to the on click event when you build the print button in a form, before copying and pasting on to the report.

Could my problem be that i'm in a runtime environment?
 
Could my problem be that i'm in a runtime environment?

If you are using runtime you can't make any design changes. If you are using full Access to design for use in the runtime environment you can create your own menus, but if you are actually using Access in the runtime environment you can't (that's why runtime is available so that people without Access can use the database file but they can't make design changes).
 
Sorry for the confusion.

I am the developer of this database. I can make any changes i'd like to.

I'm testing this as an end user in runtime. The only cursor given is a magnifying glass when in runtime.
 

Users who are viewing this thread

Back
Top Bottom