Access无法找到对象“*” [英] Access cannot find object "*"

查看:91
本文介绍了Access无法找到对象“*”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个导航表单frmNavigation用作dbase的菜单。当我使用它如果我按下其中一个按钮我得到上述错误,然后它打开正确的表格。如果我尝试在设计视图中打开frmNavigation,我也会得到相同的错误,然后在设计视图中打开它?


我尝试取出所有事件和宏,表格现在没有任何命令(只有设计信息remanis)。即便如此,如果我按下一个按钮,我也会得到同样的错误。


所有按钮上都没有,只有2个?


可以有人帮忙吗?

I have created a navigation form "frmNavigation" to use as a menu for a dbase. When I use it If I press one of the buttons I get the above error and then it opens the correct form. If I try to open the frmNavigation in design view I also get the same error and then it opens in design view?

I have tried taking out all events and macros and the form is now empty of any commands (only the design info remanis). Even so, if I press a button I get the same error.

It does not happen on all buttons, just 2?

Can anyone help here?

推荐答案

请发布相关按钮的点击事件的VBA代码。没有它就无法回答你。


-Stewart
Please post the VBA code for the relevant button''s On Click events. Can''t answer you without it.

-Stewart


这些按钮都没有任何代码。我刚刚创建了没有任何按钮背后的事件的表单。


但是,如果我尝试在设计视图中打开表单,我会收到错误,如果我打开窗体视图和按下按钮,我得到一些错误而其他人没有错误
None of the buttons have any code behind them. I have simply created the form with no events behind any of the buttons as yet.

However, if I try to open the form in design view I get the error and if I open in form view and press buttons, I get an error on some and nothing on others


如果你没有VBA代码,那么你当然至少有一个控件连接到SQL代码或QueryDef。请发布那个SQL。


斯图尔特说,如果你没有告诉我们你的问题,那么帮助你会有点复杂。
If you have no VBA code then you certainly have at least one control connected to either SQL code or a QueryDef. Please post the SQL of that.

As Stewart says, if you don''t tell us anything about your problem it''ll be somewhat complicated to help you.


这篇关于Access无法找到对象“*”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆