I am designing a web database using Access 2010
I have put a macro which uses the openform action
The Window Mode for this Action is "Dialog". in the dropdown this is the only option which is available for this setting.
when the form opens up, i can see that it is very small and its size is fixed.
I want to set the initial size of the form, or atleast make it resizeable so that uses can enter data properly in the newly opened form
I had the same problem, but found this:
http://books.google.co.uk/books?id=G78tE7JjgDcC&pg=PA775&lpg=PA775&dq=access+2010+macro+set+window%2Bmode&source=bl&ots=bvmf2qN0fL&sig=gcAysal_0g1jJ3gOJP2c5WGVbKE&hl=en&sa=X&ei=yMkeUI-KJaWG0AXNu4GoAw&ved=0CE0Q6AEwADgK#v=onepage&q=access%202010%20macro%20set%20window%2Bmode&f=false
(bottom of page 775)
Shows that Access 2010 macros are web based and only open forms in dialogue mode, not tabbed mode as in access. This does not show any other way around the problem! But I'm still looking.
Related
I maintain a fairly large ms-access 2003 application. One of the recent changes that I was asked to make was to add a popup dialog box to warn used of a particular situation when the opened a form which is itself a pop up (although not modal) form.
Unfortunately, the new popup modal form comes up behind the original one, getting the user interface into an impossible position (you cannot close the modal dialog box because it is hidden, but you cannot move the others out the way because the modal dialog is preventing you).
I've temporarily made the new box come up to the very side of the screen but it is far from ideal.
Is there a way to specify the Z index of a form so I can control the layering? (or any other solution)
The only way to control this is by the order in which you open the forms.
I.e. you have to first open the original popup form, then open the new modal popup.
You could also consider using MsgBox() instead of the new form.
in my MS Access 2013 application, I am using a Navigation Form as a top layer to connect all my subforms.
How do I stop Access from requerying the subforms whenever I change tabs (forms) ?!
(Basically I just want to use the navigation tabs as a way switch the other forms that remain open but hidden)
This seems like a basic feature that i cant't seem to figure out.
Thank you in advance!
Unlike Tabs, NavigationForms has a menu and a subform control where your "target forms" will be "loaded". So every time when you click a navigation button, your target form will be "loaded/opened" into the subform control.
It means you are not re-querying your forms but unloading and loading.
for your purpose you might well use the normal Tabs.
I am currently working in MS access 2013, and having an issue with some forms that worked previously. I have gone back and edited them to have different functionality. I need the forms to be pop ups. Now, they work perfectly when they aren't pop-ups, but as soon as I change the forms to pop-ups the forms pop up off screen. I have no clue how to fix this.
Now the first thing I did was start from an old verison, and I was just going to remake the form; however, as soon as I change ONE thing from those old forms the form starts popping up off screen again.
Has anyone had this issue or know how to resolve it?
If you have two monitors or if your application is created in a secondary monitor and used in a single monitor machine, this behavior is expected. As EvDev mentioned. Set the "auto center" = Yes and edit your application in the default monitor.
Set the Auto Center property of the form to True.
Im having an intermittent problem where forms open in view mode but minimised, looking like a small inch-sized box with the 'X' close button visible.
It normally seems to happen when Ive made a change to the form or code in the forms module, but happens randomly when being used in view mode.
I can only get round it by either re-importing a backup of the form or making the form border sizeable, either way it's not too professional.
Any ideas how I can solve this one?
Docmd.Restore seems to work on the form load event
Has anyone found a way to change the icon displayed in the Office Button in A2007?
Having converted an MS Access 2003 app to 2007, it's very annoying that my app is now displayed as an MS Office app instead!
You can certainly hide all of the ribbon and the office button with one line of VBA code in your startup. You can use:
DoCmd.ShowToolbar "Ribbon", acToolbarNo
The above will hide the office button the QAT and the ribbon.
edit:
You were asking how to hide everything. It is just a simple great one of code that will accomplish this for you.
If you are looking to build a custom UI, then you are free to do so. About the only limitation of a custom ribbon is you HAVE to have file button (but, I think every program I installed for 15+ years had a file option anyway).
So, you are most free to customize what that file button shows. You question simply asked how to hide everything and the above does that with ease.
So, if you do want a ribbon, then your custom ribbon can specify startfromScratch = true, then the only UI options you add to your ribbon is what the user will see.
However, a custom ribbon will always have the file button (or what we often call pizza button and that simply part of the ribbon).
You can also consider using menu bars and not showing the pizza button, but 2007 does not have a built in menu bar builder like previous versions did. This abilty to show only a custom menu bar is outlined here:
http://www.accessribbon.de/en/index.php?FAQ:7