MikeMcKeown
Programmer
Hi all,
I have 6 tables which are to be shared between two databases. The input to these will occur through two seperate adp Access projects.
i believe that you can do this with triggers - when anything changes in one table -update the other tables across d/b on the same server.
When a change occurs do you have to copy the whole table over or is there away to amend the individual records where the change has occured? As I thought the code would look like this:-
CREATE TRIGGER [Updated_Corresponding] ON [dbo].[Withdrawn]
FOR INSERT
AS
INSERT INTO [dbo].[Temp_A].[Withdrawn]
( [no] and all other fields)
SELECT no FROM [dbo].[Temp_C].[Withdrawn]
Thanks in advance
I have 6 tables which are to be shared between two databases. The input to these will occur through two seperate adp Access projects.
i believe that you can do this with triggers - when anything changes in one table -update the other tables across d/b on the same server.
When a change occurs do you have to copy the whole table over or is there away to amend the individual records where the change has occured? As I thought the code would look like this:-
CREATE TRIGGER [Updated_Corresponding] ON [dbo].[Withdrawn]
FOR INSERT
AS
INSERT INTO [dbo].[Temp_A].[Withdrawn]
( [no] and all other fields)
SELECT no FROM [dbo].[Temp_C].[Withdrawn]
Thanks in advance