473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

AllowBypassKey Function Option Failed

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
Nov 12 '05 #1
1 1614
Change
PropType As DAO.DataTypeEnum

to
PropType As Long

in the declaration line

Terry
"Dalan" <ot***@safe-mail.net> wrote in message
news:50**************************@posting.google.c om...
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

Nov 12 '05 #2

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

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
0
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:...
4
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:...
7
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. ...
19
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...
1
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 ...
2
by: dvorett | last post by:
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...
21
by: Joakim Hove | last post by:
Hello, I have implemented a small library with a function a datatype to manage temporary storage, and handle out correctly casted storage. The function to get a double pointer is for instance: ...
14
by: Mr Newbie | last post by:
I am often in the situation where I want to act on the result of a function, but a simple boolean is not enough. For example, I may have a function called isAuthorised ( User, Action ) as ?????...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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...

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.