472,975 Members | 1,105 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,975 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 5765
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...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.