In the tabular form how to check the duplicate entry at the time of data feeding.

Showing Answers 1 - 2 of 2 Answers

Anil Kumar

  • Dec 12th, 2006
 

declare

a number;

begin

first_record;

a:=system.current_record;

for i in a..system.current_record-1 loop

checking code

end loop;

  Was this answer useful?  Yes

Abbireddy Anil Kumar

  • Dec 15th, 2006
 

declare

serch_item number;

a number;

b number;

begin

serch_item:=:emp.empno;

b:=:system.cursor_record;

first_record;

a:=:system.cursor_record;

for i in a..b-1 loop

if srich_item=:emp.empno then

message('Employee No Already Exists')

raise form_trigger_failre;

else

next_record;

end if;

end loop;

end;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions