This script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posting the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.
This script creates a trigger which activates horizontal scroll bars for new users as they are created.
/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int).
*/
CREATE TRIGGER
utr_AZRCRV_UpdateSY01400ActivateHorizontalScrollArrows
ON
SY01400 --Users Master (SY01400)
AFTER INSERT AS
UPDATE
['Users Master']
Set
HSCRLARW = 1
FROM
SY01400 AS ['Users Master']
INNER JOIN
inserted AS INS
ON
INS.USERID = ['Users Master'].USERID
GO