English 中文(简体)
3. 与办公室服务器或主动X控制进行沟通
原标题:Communicating with the OLE Server or ActiveX Control

MS Access 2010, Win 7 on a regular form
我故意放下任何主动的X或OLE物品,甚至不肯定这些物品。 但不管怎么说,只要我在某一具体形式的法典中做些什么,它就说:
”。 第三十二十号声明是你作为事件财产设置造成的以下错误: 在MyDB与OLE服务器或主动X控制通信时,出现了一个问题。

Huh? 无论我以什么形式表述,情况都是如此。 我有一个空洞的“Current() ONLY”表,该表仍在使用。 有许多格式化和工作形式,我不去掉。 如果我离开代码窗口完全空洞(仅是选择比较数据库),那么它不会错过;然而,我的形式是无用的。

我看到了这个问题是一个语言问题,但我的其他形式(运用同样的法典技术和大多数相同的法典)是罚款的,而且它带有一个以英语制作的PPC。 想法?

Code setting off the error:

Private Sub Form_Current()
End Sub

严重。

最佳回答

对缺失参考资料进行检查。 http://www.granite.ab.ca/access/corruptmdbs.htm 您可能不得不绕过问题表格。 有时,这值得形成一种新形式,从旧形式和历史中选择所有控制。

问题回答

I faced the same problem and I tried many things, the only (and fastest) solution that worked is to do the following: 1) Close the form that is causing the error. 2) Rename this form. 3) Duplicate it: Copy, then Paste, you will be prompted to set a name for the new form. Give it the original name. 4) Delete the original form that was causing the error. 5) Open the pasted form and it will work OK. This solution worked fine with my database... Regards...

you can change the language setting to have a try, the steps are as follow: 1、Open window command ,run "intl.cpl" 2、choose the Administrative item ,change the system locale settings.

Hope that can help you.

我曾多次处理这个问题。 错误说明是可怕的,因为它基本上没有有用的信息。 我发现,Abu Hassan的解决办法通常效果最佳(复制形式和删除原案文),但这不是一次对我的工作,我不得不删除我最近补充的进口说明:

imports system.collections

Once I deleted that import statement everything worked again. So if duplicating the form doesn t work then try undoing something you recently did. It could be this import statement or one similar to it.

Very strange error, that sometimes occurs in my databases too. It seems to go wrong mostly on UNBOUND FORMS (unbound forms have no RECORDSOURCE). What I have done recently is :

  1. temporarily define "some" table (e.g. a config table with just one record) as the RecordSource,
  2. compile the program (Note that this usually goes OK, even before the fix!)
  3. Save the form.
  4. Open the form. This should work fine now!
  5. Delete the RecordSource, recompile and save again.
  6. Most of the time, my forms work fine again after that.

as my experience some of errors because you use your local language in VBA statement so you must adjust your local language as language of system from control banal >> language or region>>administrative>>change system local then select your local languages

或认为该词不是英语,改为英语





相关问题
Handling no results for docmd.applyfilter

I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wildcard search of whatever the user enters in the TextBox, and displays the ...

access query to filter and combine count

i have two access tables tableA num count 1 7 2 8 3 9 4 9 5 13 6 6 tableB num count 0 1 1 14 2 12 3 5 4 5 5 11 6 5 how can i create an access query that ...

How to show File Picker dialog in Access 2007?

I want to show a dialog where the user can pick a file, click OK, and then the path to the file will be saved in the database. I have just one problem, I can t figure out how tho show the dialog ...

MS Access: list macro from VBA

I have to deal with a few macros (not VBA) in an inherited Access application. In order to document them, I would like to print or list the actions in those macros, but I am very dissatisfied by ...

Returning row number on MS Access

I have 4 tables, from which i select data with help of joins in select query...I want a serial no.(row number) per record as they are fetched. first fetched record should be 1, next 2 and so on... In ...

热门标签