Checked and Unchecked [message #236904] |
Fri, 11 May 2007 04:49 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
u263066
Messages: 47 Registered: March 2007
|
Member |
|
|
i have data in tabular form, and a CHECK BOX each row.
I have two button
"All", "clear"
1. all - it means its should check all
2.clear - it will deselect all
In clear button i am calling a triggger when button pressed which is like
BEGIN
GO_BLOCK('INVOICE_HEADER');
First_record;
LOOP
IF :System.Last_Record = 'TRUE' THEN
--SET THE RECORD FIRST AND
:INVOICE_HEADER.REPROCESS_CHECKBOX := 'N';
exit;
END IF;
IF (:INVOICE_HEADER.REPROCESS_CHECKBOX = 'Y')
THEN :INVOICE_HEADER.REPROCESS_CHECKBOX := 'N';
next_record;
END IF;
END LOOP;
First_record;
END;
This is working fine , when
1. I press All ..all get selected
then
Press Claer ..all get selected
which is absolutly fine
2.I check some of checkbox
then
Press Clear ....it is hanging
donot understand why
can any one help ...in suggesting what goes wrong in above code or do i need to pur Extra piec in code
Fyi..intial value is always unchecked ('N')
[Updated on: Fri, 11 May 2007 04:57] Report message to a moderator
|
|
|
|