By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,336 Members | 2,315 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,336 IT Pros & Developers. It's quick & easy.

AllowBypassKey Function Option Failed

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.