We help IT Professionals succeed at work.
Get Started

How do I resolve FRM-40102: Record must be entered or deleted first

fati_s
fati_s asked
on
10,224 Views
Last Modified: 2013-12-19
what do I want to do? If No is chosen for delete, I want to set the records
marked for delete with an asterisk to null; otherwise delete the records.  Below is what I have and it gives me the FRM-40102: record must be entered or deleted first, then it goes to bottom of form for new record insert.  Help!  What am I doing wrong?
Declare
     Cancel_counter number(6) := 0;
Begin
     go_block('dup_member');
     go_record(1);
     go_item('dup_member.prop_no');
     set_item_property('dup_member.del_ind', displayed, property_true);
     if :dup_delete_block.yes_no = 'N' then
     while :counter_block.record_count != cancel_counter
         loop
             if :dup_member.del_ind = '*' then
             :dup_member.del_ind := null;
             cancel_counter := cancel_counter + 1;          
             end if;
          if :system.last_record = 'FALSE' then
          next_record;
         end if;
     end loop;
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE