Home » SQL & PL/SQL » SQL & PL/SQL » MS Access & Triggers
MS Access & Triggers [message #2734] Thu, 08 August 2002 12:10 Go to next message
Yaling
Messages: 3
Registered: August 2002
Junior Member
Hello All,

I have an Oracle database with an Access 97 Data Entry front end. The Oracle database includes the following tables:
Data_Entry
ACTION
APPT

The goals are once data are inputed into the Access form, the data will be sent to Oracle table Data_Entry and the triggers (after insert row) will fired and send data from Data_Entry table to LOA table and APPT table.

Before I enabled the triggers, the system works well and the data could be sent to Data_Entry table as soon as I input it into the Access form. But after I enabled the triggers, the data couldn't be sent to Data_Entry table from the form.

Why is this so? Is this a problem of the trigger or a problem of ODBC? When I insert data into Data_Entry in Oracle, the triggers work well. The trigger code is as follows:

create or replace trigger trig_action
after insert on DATA_ENTRY
for each row
begin
insert into PSC_ACTION
values (:new.action_id,
:new.action_code,
:new.action_auditor,
:new.action_time_stamp
);
end;
.
run

Thanks in advance for your help!

Yaling
Re: MS Access & Triggers [message #2735 is a reply to message #2734] Thu, 08 August 2002 13:05 Go to previous message
Todd Barry
Messages: 4819
Registered: August 2001
Senior Member
http://www.orafaq.net/msgboard/plsql/messages/9890.htm
Previous Topic: MS Access & Oracle trigger
Next Topic: Como hago para modificar el maxextents de un tabla
Goto Forum:
  


Current Time: Fri Apr 26 21:22:21 CDT 2024