USE [Configuration02_Def]
GO


-- Import Group Mappings
IF NOT EXISTS (SELECT * FROM [tblTabs] WHERE nID=16)
	INSERT [dbo].[tblTabs] (
		[nID]
	      ,[tTabName]
	      ,[tSubFormName]
	      ,[tFormName]
	      ,[tBoundTable]
	      ,[tDataSource]
	      ,[tDataSourceDefault])
	VALUES (16,'Group Mappings','Group Mappings',NULL,'tblDts',NULL,NULL);
	

IF NOT EXISTS (SELECT * FROM [tblTabs] WHERE nID=17)
	INSERT [dbo].[tblTabs] (
		[nID]
	      ,[tTabName]
	      ,[tSubFormName]
	      ,[tFormName]
	      ,[tBoundTable]
	      ,[tDataSource]
	      ,[tDataSourceDefault])
	VALUES (17,'Group Mappings Popup','Group Mappings Popup','TmplGroupMappings.htm','tblImp_MappingGroup',NULL,'TmplGroupMappings.htm');
	
IF NOT EXISTS (SELECT * FROM [tblTabs] WHERE nID=5)
	INSERT [dbo].[tblTabs] (
		[nID]
	      ,[tTabName]
	      ,[tSubFormName]
	      ,[tFormName]
	      ,[tBoundTable]
	      ,[tDataSource]
	      ,[tDataSourceDefault])
	VALUES (5,'Import Rule','Import Rule',NULL,'tblDts',NULL,NULL);
	
GO
