473,569 Members | 2,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5857
Try:
DoCmd.OpenRepor t "MyReport", acViewDesign, WindowMode:=acD ialog
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*********@Se eSig.Invalid> wrote in message
news:40******** *************** @freenews.iinet .net.au...
Try:
DoCmd.OpenRepor t "MyReport", acViewDesign, WindowMode:=acD ialog
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*********@Se eSig.Invalid> wrote in message
news:40******** *************** @freenews.iinet .net.au...
Try:
DoCmd.OpenRepor t "MyReport", acViewDesign, WindowMode:=acD ialog
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*********@Se eSig.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*********@Se eSig.Invalid> wrote in message
news:40******** *************** @freenews.iinet .net.au...
Try:
DoCmd.OpenRepor t "MyReport", acViewDesign, WindowMode:=acD ialog
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
3848
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 following codes are written in the VB Applcation. - Prior to opening the report, I set its recordsource with a sql: ..Reports!rptABC.RecordSource =...
3
2901
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
8173
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 fine. I then placed the fields in the report. Then I previewed the report. The picture resized or something and all of my nice fields were no...
4
1704
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. However, if the use presses the <ESCAPEkey, it automatically reverts to Design Mode. How do I prevent this?
2
3294
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, AllReports and DoCmd to open them in design mode but Although there is a collection "AllMacros" there does not seem to be a way using DoCmd to gain access...
1
1784
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 form, pressing the <ESCAPEkey dumps the report into design mode. To add one more quirk, creating a new form, and using the wizard to create a...
5
2102
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 selections without actually opening the access database window. In other words, can I have the end user only see (i.e. have access to) the report in...
0
1159
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
5167
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 must be >0) CRDR (indicates whether the transaction is a (credit or debit) StatementDate (Date stamp applied when the “Statement” report is run)
0
7612
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...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5513
isladogs
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...
0
5219
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...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
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
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
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...

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.