Triggers are no longer the problem, this is how that should be done, i.e. for the FORUM_CATEGORY table:
strSql = "CREATE SEQUENCE " & strTablePrefix & "CATEGORY_SEQ INCREMENT BY 1;"
my_Conn_ODBC.Execute strSql
ChkDBInstall()
strSql = ""
strSql = strSql & " CREATE OR REPLACE TRIGGER " & strTablePrefix & "SET_CATEGORY_ID "
strSql = strSql & " BEFORE INSERT ON " & strTablePrefix & "CATEGORY "
strSql = strSql & " FOR EACH ROW "
strSql = strSql & " BEGIN "
strSql = strSql & " SELECT " & strTablePrefix & "CATEGORY_SEQ.NEXTVAL "
strSql = strSql & " INTO :new.CAT_ID "
strSql = strSql & " FROM DUAL; "
strSql = strSql & " END;"
my_Conn_ODBC.Execute strSql
ChkDBInstall()
Pierre<