#Name错误;类型不匹配13;访问链接的Sharepoint列表 [英] #Name error; Type Mismatch 13; Access with linked Sharepoint lists

查看:108
本文介绍了#Name错误;类型不匹配13;访问链接的Sharepoint列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:

 我正在运行Windows 7,Access 2010,Sharepoint 2007.缓存已关闭。

 I am running Windows 7, Access 2010, Sharepoint 2007. Caching is turned off.

 这是一个小型应用程序:可能是25-30个表,具有多个多对多关系,一个访问"导航表单"。 (即特殊导航"内置切换面板类型形式,而不是自定义形式),15个左右的子表单形式,
只有几个样本数据记录。

 This is a small application: maybe 25-30 tables, with a number of many-to-many relationships, an Access "Navigation Form" (i.e. the special Navigation "built in Switchboard type form, not a custom form), 15 or so forms with subforms, only a few records of sample data.

  ;应用程序作为本机Access应用程序运行时没有错误。然后我将表移动到Sharepoint列表,没有移动到链接列表的问题。我也"发布"了应用程序到Sharepoint服务器。这个过程没有问题。
现在,我可以通过单击"共享文档"中的应用程序来打开应用程序。 SP网站上的文件夹。

 The application runs without error as a native Access application. Then I move the tables to Sharepoint lists with no issues in moving to linked lists. I also "publish" the application to the Sharepoint server. No issues with this process. Now, I can open the application by clicking on the application in the "Shared Documents" folder on our SP site.

 如果我选择"编辑"选项,应用程序工作正常。如果我选择"只读"选项,应用程序抛出错误并在导航表单上使用多个子表单,文本框中填充了"#Name?"。
我检查表格,它们充满了正确的数据。

 If I choose the "Edit" option, the application works fine. If I choose the "Read Only" option, the application throws errors and with a number of subforms on the navigation form, textboxes are populated with "#Name?". I check the tables, and they are full of correct data.

 这表明发生了奇怪的事情,因为如果设计存在根本性错误,那么无论它如何启动都不会影响应用程序?也许代码错误会阻止表单正常工作。

 This suggests something odd is going on, 'cause if there were fundamental errors of design, then wouldn't it affect the application regardless of how it is started? Maybe the code bugs are keeping the forms from working properly.

 所以,我尝试在代码中找到一个错误:我进入调试,发送到抛出错误的sub,并注释掉该子代码。保存等。下次运行时,错误将被抛出到另一个子中。在所有情况下,"#Name?"错误仍然存​​在。好吧,
我试过评论所有VBA代码并删除所有模块。我没有收到错误消息,所以我猜这是件事。还有"#Name?"在各种形式的许多领域。

 So, I try to find an error in code: I go into debug, to the sub that has thrown the error, and comment out that sub's code. Save, etc. Next time it runs, the error is thrown in a different sub. In all cases the "#Name?" error persists. Well, I've tried commenting out all VBA code and removing all modules. I don't get the error message, so I guess that is something. Still have "#Name?" in many fields on various forms.

 在"只读"中运行它有什么用?打破事情的模式?

 What is it about running it in "Read Only" mode that breaks things?

 我想可能有一些关于使用"导航表格"的东西。在"只读"中模式是一个问题。但是,这样一个主要功能肯定能够正常工作吗?

 I think maybe there is something about using a "Navigation Form" in "Read Only" mode that is an issue. But surely such a major feature would be able to work properly?

 我尝试创建一个全新的导航表单并使用多种工作表单加载它。 "#Name?"错误在这些表单中重复出现。所有表格在单独加载时仍然有效。

 I tried creating a brand new navigation form and load it with several working forms. The "#Name?" error recurs in these forms. All of the forms still work when loaded separately.

 这就是我得到的......

 That’s as far as I got…

 问题:

1。有人有这样的问题吗?这是一个已知问题吗?

1. Anyone have any problems like this? Is it a known issue?

2。是否有人在已发布的链接列表应用程序中成功使用导航表单?

2. Anyone successfully using the Navigation form in a published, linked list, application?

3。还有其他想法可以帮助调试这个问题吗?

3. Any other ideas to help debug this issue?

我想我可以放弃导航表单并构建自己的表单,但这是一个很好的功能......

I suppose I could ditch the Navigation form and build my own, but it is a neat feature...

谢谢,抱歉这个长度,但是......

Thanks, sorry for the length, but...

干杯

Fred Boer

Fred Boer

推荐答案

嗨Fred,

>>。然后我将表移动到Sharepoint列表,没有移动到链接列表的问题。我也"发布"了应用程序到Sharepoint服务器。<<

您是不是要创建Access Web数据库并将其发布到SharePoint?

>> 在"只读"中运行它是什么意思?破坏事物的模式?<<

这是否意味着您查看如下图所示的形式:



如果是这样,我无法在我的测试环境中重现该问题。我建议你创建一个新的空白数据库并添加一些简单的表格和表格来测试这个问题是否与代码有关。

Hi Fred,
>>. Then I move the tables to Sharepoint lists with no issues in moving to linked lists. I also "publish" the application to the Sharepoint server.<<
Did you mean you create a Access web database and publish it to SharePoint?
>>  What is it about running it in "Read Only" mode that breaks things?<<
Did it means that you view the form like figure below:

If so, I can’t reproduce the issue on my test environment. I suggest you creating a new blank database and add some simple tables and forms to test whether this issue relate to the code.

祝你好运

Fei


这篇关于#Name错误;类型不匹配13;访问链接的Sharepoint列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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