Restore Window Size On Close

Jan 12, 2006

Hey guys,

I figured out to maximize a window when a report is opened, but now I want to restore the window sizes when this report is closed.

I think I kind of know what to do with the DoCmd.Restore and something about OnClose, but I'm lost in the syntax. If someone could help me out by giving me the syntax and where to put this code that would be fantastic :)

View Replies


ADVERTISEMENT

Forms :: Disable Or Hide Minimize / Restore And Close Window Buttons On A Form

Mar 9, 2014

I need to disable or hide the restore, minimize and close window buttons found in the top right hand corner of a form.

I navigation buttons that controls open, close etc already set up.

View 4 Replies View Related

Restore Window Problem

Oct 27, 2006

Hi there, i have looked into this but can't find a real solution. I have decided to keep certain of my forms maximised. I have tried pop up, or just have it ordinary sized but this doesn't work for my purposes.

So, the problem is that when the form is maximised, no matter what you do, you can't get rid of the "Restore Window" button in the menu bar. I have tried to make a workaround by putting "DoCmd.Maximize" in the Resize event of the form. The strange thing is that the event does fire but the form doesn't get maximised. Any idea why this is happening and what I could do to solve this issue?

View 3 Replies View Related

Disabling Access Minimize / Restore Down And Close Bar At Top Of Screen

May 26, 2015

How to hide, or disable the "Minimize", "Restore Down", and "Close" controls in the top bar (ribbon?) when previewing or viewing reports?

View 1 Replies View Related

General :: Disable Title Bar Minimize / Restore And Close Buttons

Oct 31, 2012

How to disable the Minimise, Restore and Close Buttons at the very top right hand corner of the Access application?

I have got buttons on my database to open / close everything so no need for them, even to hide the full Title bar probably be okay.

I am running Access 2007.

View 12 Replies View Related

Reports :: Remove Restore Window Icon On Report Menu Bar

May 2, 2013

I have created a custom menu used on my reports which contains all the icons I need and anchored them to the right side of the report. I have been able to remove the min, max and the close icons from the default report menu bar at the top right hand side as well as the "Ask A Question" dropdown. But I am not able to remove the "Restore window" button that comes with the report print preview.

How do I remove the "Restore Window" icon from the report's menu bar?

I'm using Access 2003...

View 3 Replies View Related

Automatically "Restore Down" Access Window

Jan 6, 2005

Hi all - I have my DB on a large network with many pc's and I need to set it so it when users open the program, the DB window will automatically "Restore Down" to a height and width I specify. Is there a way to code this in the DB itself? Any ideas would be great. Thanks.

View 2 Replies View Related

Size Of Viewing Window?

Mar 4, 2007

Hi All,

users can opening a file (either .doc, exe or .pdf) with additional data to the record they're looking at by clicking on a icon on a form. The icon has code behind it that opens the document (Application.FollowHyperlink NameDocTo Open). That opens the doc OK, no problem, but what is a problem is that the window for this document is exactly the same size as the window of the access form from which the second doc is opened.

The size of the access window is defined. I'd like to get the word or excel or pdf to be maximized. The weird thing is that I use the same code in another database and there the 'secondary doc' opens in a new window and of large enough size. How can the same code generate 2 outcomes? And how can I fix the issue described?

Thanks guys.

View 1 Replies View Related

Open Form On Close Of RelationShip Window

Aug 12, 2005

Folks,
i open my relationship window from a form and i after hide its visibility using the code below.
DoCmd.RunCommand acCmdRelationships
Forms![frmRelations].Visible = False
I need to open the hidden form after clicking on the close(x) button of the relationship window.
Are there any ideas please.

View 2 Replies View Related

How Can You Disable The Close (X) Button On The Database Window?

Dec 6, 2006

Hi Guys,

I have a database that uses a switchboard with a close button that runs several instructions before it exits. The problem is that some users have access to the database window and I need to prevent them from closing the database by hitting the X in the upper right.

Anyone know how to do this?

View 8 Replies View Related

How To Disable Save / Close Window In Form

Aug 14, 2012

I would like to disable this window : (which appears by right-clicking mouse on form headline)

So the users won't be able to close form by right-clicking. How to do it?

View 2 Replies View Related

Controlling The Application Window Size

Jan 25, 2007

Can i set the physical dimensions of the MS Access main window from code, like when I open my first form?

My main development computer has a massive big screen, but I mainly program for 1024x768 screen. When the database appears on my screen I'd like to resize it bigger as I see fit, but have my code open it to a 1024x768 sized screen when it opens on someone else's computer.

View 2 Replies View Related

Hiding Close Button When Form Window Maximised

May 8, 2006

Hi,
Anyone know in microsoft access 97 is it possible to remove the close button (top right hand corner) when a form is maximised?
Thanks.

View 1 Replies View Related

Change Font Size Of Sql Edit Window?

Nov 15, 2006

I'm running MS Access 2003. My SQL editing window has a really small font size. How do I change this window's default font size? Is it in tools or options?

Help!!!!!!! I'm going blind!!!!!!:confused:

Thank you for taking the time to read this and for being willing to help out!!

View 3 Replies View Related

Open MS Access Window In A Certain Position And Size

Nov 27, 2006

Hi,

I would like to open the MS Access Window in a certain position and size.

Somehow similar to open a form when using:
- to set the position and size:

Private Sub Form_Load()
Form.Move Left:=11500, Top:=6500, Width:=7000, Height:=6000
End Sub

I would like to open the MS Access Window within the screen area at a certain location, and having a certain size.
Is there any option in the Access Menu, or I can write some code, and where has to be written, so when I double click on the *.mdb file, the MS Access Window will open where I want and the size I want.

Thank you.

View 8 Replies View Related

Force Switchboard To Maintain Window Size

Nov 16, 2006

Is there any way to force the switchboard to maintain its pop up window size? Whenever I open an item from it that is maximised and then return to the switchboard it too has maximised.

Thanks

Russell

View 4 Replies View Related

Modules & VBA :: Login To Database - Close A Modal Popup Window

May 2, 2014

I've tried to add some basic login (not really security) to my database so that when a different name is entered into the login box a different form is opened.

I got this working but the login form stays in foreground and I can't click anything behind it and can't get to the design view to change any properties of anything.

I've also changed this login form to the startup item so it always loads when i start the database.

Is there way to get back to the design view or do i have to start again from my backup?

View 2 Replies View Related

CTRL W Shortcut (to Close Form Window) Not Working With Popup

Nov 28, 2011

As the title says, ctrl-W works on all my other forms but not on the one which has Pop-up set to "Yes".

View 1 Replies View Related

Help: Pass Argument From Child Window To Parent Window?

Feb 15, 2005

Hi,

I have a parent window which upon clicking on a button will pop-up a child window containing a listbox. The listbox recordsource is a subset of the parent window. I want the user to select a record from the listbox which will load the selected record onto the parent window.

How does one pass argument back from child window to parent window?

From parent window to child window, I used
docmd.openform ,,,,,,[argument] and me.openargs in the child window

thanks in advance.

View 4 Replies View Related

Large Field Size = Larger Overall Database Size?

Aug 29, 2005

Will keeping your field size shorter result in a smaller MDB file?

Or does Access only use as much space as there is real data in its fields.

Way back in the dBASE III days, dBASE would pad all your "real" information with as many spaces as necessary to fill up your field. I suspect that the MDB structure is probably smarter than that.


Another question on the same topic - I believe there is a maximum number of characters in a record (4000?). Can your field sizes add up to more than 4000, as long as the actual data, all combined, never totals 4000...?
Thanks............
..dc

View 3 Replies View Related

Restore DB

Feb 15, 2007

Hi there...

Can some one plz guide me how to do restroe access database?

thanks
Danny

View 1 Replies View Related

Restore My Menus

Apr 13, 2006

I have an application that hides all the normal Access menus, so that the user can only use the buttons that I have put on the screen forms. Now however, when I open up access, I cannot get to any of the Access menus. It shows the toolbar, but not the normal FILE/EDIT...TOOLS/HELP menu.

How do I toggle this back on? Everything I have been able to find so far tells me to go to the TOOLS menu ---- I cannot get to the TOOLS menu.

Thanks. BTW, I am not really as stupid as this post makes me sound.

Mike Redmond

View 6 Replies View Related

Restore Query

Jun 14, 2005

I have 2 queries that have been hidden from view by right clicking on them and selecting the hidden button. How do I restore them to view again????

cheers

EQ

View 2 Replies View Related

Help Restore Record In Query

May 12, 2005

The novice that I am inadverdently deleted a record in a query. (I find it strange that it does not just automatically restore it the next time I run the query.) Is there any way I can get this record back without having to recreate the entire query?

View 2 Replies View Related

Any Way To Restore Deleted Column

Apr 11, 2013

I am using Access 2013 and I had a column that was accidentally deleted a few months ago. Is there anyway to restore a deleted column? If not, I have the majority of the data from that column saved in an excel spreadsheet with another column that is common to the access file and the excel file. Is there any way to take the data from excel and have it match up using the data from the common column?

View 4 Replies View Related

Backup And Restore For Final User

Aug 23, 2006

Hi I have had a look on the forum but cannot find what I am looking for!!
I need to back up all the contents of the tables of a database in a certain folder and then restore it. The reason for all this is to be able to update the database with new features so that the final user can receive the update and restore the data.
How can I achieve this???
M

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved