I created procedure under Program Units Oracle Forms
Code:
PROCEDURE VALIDATION_TEST
(p_mid we_group_hof_k.mstatusid%TYPE,
p_status we_group_hof_k.cardstatus%TYPE
) is
begin
insert into test
select mstatusid, cardstatus
from we_group_hof_k
where p_mid = 1
and p_status = 'A';
end;
This procedure complies successfully. I put this line on When-Button-Pressed Trigger "TEST" Button
VALIDATION_TEST;
When I try to compile "TEST" Button then I am getting following error:
wrong number or types of arguments in call to 'VALIDATION_TEST'
I am using oracle forms 11g.
How to solve this problem?