USE [Resources02_Def]
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=1)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 15, N'', 1, 30)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=13)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, NULL, 13, 865)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=15)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, NULL, 15, 11)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=19)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 12, NULL, 19, 1099)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=20)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, NULL, 20, 1212)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=21)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, N'Department', 21, 1019)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=22)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, N'Location', 22, 882)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=24)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, N'Project', 24, 1021)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=27)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 10, NULL, 27, 7)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=29)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 29, 1)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=31)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 31, 850)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=33)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 33, 886)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=35)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 35, 898)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=37)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 37, 801)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=38)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, N'', 38, 806)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=39)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, NULL, 39, 993)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=40)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, NULL, 40, 1092)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=41)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, NULL, 41, 1093)
GO

IF NOT EXISTS(SELECT * FROM [dbo].[tblSystemLayouts] WHERE nID=17 AND nRow=43)
	INSERT [dbo].[tblSystemLayouts] ([nID], [tAlign], [nWidth], [tTitle], [nRow], [nDtsFieldID]) VALUES (17, N'Left', 0, NULL, 43, 1004)
GO


