This discussion is archived
4 Replies Latest reply: Nov 14, 2012 5:10 AM by yasser_egypt RSS

forms 6i insert new line on the form

yasser_egypt Newbie
Currently Being Moderated
dear sirs,
i have code on button to insert some values on database items on the form, and i just want that it add these values on new records on the form only without save
here is the code but it add these item on some recorded record, that is mean that it make replace and not insert
-----
DECLARE
v number(15);
BEGIN
for i in 1 .. 15 loop
     :department_id := i;
     :department_name := 'yasser';
     next_record;
end loop;
END;

please help me

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points