473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Enabling the "Print Preview" ToolBar !

Under Tools->Startup I have set AllowBuiltInToolbars to NO.

Thus in the Print Preview Window, the user cannot CLOSE the window or
even Print.

In my Report's on Open Event I place the foll code:

DoCmd.ShowToolbar "Print Preview", acToolbarYes
However the ToolBar is not visible ... according to Access-Help:
***
The built-in toolbars are also not available to display or hide by
using this action if you set the AllowBuiltInToolbars property to
False (0) in Visual Basic, or if you set the Allow Built-in Toolbars
option to False in Visual Basic by using the SetOption method.
****

So what are my options now ? Will I have to manually switch off each
Toolbar using VBA at start-Up ? If so can anyone please post a
complete list of ALL toolbars to ensure I don't miss any ?

Or ... is there any easier way ??

Thx & Best Rgds,
Prakash.
Nov 12 '05 #1
1 9415
"Prakash Wadhwani" <si****@omantel.net.om> wrote in message
news:60**************************@posting.google.c om...
Under Tools->Startup I have set AllowBuiltInToolbars to NO.

Thus in the Print Preview Window, the user cannot CLOSE the window or
even Print.

In my Report's on Open Event I place the foll code:

DoCmd.ShowToolbar "Print Preview", acToolbarYes
However the ToolBar is not visible ... according to Access-Help:
***
The built-in toolbars are also not available to display or hide by
using this action if you set the AllowBuiltInToolbars property to
False (0) in Visual Basic, or if you set the Allow Built-in Toolbars
option to False in Visual Basic by using the SetOption method.
****

So what are my options now ? Will I have to manually switch off each
Toolbar using VBA at start-Up ? If so can anyone please post a
complete list of ALL toolbars to ensure I don't miss any ?

Or ... is there any easier way ??


AllowBuiltInToolbars = No only disallows *built in* toolbars. So the solution
is to build your own toolbar with the print options you want on it and display
that instead. The easiest way is to put the name of your custom toolbar in the
Toolbar property of the report.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: John Baker | last post by:
HI; I feel like a fool..I put CUTE FTP in my last request for help --it should have been CUTE PDF! I have FTP on my mind because I have been working on a web based application, and somehow my...
5
by: Paul Sullivan | last post by:
We are a state agency that views protected medical information via our intranet. The screens even have privacy shields. Alarmingly, uses can "Print" and "Save As" which destroys the protection of...
0
by: Nina | last post by:
Hi there, I use PrintPreviewDialog to preview text of a textbox. It shows pages of text very well in PrintpPreviewDialog. But when I click the Print button on the dialog, it prints one blank...
1
by: Steff | last post by:
I am wandering if my code is making sense... I use a lot the print function. Is it weird in this case where I have to display an array ? I thought it would be better to have the entire array in php...
1
by: Appu | last post by:
How to Check in the window print dialog box whether we clicked either "print" or "cancel". while clicking a button i call wnidow.print() to pop up the windows PRint Dialog box. I want to check...
0
by: thiago777 | last post by:
Hello all, I need to show the PrintDialog screen so that client can choose/select a specif printer to use after viewing the print preview. In other words, after the printPreview is completely...
0
by: ARC | last post by:
The new tabbed interface in access 2007, has led to one interesting problem. With a report shown in preview mode, and maximized, it just becomes a new tab. The user can click back over to the form,...
1
by: anmcafresher | last post by:
Hi Guys, I am working with an option where I do want to print a background image without enabling the "Print Background Color and Image" in the IE. I do want to get this image printed on each...
10
by: Prisoner at War | last post by:
Hi, your friendly neighborhood n00b here, just wondering why on earth the Py3K folks want to mess with a simple thing like the "print" "command" (is that what it's called, a command?), turning it...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.