Question : D2k Triggers...

dear frnds...

I have encountered an error when building forms in D2K.

I have a table in oracle called "emp_data".
I defined a transactional trigger in D2k Forms builder like this:

update emp_data set
exprnc_yrs = round(months_between(date_joined, sysdate),0) where :emp_data.emp_code = emp_code;

Here emp_code is a table column......

I get the following error.....
error at line1: "identifier emp_data must be declared"

Quest:
======

I don't know Y this error is thrown and under what circumstances will it be thrown. how to set this trigger right?  can any guy help me, pls.

Answer : D2k Triggers...

As per recommendation this question will be placed in PAQ, points removed.

Wes Lennon
DoCS
Experts Exchange
Random Solutions  
 
programming4us programming4us