Re: Master/Detail Forms4.5

From: Dragan Pavljuk <dpavljuk_at_beotel.yu>
Date: Fri, 13 Nov 1998 01:38:05 +0100
Message-ID: <364B7F6D.A33719C2_at_beotel.yu>


Hi

You can put everything in KEY-COMMIT trigger something like this

go_block('block2');
first_record;
loop

     :block2.field1 := value1;
     :block2.field2 := value2;
     :block2.field3 := value3;
     :block2.field4 := value4;
     ..............
     next_record;

end loop;
first_record;
commit;

value1,value2 ... could be a cursor field also.

Regards
Dragan

srijay_at_my-dejanews.com wrote:

> I would like to insert some detail records programmatically to the database
> after creating and successful validation of a master record. What is the
> best trigger to use for this task.
>
> And I also want the user to see the new detailed records appearing on the
> detail block once the user click on the master.
>
> Thanks,
> Sri.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Fri Nov 13 1998 - 01:38:05 CET

Original text of this message