4 Replies Latest reply: Nov 14, 2012 7:10 AM by yasser_egypt RSS

    forms 6i insert new line on the form

    yasser_egypt
      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