0

因为我在我的程序中放了一个代码 AllowBypassKey = false

如果我在 Access Runtime 2010 中运行我的代码,会自动给出一个运行时错误并无缘无故关闭我的程序。:(

===================

What I did is : 

-The first form will show in the program is the LoginForm
-On Load LoginForm
CurrentDB.Properties("AllowBypassKey") = false


-On Click Quit Button in the LoginForm.
If txtpassword = strByPassCode then CurrentDB.Properties("AllowBypassKey") = True

=====================

我不确定我的程序发生了什么,但如果我在完整版 Ms Access 2010 中运行我的程序,我的代码没有遇到任何错误。

但是如果我删除 AllowByPassKey 它将运行顺利。但是我需要输入一个旁路代码,这样我的代码和表格都会受到保护。

4

1 回答 1

0

我已经解决了我的问题。这是来自客户端数据库的数据问题。我太d**b了,我没有复制他的数据库。

谢谢您的帮助 :)

于 2013-08-02T09:14:01.293 回答