UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Comfortable preview and the print?    
 
   
lgraf
post Nov 1 2004, 02:25 AM
Post #1

New Member
Posts: 9



Hello,
I would assume this is an old problem, so maybe there is an old answer:

I have a report that I show using ViewType acPreview since my users sometimes do not want to print out the report, but just have a quick look at the data presented.
If they then, however, decide to print it, I have to send them through the context menu to do so (Another issue is that I would like to block the context menu completely to prevent them from mokeying around with the designs.).

Any ideas on how to do that?

Thanks,
Lorenz
Go to the top of the page
 
+
DoubleD
post Nov 1 2004, 01:38 PM
Post #2

UtterAccess Guru
Posts: 762
From: WI



Use code to shut off that menu, then display a print button using a custom menu bar.
Go to the top of the page
 
+
lgraf
post Nov 2 2004, 09:59 AM
Post #3

New Member
Posts: 9



Thanks for the answer, I cut off that menu using the "Startup" settings of the database.
How can I create a custom menu bar (and make sure it is the only one accessible to the user)?
Go to the top of the page
 
+
DoubleD
post Nov 2 2004, 10:05 AM
Post #4

UtterAccess Guru
Posts: 762
From: WI



Look up Custom Menu Bar in the Access help.
Once you have you're custom menu bar created, use code to hide all the other menu bars, then when you open the report in acPreview, add a line to display your custom menu bar.
In the OnClose event for your report, hide the custom menu bar.

Let me know if you need help with the actual coding.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th June 2013 - 09:01 PM