Question : error frm 40352 last record of query retrieved
i am working in oracle forms, and have written a function inside a form which searches a particular value in the set of records.
the function is working fine but if i enter a value which is not there in the record, it pops up a message box with error ” FRM-40352 : last record of query retrieved.” though it is not effecting the form, i dont want this message box to pop up.
attached is the code of the function.
FUNCTION find_matcode(block_name varchar2,searchstr varchar2, total_rec number) RETURN number IS
r_count integer;
found boolean := false;
BEGIN
r_count:=1;
go_block(block_name);
first_record;
while r_count
Solution: error frm 40352 last record of query retrieved
Try removing the equal from the “r_count
What does it give you then?