473,779 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Allowbypasskey property

I was wondering if there was a way to set a specific property to
different vallues depending on the user?
I need to users of the database to be able to add, edit, and read data
in the forms but not be able to change the design in anyway. I have
all the settings the way I want and then I figured I could just hold
the shift on startup when I log in as the administrator, unfortunately
that also works for the other users. Can I set allowbypasskey to false
for user and true for administrator.

Any help would be greatly appreciated
Thanks a bunch
Dan

Nov 13 '05 #1
2 4645
"dvorett" <da********@hot mail.com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Can I set allowbypasskey to false
for user and true for administrator.

I set the bypass key property to True for development and False for
production using a smart little utility developed by Albert D. Kallal:

http://www.members.shaw.ca/AlbertKal.../msaccess.html

There's a version for A97 and one for A2000.

HTH - Keith.
www.keithwilby.com
Nov 13 '05 #2
Thanks a lot Keith, that did the trick!

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1625
by: Dalan | last post by:
Someone recently directed me to http://www.mvps.org/access/general/gen0040.htm for using a Function that includes the fourth place DLL to prevent undoing the AllowBypassKey = False. However, the code apparently fails to run on Access 97. The part that does not work is "PropType As DAO.DateTypeEnum" - Automation failed when attempting to compile. Has anyone any clues why, or is this code only for Access 2000> Thanks, Dalan
0
1625
by: Dalan | last post by:
Perhaps someone can share information on the methods to use to effect the automation process of creating the property to set the AllowBypassKey function. I was directed to: http://www.mvps.org/access/general/gen0040.htm and downloaded the function module that includes setting the fourth DDL part to true. It initially failed to compile using Access 97 because "PropType As DAO.DataTypeEnum" is not an automation type that Visual Basic...
4
2857
by: Dalan | last post by:
Perhaps someone can share information on the methods to use to effect the automation process of creating the property to set the AllowBypassKey function. I was directed to: http://www.mvps.org/access/general/gen0040.htm and downloaded the function module that includes setting the fourth DDL part to true. It initially failed to compile using Access 97 because "PropType As DAO.DataTypeEnum" is not an automation type that Visual Basic...
3
2498
by: Johnny M | last post by:
using Access 2003 Pardon the subject line, but I don't have a better word for this strange behavior (or behavior I don't understand!!!) I have a class module named DepreciationFactor. One of the properties is a follows (irrelevant code omitted):
7
11032
by: Mark | last post by:
Help, please!! I am running MS Access 2000. I copied code from Michael Kaplan's website (see below) to disable the shift key for all non-admin users. I pasted the code into a new function. I then created a macro, used the Run Code command and selected my function. When I select the function in the Expression Builder, it appears as:
19
6274
by: MLH | last post by:
I call the following Sub and Function in frmLaunch's OnOpen event code. I keep getting Property Not Found error for the AllowBypassKey setting. Failure point is line #30 in the Function (not the Sub). Ideas? Sub SetStartupProperties() On Error GoTo SetStartupProperties_Err 10 ChangeProperty "StartupForm", dbText, "frmLaunch" ' Form you want to open at startup 20 ChangeProperty "StartupShowDBWindow", dbBoolean, False ...
1
2240
by: TechBoy | last post by:
RE: Access 2002 When my app starts up I am trying to set the F11 key to a disabled state so users cannot press it to see the DBWindow. Here is the error: error msg: 3270-property not found Here is the line of code the debugger stops at: ---CurrentDb.Properties("AllowBypassKey").Value = Enable---
0
5569
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control is used to view the state of the running jobs and schedule new jobs. The control also runs in the context of Internet Explorer (we do this so the administrators of the jobs can always receive the latest control). The property grid is used to...
15
2049
by: Lauren Wilson | last post by:
Owning your ideas: An essential tool for freedom By Daniel Son Thinking about going into business? Have an idea that you think will change the world? What if you were told that there was no way you could prevent someone from stealing your idea and exploiting it to make a profit? What incentive would there be for you to be innovative, creative and ambitious if you couldn’t be sure that your ideas would be protected? Enter intellectual...
0
9636
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
10306
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10138
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...
0
9930
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
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
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
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

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.