MS Access触发? [英] MS Access trigger?

查看:72
本文介绍了MS Access触发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MS Access中有两个名为[Insert_Record]和[Delete_Record]的表.这两个表具有相同的字段,但是一个表具有记录,而另一个表则没有记录.

I have two tables named [Insert_Record] and [Delete_Record] in MS Access. Both tables have the same fields but one table has records whereas another table has no record.

问题:我想每当我从[Insert_Record]表中删除任何记录时,整个记录应自动插入到另一个表中,即[Delete Record].

Question: I want, whenever I delete any record from the table [Insert_Record] that entire record should automatically insert into another table, i.e: [Delete Record].

我该怎么做?

推荐答案

Access 2010引入了事件驱动的

Access 2010 introduced event-driven Data Macros that are similar to triggers. The process described in the question can easily be done with an After Delete data macro on the [Insert_Record] table:

这篇关于MS Access触发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆