Apprentice101
IS-IT--Management
this is driving me nuts!
I have it on a preinsert trigger at the form level.
it does not give me any errors, it just does not write anything on the auditing table at all!.
-------------------------------------------------------
DECLARE
v_block VARCHAR2(30);
v_username VARCHAR2(30);
v_date DATE;
v_item varchar(30);
BEGIN
COPY(v_date, v_block||'auditing_inserts.inserted_date');
COPY(v_username, v_block||'auditing_inserts.inserted_by');
COPY(v_item, 'auditing_inserts.item_inserted');
COPY(v_block,'auditing_inserts.block_name');
END;
-------------------------------------------------------
I also tried it like this, and the same results, NADA.
DECLARE
v_block VARCHAR2(30);
v_username VARCHAR2(30);
v_date DATE;
v_item varchar(30);
BEGIN
:auditing_inserts.inserted_date := v_date;
:auditing_inserts.inserted_by := v_username;
:auditing_inserts.item_inserted := v_item ;
:auditing_inserts.block_name := v_block;
END;
I have it on a preinsert trigger at the form level.
it does not give me any errors, it just does not write anything on the auditing table at all!.
-------------------------------------------------------
DECLARE
v_block VARCHAR2(30);
v_username VARCHAR2(30);
v_date DATE;
v_item varchar(30);
BEGIN
COPY(v_date, v_block||'auditing_inserts.inserted_date');
COPY(v_username, v_block||'auditing_inserts.inserted_by');
COPY(v_item, 'auditing_inserts.item_inserted');
COPY(v_block,'auditing_inserts.block_name');
END;
-------------------------------------------------------
I also tried it like this, and the same results, NADA.
DECLARE
v_block VARCHAR2(30);
v_username VARCHAR2(30);
v_date DATE;
v_item varchar(30);
BEGIN
:auditing_inserts.inserted_date := v_date;
:auditing_inserts.inserted_by := v_username;
:auditing_inserts.item_inserted := v_item ;
:auditing_inserts.block_name := v_block;
END;