klewis10367
MIS
I am running this trigger to update a field in a table when that field is changed on the front end. When I hit save no error pops up but the field does not change. Permissions are correct. Any Ideas.
CREATE TRIGGER [trgUpdateUPR40300_kml] ON [dbo].[UPR40300]
for insert
AS
if update (dscriptn)
begin
update gpviews.dbo.upr40300
set dscriptn = a.dscriptn from gpviews.dbo.up40300 b inner join inserted a on
b.deprtmnt=a.deprtmnt where b.dbase='two'
end
CREATE TRIGGER [trgUpdateUPR40300_kml] ON [dbo].[UPR40300]
for insert
AS
if update (dscriptn)
begin
update gpviews.dbo.upr40300
set dscriptn = a.dscriptn from gpviews.dbo.up40300 b inner join inserted a on
b.deprtmnt=a.deprtmnt where b.dbase='two'
end