473,624 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

shift enter as a button

48 New Member
poss a silly question, but basically i have a database where its properties mean when it is opened (enter / double click) the actual database, and options (file/edit/...etc) are hidden and only the 'start up' form is shown, from where people can navigate the database through forms etc. by pressing shift enter (at home) will allow me 'fully' access. however, at work where the database is used, the shift key is dissabled. is there a way i can put a button on the start up form which when pressed/clicked, i could get into the full database as like pressing shift enter?? a back door as such
cheers
Jan 21 '08 #1
9 3559
NeoPa
32,566 Recognized Expert Moderator MVP
Normally a double-click or such other event on a particular area of your main form is used as a trigger for getting in.

I don't have menus disabled in mine, but I use ...
Expand|Select|Wrap|Line Numbers
  1. Call DoCmd.SelectObject(Objecttype:=acForm, _
  2.                         Objectname:="frmMainMenu", _
  3.                         InDatabaseWindow:=True)
... to get access to the database window. frmMainMenu is the name of my startup form. You'd need to replace this with your own one.
Jan 23 '08 #2
NeoPa
32,566 Recognized Expert Moderator MVP
I did a little more digging and found another line that could be even more helpful.
Expand|Select|Wrap|Line Numbers
  1. Call DoCmd.RunCommand(Command:=acCmdStartupProperties)
Jan 23 '08 #3
dale5804
48 New Member
many thanks for your help, will give it a try. cheers
Jan 23 '08 #4
NeoPa
32,566 Recognized Expert Moderator MVP
No problems. Let us know how you get on :)
Jan 23 '08 #5
dale5804
48 New Member
interesting, using the last code, works fine at home (access 2007), but when save as a 2002 format, and opened at work doesnt.
I've put the code on so when you doible click a label, it opens the databases attributes/properties box, i can then set 'show database' etc, but it doesnt work at work?? any ideas
cheers
Jan 24 '08 #6
NeoPa
32,566 Recognized Expert Moderator MVP
I'm afraid I don't know much about differences between versions. It works on my home system (under Access 2003). Have you looked in the help system when you're on your work system to see what it says about it?
Jan 25 '08 #7
dale5804
48 New Member
hi works computers are so limited, that they even block that function. but cheers for all your help, i'll see if i can get around it.
thanks
Jan 26 '08 #8
NeoPa
32,566 Recognized Expert Moderator MVP
In what way is it blocked?
Is it simply that a reference is not set?
Jan 26 '08 #9
dale5804
48 New Member
its a big company i work for, they block access to lots of things. loads of 'red tape' to go through to get access to stuff. but cheers anyway
Jan 26 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1570
by: Mariusz | last post by:
Hi, I would like to use shift button to select multiple rows in table but there seems to be problem with it. I have table rows inside the <a> tag so I can drag them and drop like in windows explorer. I would like to mimic also explorer style of selecting multiple rows using the shift button. But when i click on one of my rows using shift button then rows are selected but new windows is also opened - and I would like to prevent this kind of...
7
6688
by: Susan Bricker | last post by:
I know that I saw some information concerning the <shift>+<enter> combination use to bypass launching an Access mdb application and enter the Access design workspace. Would someone please direct me to some information on how to disable this function (and how to re-enable it)? I believe that I saw some article that showed how to incorporate this into a command button. That would work for me as I have three different sign-on authorities...
4
2077
by: Paul T. RONG | last post by:
Dear All, I add two new tables to the database and then the disable shift key codes don't work. These two new tables are actually created by two queries, and only these two are in the front end, I didn't manage to move them to the back end. I work with Access 2k under Win XP. these are the codes that don't work (it worked for more than a year very well):
4
15347
by: Vazz | last post by:
I am trying to capture the key combination "Control + Shift + Enter" in a KeyDown event. I am able capture "Control + Enter" using (e.KeyCode == Keys.Enter && e.Modifiers == Keys.Control). How do I check if there are two Modifiers?
7
7190
by: Csaba Gabor | last post by:
I'd like to detect the shift key when a button is "clicked" in Firefox/Mozilla. If the button is clicked with the mouse, no problem. However, if the onclick event is keyboard originated, then my method is not working. Same thing for SELECT elements. The simple web page below shows the issue. Click with the mouse while holding down the shift key, and the Shift key's status registers. However, use Shift+Alt+o, or either (while the...
2
5183
by: pemigh | last post by:
Client's fingers have been well trained on another application to wrap lines by hitting shift-enter, and wants the same in Access application. Changing "enter key behavior" for controls is not acceptable, because same client's fingers automatically hit Enter (instead of Tab) to move to the next field. How to make shift-enter behave like control-enter? I've tried various combinations code in Autokeys, Key Preview, Key Down, Key Up, and...
2
1937
by: dotnetnoob | last post by:
when the user log into my application, there is a dialog pop up with some paramereters that need to set. a radio button is default to checked and a textbox is right next to it. i want the cursor or the ibeam to flash on the textbox so user don't have to click on the textbox in order to enter input. how do i shift the focus? i have the windows form load even with this.rdTest.enabled = true;
2
1667
by: Sunfire | last post by:
I was wondering if there was a way to hit enter to insert blank lines while in the designer? I tried this but all it seems to want to do is insert code that really shouldn't be there. For example, I had a heading 1 centered on a page. Right under that I had some words in smaller print right under the heading. When I hit enter after the heading 1, it automatically put the text right below it in a <p></ptag. I don't want this sort of stuff to...
3
2314
by: buddyr | last post by:
can I use VB to work in microsoft excel to cause the enter button to shift to the right instead of down. I only want one worksheet to have this in. Trying to get code in Private Sub Worksheet_change(ByValTarget as range) procedure. No matter what I do - I cause all my excel sheets to go to the right when I hit enter and I only want one worksheet to. any ideas thank you
0
8236
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8173
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8621
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
5563
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.