Y
youssef
Hi,
I have an ACCESS DB that I would like to import to a SQL DB.
I linked the ACCESS DB to my SQL SERVER.
For this, no problem.
After that I create a VIEW from my SQL DATABASE and I can see all RECORDS
from the ACCESS TABLE.
Now , I am looking for updating my Table from SQL DB by all new records
inserted in the ACCESS DB.
I create a TRIGGER from my VIEW. You can see below the source code :
CREATE TRIGGER TG_INSERT_LogStatus ON [dbo].[VIEW_MTX_BTS_LOG]
---------------------------------------------------------- INSERT in Log
INSTEAD OF INSERT
AS
BEGIN
My code
END
----------------------------------------------------------------------------
-----------------------------
I can execute my TRIGGER but I cannot see the new records inserted in the
ACCESS DB.
Is anyone can help me about that.
I have an ACCESS DB that I would like to import to a SQL DB.
I linked the ACCESS DB to my SQL SERVER.
For this, no problem.
After that I create a VIEW from my SQL DATABASE and I can see all RECORDS
from the ACCESS TABLE.
Now , I am looking for updating my Table from SQL DB by all new records
inserted in the ACCESS DB.
I create a TRIGGER from my VIEW. You can see below the source code :
CREATE TRIGGER TG_INSERT_LogStatus ON [dbo].[VIEW_MTX_BTS_LOG]
---------------------------------------------------------- INSERT in Log
INSTEAD OF INSERT
AS
BEGIN
My code
END
----------------------------------------------------------------------------
-----------------------------
I can execute my TRIGGER but I cannot see the new records inserted in the
ACCESS DB.
Is anyone can help me about that.