MS Access:有关通过 Web 服务器连接到后端 SQL DB 的问题

发布于 2024-10-08 20:46:37 字数 149 浏览 1 评论 0原文

那么是否可以使用 microsoft access 作为表单、查询等开发的前端,并使用工作站数据服务器名称的 ODBC 连接通过 Web 服务器连接到 SQL Server 后端?这通常会使用什么端口?这种类型的设置涉及什么?这种设置可能会产生什么困难?

谢谢 贾斯汀

So is it possible to use microsoft access as a front end for form, query, etc development and connect to SQL Server back end through a web server using a ODBC connection from workstation Data Server Name? What port would this typically use? What is all involved with this type of setup? What difficulties may arise from this setup?

Thanks
Justin

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一笑百媚生 2024-10-15 20:46:37

假设您的意思是 SQL 数据库位于 Web 服务器上,并且您不是在谈论调用 Web 服务,那么这非常简单。 Access 允许您链接来自任何 ODBC 源的表并像使用普通表一样使用它们(存在一些限制)。如果您想在代码中打开表,那么您可以使用 ADO 打开连接,然后以这种方式操作数据。

链接表的最简单方法是使用程序 odbcad32.exe 创建 DSN,您可以在 XP“C:\WINDOWS\system32”上的此文件夹中找到该程序。完成此操作后,您只需进入访问并使用该程序链接表即可。数据服务网络

Assuming you mean the SQL database is on a web server and you are not talking about calling web services then it is very easy. Access allows you to link tables from any ODBC source and work with them as if they are normal tables (some restrictions apply). If you want to open the tables in code then you can use ADO to open up a connection and then manipulate the data that way.

The easiest way to link the tables is to make a DSN using the program odbcad32.exe which you can find in this folder on XP “C:\WINDOWS\system32” Once you do that you just go into access and link the table using that DSN

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文