Why am i getting this here is a copy of my code
FRM-40102: Record must be entered or deleted first.
Cursor A1 is select question from SSAP_QUESTS where cat_id = :SSAP_DETS.CAT_ID and spec_id = :SSAP_DETS.spec_id and action = :SSAP_DETS.det_action;
for A1_tmp in A1 loop
:SSAP_ANSWERS.APS_ID := :PARAMETER.P_APS_ID;
:SSAP_ANSWERS.QUESTION := A1_tmp.Question;
:SSAP_ANSWERS.det := :ssap_dets.det;
select quest_seq.nextval into :SSAP_ANSWERS.quest_id from dual;