473,387 Members | 1,535 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.

Opening report in design mode

I have a need to open a report in design mode immediately before opening it
in preview, to change the Minimum and Maximum scale on an axis on a chart.

This results in a flash of the report in design mode just before it is
opened in preview mode.

Is there any way to open it in design mode hidden?

Jeff
Nov 12 '05 #1
4 5820
Try:
DoCmd.OpenReport "MyReport", acViewDesign, WindowMode:=acDialog
Setting its Visible property should make it show up later.

Turning Echo off would be the other alternative.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jeff" <je************@asken.com.au> wrote in message
news:Rv******************@news.optus.net.au...
I have a need to open a report in design mode immediately before opening it in preview, to change the Minimum and Maximum scale on an axis on a chart.

This results in a flash of the report in design mode just before it is
opened in preview mode.

Is there any way to open it in design mode hidden?

Jeff

Nov 12 '05 #2
Thank Allen

The WindowMode didn't work, but the Echo works beautifully.

Jeff

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
Try:
DoCmd.OpenReport "MyReport", acViewDesign, WindowMode:=acDialog
Setting its Visible property should make it show up later.

Turning Echo off would be the other alternative.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jeff" <je************@asken.com.au> wrote in message
news:Rv******************@news.optus.net.au...
I have a need to open a report in design mode immediately before opening

it
in preview, to change the Minimum and Maximum scale on an axis on a chart.
This results in a flash of the report in design mode just before it is
opened in preview mode.

Is there any way to open it in design mode hidden?

Jeff


Nov 12 '05 #3
Darn: should have been acHidden, of course.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jeff" <je************@asken.com.au> wrote in message
news:sn******************@news.optus.net.au...
Thank Allen

The WindowMode didn't work, but the Echo works beautifully.

Jeff

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
Try:
DoCmd.OpenReport "MyReport", acViewDesign, WindowMode:=acDialog
Setting its Visible property should make it show up later.

Turning Echo off would be the other alternative.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jeff" <je************@asken.com.au> wrote in message
news:Rv******************@news.optus.net.au...
I have a need to open a report in design mode immediately before
opening
it
in preview, to change the Minimum and Maximum scale on an axis on a

chart.
This results in a flash of the report in design mode just before it is
opened in preview mode.

Is there any way to open it in design mode hidden?

Jeff



Nov 12 '05 #4
That wasn't the problem. It said the named argument was incorrect. To my
knowledge there is no such argument to opening a report! Is there?

Jeff

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
Darn: should have been acHidden, of course.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Jeff" <je************@asken.com.au> wrote in message
news:sn******************@news.optus.net.au...
Thank Allen

The WindowMode didn't work, but the Echo works beautifully.

Jeff

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:40***********************@freenews.iinet.net. au...
Try:
DoCmd.OpenReport "MyReport", acViewDesign, WindowMode:=acDialog
Setting its Visible property should make it show up later.

Turning Echo off would be the other alternative.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jeff" <je************@asken.com.au> wrote in message
news:Rv******************@news.optus.net.au...
> I have a need to open a report in design mode immediately before opening it
> in preview, to change the Minimum and Maximum scale on an axis on a

chart.
>
> This results in a flash of the report in design mode just before it is > opened in preview mode.
>
> Is there any way to open it in design mode hidden?
>
> Jeff



Nov 12 '05 #5

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

Similar topics

1
by: Andrew | last post by:
Hi All: I am using Access2000 and I find that the command to open an Access report in preview mode is very slow: DoCmd.OpenReport rptABC, acViewPreview, "", "" The scenario is this: - The...
3
by: Jain | last post by:
Hi, Can anyone tell me how to have all the reports in my access database open in 100% view as the default view, rather than Fit? Thanks, Jain.
6
by: Salad | last post by:
Hi: I have a Bill of Lading template from the printer that I saved as a BMP. I created a new report and in the report's picture property told it the BMP file name. It brought the image in just...
4
by: vermutmb | last post by:
I must be missing something, but I have a report that when it is opened programmatically as a Preview, there is a limited toolbar which prevents the ability to edit the design, among other things. ...
2
by: neib | last post by:
Hi I am writing a tool to extract form, report, properties to a XML format for further analysis (cross referencing etc) using Python. Reports and Forms can be accessed using AllForms,...
1
by: vermutmb | last post by:
I'm totally stuck. When I click on the "Preview" button for a report on the database window, pressing the <ESCAPEkey simply closes the report. But when I use DoCmd.OpenReport with acPreview on a...
5
by: Debbiedo | last post by:
I am wondering if I can create an application that when you click on it (say a shortcut), it opens a report parameter box to query a set of parameters, and then opens the report based on these...
0
by: =?Utf-8?B?QmhhcmF0?= | last post by:
In Vb Net in open crystal Report after opening In open mode i open a form then form is opening in maximized mode (i have disable maximized button in form level) SO give me solution.
3
by: Paul H | last post by:
I have a transactions table and a balance table that look something like this: tblTransactions TransactionID (PK Autonumber) ClientID TransactionDate TransactionAmount (currency field, values...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.