Save seleted record [message #254796] |
Sat, 28 July 2007 06:25 |
kamran.it
Messages: 265 Registered: September 2005 Location: Karachi
|
Senior Member |
|
|
hi
see attached file I want to save selected reocrd in my table i write these line in when button pressed commit button
begin
go_block ('blockname');
if :kcheck <> 'Y' then
do_key ('delete_reord');
else
commit;
end if;
end;
but save all the records.
I have master and detail block and this pictire is detial block.
[Updated on: Sat, 28 July 2007 06:40] Report message to a moderator
|
|
|
|
|
Re: Save seleted record [message #255623 is a reply to message #254965] |
Wed, 01 August 2007 05:56 |
kamran.it
Messages: 265 Registered: September 2005 Location: Karachi
|
Senior Member |
|
|
I used N in unchecked value and following code is using
begin
go_block ('sub_fabric_delivered');
first_record;
loop
if :kcheck <> 'Y' then
--do_key ('delete_reord');
Clear_record;
end if;
exit when :system.last_record = 'Ture';
next_record;
end loop
commit;
end;
Showing same error
FRM;40102
|
|
|
|
|
|