简体   繁体   English

连接到Sharepoint上的访问数据库的infopath

[英]infopath connecting to an access database on Sharepoint

I have an Access Database (accdb) with relationships (and linked tables) that is incompatible with Access Services. 我有一个Access数据库(accdb),其关系(和链接表)与Access Services不兼容。 It is currently saved locally but I have it on a SharePoint site as well. 它当前保存在本地,但我也将其保存在SharePoint网站上。

I also have created an Infopath form that queries the local Access Database for different fields, and is able to submit data back to make changes to the tables, etc. 我还创建了一个Infopath表单,用于查询本地Access数据库中的不同字段,并且能够将数据提交回去以对表等进行更改。

I now want to shift the connection to the database that is saved on the SharePoint site. 现在,我想将连接转移到保存在SharePoint网站上的数据库。 I went to modify my Main data connection (the locally saved Access Database), changed database to point it to the access database that is on the SharePoint site. 我去修改了我的主数据连接(本地保存的Access数据库),更改了数据库以使其指向SharePoint网站上的Access数据库。 It definitely recognized that it was an Access Database, because it even showed me my tables and queries and asked me to select a table. 它肯定认识到它是一个Access数据库,因为它甚至向我显示了我的表和查询,并要求我选择一个表。 But when I do so, it says there is "An unspecified error occurred while attempting to connect to the data source. Microsoft Office InfoPath supports only MS SQL Server and MS Office Access databases. Please check the connection to ensure it uses one of these two databases." 但是,当我这样做时,它表示“尝试连接到数据源时发生了未指定的错误。MicrosoftOffice InfoPath仅支持MS SQL Server和MS Office Access数据库。请检查连接以确保其使用这两个数据库之一数据库“。

Would any of you know how to resolve this error, without having to set up SharePoint Lists to connect back to my Access Database (I don't see how this would allow the initial querying of the data that my InfoPath form has to do). 你们中的任何人都知道如何解决此错误,而不必设置SharePoint列表以连接回我的Access数据库(我不知道这如何允许对InfoPath表单必须执行的数据进行初始查询)。

Thanks in advance for your help. 在此先感谢您的帮助。

Make sure your database it Access 2013 or older, older versions of access aren't supported in SharePoint to modify. 确保在SharePoint中不支持Access 2013或更旧版本的Access数据库,以进行修改。

I would create with Access 2016 a database that lives in the SharePoint Data Connected Library and connect to that. 我将使用Access 2016创建一个驻留在SharePoint数据连接库中的数据库并连接到该数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM