From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



在未安装微软Access的计算机上,我可以利用LabVIEW提供的数据库连接工具包访问MDE文件么?



主要软件:
主要软件版本: 1.0.1
主要软件修正版本: N/A
次要软件: N/A

问题: 我想将我的微软Access数据库保存为MDE文件,并在一台未安装微软Access的计算机上实现LabVIEW数据库函数。而且我已经得到数据库连接工具包,请问可以么?

解答:

像MDB文件一样,MDE文件也是可以通过美国国家仪器的数据库连接工具包来进行访问的。尽管计算机上并没有安装微软Access,Windows操作系统仍然可以通过ODBC驱动器访问MDE文件。

在一台安装微软Access的计算机上创建MDE文件后,您可以将这个文件复制到没有安装微软Access的目标机上,但您必须为MDE文件创建一个数据源名称(DSN)或者通用数据链接(UDL)。目标机上的LabVIEW代码可以像在开发机上一样正确地访问数据库文件。

想了解更多在进行数据库编程时MDE文件的信息和使用限制,请访问MSDN(链接如下)。



相关链接: Products and Services: LabVIEW Database Connectivity Toolkit
KnowledgeBase 2KFB4NOU: Creating a Microsoft Data Link file (.UDL) for Connecting to Microsoft Access in LabVIEW
KnowledgeBase 1XMGJUHE: Can I Use LabVIEW to Open an Access Database Without Using SQL Functions?
KnowledgeBase 2MJ6PPFP: Error 1 Using the LabVIEW Database Connectivity Toolset to Connect to a Microsoft Access Database
KnowledgeBase 1Q5G4DJ6: Why Does My LabVIEW Application Leak Memory when Logging to an Access Database?

附件:





报告日期: 03/06/2002
最近更新: 07/13/2011
文档编号: 2J5H09DJ