I want to "maximise", then fit a report into the available window.
ATM I maximise on the OnOpen event, then use send keys ......
%{v}, %{z}
....to zoom and fit to the window.
Is there a better "non send keys" way to do this?
We're talkin' A97
Cheers! 5 8668
On Tue, 25 Jan 2005 05:40:59 GMT, MS wrote: I want to "maximise", then fit a report into the available window.
ATM I maximise on the OnOpen event, then use send keys ......
%{v}, %{z}
...to zoom and fit to the window.
Is there a better "non send keys" way to do this?
We're talkin' A97
Cheers!
If you open the report by code, i.e. from a command button on a form:
DoCmd.OpenRepor t "ReportName ", acViewPreview.
DoCmd.RunComman d acCmdFitToWindo w
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
On Tue, 25 Jan 2005 05:40:59 GMT, "MS" <Em***@Myemail. com> wrote: I want to "maximise", then fit a report into the available window.
ATM I maximise on the OnOpen event, then use send keys ......
%{v}, %{z}
...to zoom and fit to the window.
Is there a better "non send keys" way to do this?
We're talkin' A97
Cheers!
Hi
See the Access Web, "Custom Zoom in Reports" at http://www.mvps.org/access/reports/rpt0020.htm
"To fit" is zoom coeff = 0.
If you want a specific standard zoom, say 25%, you can open the report
with
DoCmd.OpenRepor t "xxx", acViewPreview
'you can do your maximize here if you want it
DoCmd.RunComman d acCmdZoom25 ' note you can't run this from inside the
report
but there doesn't seem to be a constant for zoom to fit.
David
On 25 Jan 2005 10:46:03 -0600, David Schofield wrote: On Tue, 25 Jan 2005 05:40:59 GMT, "MS" <Em***@Myemail. com> wrote:
I want to "maximise", then fit a report into the available window.
ATM I maximise on the OnOpen event, then use send keys ......
%{v}, %{z}
...to zoom and fit to the window.
Is there a better "non send keys" way to do this?
We're talkin' A97
Cheers! Hi See the Access Web, "Custom Zoom in Reports" at http://www.mvps.org/access/reports/rpt0020.htm
"To fit" is zoom coeff = 0.
If you want a specific standard zoom, say 25%, you can open the report with
DoCmd.OpenRepor t "xxx", acViewPreview 'you can do your maximize here if you want it DoCmd.RunComman d acCmdZoom25 ' note you can't run this from inside the report
but there doesn't seem to be a constant for zoom to fit.
David
David...
Regarding > but there doesn't seem to be a constant for zoom to fit.
Docmd.RunComman d acCmdFitToWindo w
--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Hi
Yes I see it now. I was lazy and assumed it would be with the others.
This is the negative effect of intellisense rather than reading the
documentation!
Thanks David
"fredg" <fg******@examp le.invalid> wrote in message
news:1p******** *************** *******@40tude. net... On Tue, 25 Jan 2005 05:40:59 GMT, MS wrote:
I want to "maximise", then fit a report into the available window.
ATM I maximise on the OnOpen event, then use send keys ......
%{v}, %{z}
...to zoom and fit to the window.
Is there a better "non send keys" way to do this?
We're talkin' A97
Cheers! If you open the report by code, i.e. from a command button on a form: DoCmd.OpenRepor t "ReportName ", acViewPreview. DoCmd.RunComman d acCmdFitToWindo w
Thanks!
I've not seen this in the documentation - and a recent bad experience with
send keys has caused me to smarten up my practices!
Cheers! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alex Stevens |
last post by:
Hi All,
I have implemented my own toolbar on a form which houses the crystal reprot
viewer.
I would like to have a combobox to allow the user to change the zoom level
to say 25 / 50 / 75 / 100 / 200%
However the crystal report viewer only seems to allow two levels of zoom,
using the .Zoom method, 1 for actual size, and 2 for fit to screen.
Is there any way that I can manually set the zoom level to something else
|
by: Todd |
last post by:
I have a mix of reports that are designed to print on either legal or letter
size paper. When a legal sized report is first viewed in Print Preview, Page
Setup uses the default Window printer's paper size and sets the Paper Size
to Letter. I'd like to hard code the Paper Size and Zoom to Fit for each
type of report I have. Is this possible? Thank you.
|
by: Majstor |
last post by:
How to open report in specific zoom?
Any suggestions?
Mario.
|
by: Marie |
last post by:
When a report is open in preview mode, you can go to the Zoom button on the
toolbar at the top of the screen, type in a zoom percent different from what
is in the list and the magnification changes to whatever you typed in. When
I open a report in code, I would like to set the zoom to 90%
programatically. There are RunCommand acZoom constants for 75% and 100% but
no 90%. I tried using acZoom90 but get an error message. Can the zoom be set...
|
by: Heather |
last post by:
What is the report function in Access 97 that allows you to zoom to a
specific size? ie.125%
Not the Minimize or Maximize function.
| |
by: Alberto |
last post by:
I want to show the preview of a report with a zoom of 75%, so I wrote this
code:
frmReports frm = new frmReports();
frm.CrystalReportViewer.Zoom(75);
frm.CrystalReportViewer.ReportSource = Application.StartupPath +
@"\Reports\" + "lst.rpt";
|
by: rgsw |
last post by:
Hi - I'm trying to figured out how to click on a report and have it already in 100% zoom instead of having always click on zoom to make report larger. Thanks!
|
by: Blacky |
last post by:
hi,
I have a form where in i dropped a crystal report viewer.I created a report sample.rpt and this is the code which binds my report to the viewer.
If (Session("rep") Is Nothing) Then
LoadReport()
Else
|
by: Bay0519 |
last post by:
Hi,
I'm using access 2003. Is there a way for me to open an access report with zoom to 82% automatically? Right now, I set it up as maximize, using
docmd.maximize
but I want it to zoom to 82% for users to be able to see all the data clearly when they open the report.
Please help.
Thank you in advance.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |