DBCC CHECKIDENT (TBPMO_CONTROL_TYPE, RESEED, 11)
INSERT INTO TBPMO_CONTROL_TYPE(TYPE_NAME)
VALUES
	('CheckedListBox')
GO
INSERT INTO TBPMO_CONTROL_TYPE(TYPE_NAME)
VALUES
	('ListBox')
GO

ALTER TABLE TBPMO_RECORD_CONNECT
ADD CONSTRAINT UQ_RECORD_CONNECT UNIQUE (RECORD1_ID, RECORD2_ID)

--In TBPMO_RECORD_AFT_INS die 
--EXEC DBO.PRPMO_CREATE_RECORD_CONNECTIONS @FORM_ID,@RECORD_ID
