473,378 Members | 1,512 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,378 software developers and data experts.

Make Reports Open 100%

I have many reports in my database. All but one opens at 100%. The one opens at
"Fit". How do I make that one open at 100%?

Thanks for all help!

Steve
Nov 12 '05 #1
7 4014
I was able to get it to do so by placing the following in the Detail Section's OnRetreat
event.

RunCommand acCmdZoom100

--
Wayne Morgan
"Steve" <ss****@bellsouth.net> wrote in message
news:KZ*****************@newsread1.news.atl.earthl ink.net...
I have many reports in my database. All but one opens at 100%. The one opens at
"Fit". How do I make that one open at 100%?

Nov 12 '05 #2
ps.

This Retreat event is the only one that I found that would accept the command. The trick
is that the Retreat event may not be triggered depending on what you're doing. All the
other events on the report or its sections gave me an error that said the command can't be
run at this time. However, with further testing, I found that if I placed the RunCommand
acCmdZoom100 command right after the DoCmd.OpenReport call, that it appeared to work every
time.

--
Wayne Morgan
"Steve" <ss****@bellsouth.net> wrote in message
news:KZ*****************@newsread1.news.atl.earthl ink.net...
I have many reports in my database. All but one opens at 100%. The one opens at
"Fit". How do I make that one open at 100%?

Thanks for all help!

Steve

Nov 12 '05 #3
Wayne,

Thanks for responding!

I didn't have to do this for any of the other reports and they all open at 100%.
Why would I have to do it for this report?

Steve
"Wayne Morgan" <co***************************@hotmail.com> wrote in message
news:Cs*****************@newssvr33.news.prodigy.co m...
ps.

This Retreat event is the only one that I found that would accept the command. The trick is that the Retreat event may not be triggered depending on what you're doing. All the other events on the report or its sections gave me an error that said the command can't be run at this time. However, with further testing, I found that if I placed the RunCommand acCmdZoom100 command right after the DoCmd.OpenReport call, that it appeared to work every time.

--
Wayne Morgan
"Steve" <ss****@bellsouth.net> wrote in message
news:KZ*****************@newsread1.news.atl.earthl ink.net...
I have many reports in my database. All but one opens at 100%. The one opens at "Fit". How do I make that one open at 100%?

Thanks for all help!

Steve


Nov 12 '05 #4
"Steve" <ss****@bellsouth.net> wrote in message
news:E9****************@newsread2.news.atl.earthli nk.net...
Wayne,

Thanks for responding!

I didn't have to do this for any of the other reports and they all open at 100%.
Why would I have to do it for this report?


Did you develop this app? IME reports always open at 100% unless there is code added
to make them do otherwise. Are you sure this one doesn't have that? Is the result
the same when you open from the db window as opposed to using a command button to
open it?
Nov 12 '05 #5
Rick,

Thanks for the comments!

Yes, it opens in "Fit" from the database window too.

Steve
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:bl************@ID-98015.news.uni-berlin.de...
"Steve" <ss****@bellsouth.net> wrote in message
news:E9****************@newsread2.news.atl.earthli nk.net...
Wayne,

Thanks for responding!

I didn't have to do this for any of the other reports and they all open at 100%. Why would I have to do it for this report?
Did you develop this app? IME reports always open at 100% unless there is

code added to make them do otherwise. Are you sure this one doesn't have that? Is the result the same when you open from the db window as opposed to using a command button to open it?

Nov 12 '05 #6
On Thu, 02 Oct 2003 14:05:26 GMT in comp.databases.ms-access, "Steve"
<ss****@bellsouth.net> wrote:
Rick,

Thanks for the comments!

Yes, it opens in "Fit" from the database window too.


I can't find a pattern to this, my scratch cdma database had but one
report, it opened in "Fit". I created a new report (using "columnar
wizard") and it opened in "100%", I save it, closed it, opened it
again and it opened in "Fit". Balmy.

In my live apps, I generally have a profile set for preferred view and
use the method that Wayne posted so I never really noticed it before.

--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #7
Rick,

I've found that to usually be the case, but I have a few that don't also. I haven't been
able to pin down a common cause yet. If I go from design view to preview it opens at 100%,
if I open it from the database window it opens at Fit. I didn't notice this in earlier
versions of Access, but XP seems to like to do this.

I just did some more playing around. It appears that if I turn Auto Resize off in the
report's properties that it opens at 100%, if Auto Resize is on, it opens at Fit.

--
Wayne Morgan
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:bl************@ID-98015.news.uni-berlin.de...
"Steve" <ss****@bellsouth.net> wrote in message
news:E9****************@newsread2.news.atl.earthli nk.net...
Did you develop this app? IME reports always open at 100% unless there is code added
to make them do otherwise. Are you sure this one doesn't have that? Is the result
the same when you open from the db window as opposed to using a command button to
open it?

Nov 12 '05 #8

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

Similar topics

3
by: Steve | last post by:
Recently due to viruses I had to wipe my harddrive and reload everything. Now, in AccessXP(2000 and XP mode) all new reports and all reports in existing databases open in Fit to Page rather than...
4
by: Oreo Bomb | last post by:
I have a secured database that contains a Read-Only group. This group has permissions to view reports, but cannot add, edit, or delete any DB objects. One of the reports the group needs access to...
17
by: Peter Proost | last post by:
Hi Group, I've got an interesting problem, I don't know if this is the right group but I think so because everything I've read about it so far says it's a .net problem. Here's the problem, we're...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
4
by: Mike | last post by:
Hi We are developing an ASP.NET 2.0 application and using the in built Crystal report system that it comes with. We have everything running fine on our development server but when we publish...
1
by: steveberwick | last post by:
**Using Visual Studio 2005 and Crystal Reports XI Release 2 Developer Edition. I currently have a multi-threaded C# application that loads a Crystal Report at runtime, fills out the necessary...
3
by: LurfysMa | last post by:
I would like to hear opinions on the tradeoffs of putting the tables, forms, and queries for several related datasets in separate databases vs one combined database. I am working on an...
1
by: jvskarthick | last post by:
Hi I am very new to crystal reports at present I am working with Crystal reports actually my requirement is, I have to create verity of reports more then 100 reports. After creating the reports if...
5
by: Aswanth | last post by:
I'm Using Asp.Net with C# & Working with SSRS 2005 for Generating Reports.. The Following Expression I'm using in Reports to Show the Percentage of Particular Items in REPORT.. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.