Home » Developer & Programmer » Forms » to insert multirecord with check boxes
to insert multirecord with check boxes [message #130018] Wed, 27 July 2005 13:13 Go to next message
prasadhbk
Messages: 2
Registered: July 2005
Junior Member
Hi

Iam displaying the multi records from the data block. I have check boxes for each records.

If the check box is checked then the checked list should be inserted in to one table and the unchecked list should be inserted in to another table.

I have set the values when checked as 'Y' and unchecked as 'N'.
Written trigger in when check box changed . I can able to insert the checked list in to the table. but with unchecked one with my present code i have to check and uncheck the box, then only my code works for unchecked one and inserts those records into another table.


Here is my code in When Checkbox changed trigger.

if block_name.chkbox = 'Y' then
insert into table1(.....) values (....);
elsif block_name.chkbox = 'N'then
insert into table2(.....) values (....);
end if;


Any solution for me..

Regards
Prasad
Re: to insert multirecord with check boxes [message #130021 is a reply to message #130018] Wed, 27 July 2005 14:08 Go to previous message
prasadhbk
Messages: 2
Registered: July 2005
Junior Member
yeah.....


i got the solution.......

Regards
Prasad
Previous Topic: Accessing SQL Server By Using Oracle Forms 9i
Next Topic: Please Help me
Goto Forum:
  


Current Time: Thu Sep 19 11:58:34 CDT 2024