J
Jeff via AccessMonster.com
When I run the trigger below I get the following message:
"the data was added to the database but won't be displayed in the form
because it doesn't satisfy the criteria in the underlying record source."
The funny thing is I'm not even in a form. This message appears when I try
to manually insert a new record at the table level using an ADP. The Record
is still inserted and the trigger is working but what's up with the message?
???
Here's the code:
CREATE TRIGGER [NewIndividual] ON Individuals
FOR INSERT
AS
INSERT [Individuals_Audit] (...)
SELECT ...
FROM inserted
At the form level when I try to insert a record I get a message indicating
can't find the field 'Forms' referred to in your expression.
I don't think it's my fields because I have a similar Update trigger that
works fine. It has something to do with inserting a new record into my
audit table.
"the data was added to the database but won't be displayed in the form
because it doesn't satisfy the criteria in the underlying record source."
The funny thing is I'm not even in a form. This message appears when I try
to manually insert a new record at the table level using an ADP. The Record
is still inserted and the trigger is working but what's up with the message?
???
Here's the code:
CREATE TRIGGER [NewIndividual] ON Individuals
FOR INSERT
AS
INSERT [Individuals_Audit] (...)
SELECT ...
FROM inserted
At the form level when I try to insert a record I get a message indicating
can't find the field 'Forms' referred to in your expression.
I don't think it's my fields because I have a similar Update trigger that
works fine. It has something to do with inserting a new record into my
audit table.