在Access 2010中使用表单中的文本字段从另一个访问数据库中检索数据(Using text field in form in access 2010 to retrieve data from

编程入门 行业动态 更新时间:2024-10-23 19:25:25
在Access 2010中使用表单中的文本字段从另一个访问数据库中检索数据(Using text field in form in access 2010 to retrieve data from another access database)

我有10个MS Access数据库,每个数据库都大于2 GB的限制。

现在,我需要使用文本框中的过滤器在新的Access数据库中创建表单,如EMPID,EMP NAME,文件名和日期过滤器。

使用这些过滤器,我需要从这10个数据库中获取新表中的数据。 例如,员工数据文件超过5 GB,因此我将其分为3个不同的Access数据库。 现在,我需要输入emp id来检查新创建的表单中的员工详细信息。 代码应该逐个检查所有3个不同的数据库中的员工数据,并在新创建的具有该表单的数据库的一个表中给出详细信息。

我正在努力建立这个,我是Access的新手,你的帮助非常感谢。

I have 10 MS Access databases, each larger than the 2 GB limit.

Now I need to create a form in new Access database using the filters in a textbox like, EMPID, EMP NAME, File Name, and Date filters.

Using these filters, I need to get the data in a new table from those 10 databases. For example, employee data file is more than 5 GB, so I separated it into 3 different Access databases. Now, I need to check an employee detail in the newly created form by entering the emp id. The code should check in all the 3 different database for employee data one by one and give me the details in one table in the newly created database which has the form.

I am trying to build this and I am new to Access, you help is really appreciated.

最满意答案

在您的前端数据库中, 链接 (或附加,如果您喜欢)每个有问题的数据库/表,然后创建并运行常规查询以查找所需的记录和值。 这没有魔力。

也就是说,将数据库移动到可以保持原始大小的引擎(如免费的MySQL数据库),并通过ODBC连接到该引擎。

In your frontend database, link (or attach if you like) each database/table in question, then create and run normal queries to look up the records and values you need. There is not magic in this.

That said, move the database(s) to an engine that can hold the original size, like the free MySQL database, and connect to this via ODBC.

更多推荐

本文发布于:2023-08-07 11:23:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464257.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字段   表单   数据库中   文本   数据

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!