MS access 2007,单表到多表

发布于 2024-10-01 05:21:41 字数 118 浏览 1 评论 0原文

我想处理一个表单,在这里我将在文本字段中输入数据,这将作为新条目更新到表格中。现在,在可用的字段之外,我希望将其中的一些字段存储到另一个表中。所以这就像将表单数据保存到多个表中一样。我搜索了很多地方但没有找到任何解决方案。

i want to work on a form, here i will enter the data into text fields and this will be updated into a table as a new entry. Now out of the fields available iwant few of them to be stored into another table. so its like saving form data into multiple tables. I searched in many places but cudnt find any solution.

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

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

发布评论

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

评论(2

自找没趣 2024-10-08 05:21:41

最好的解决方案是使用表单和子表单。 Table1 绑定到窗体,Table2 绑定到子窗体。

The best solution is to use a form and a subform. Table1 is bound to form and Table2 is bound to subform.

秋风の叶未落 2024-10-08 05:21:41

感谢您的解决方案...虽然我不想采用另一种形式...但我找到了一种方法...对于第二个表,我引入了一个按钮,并在单击事件时编写了一个VB代码,这样它看起来对于类型为 autonumber 的 ID 字段(为了搜索行而引入),并使用带有条件表达式的 dlookup 来查找第二个表 n 中的行,使用了插入语句...这有效...感谢您的回复,非常感谢...

Thanks for the solution...i dont want to go for another form though...but i figured out a way..for the 2nd table i introduced a button and on click of the event wrote a vb code such that it will look for ID field of type autonumber(introduced for the sake of searching row) and used dlookup with a criteria expression to find out the row in 2nd table n used a insert statement...this worked...thanks for the response, appreciate it...

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