Solved

oracle block item value copied

Posted on 2014-01-16
2
857 Views
Last Modified: 2014-01-18
have tabular block which have three record or fourth record.i want when create new record the previous values will be copied to the new created record now its upto the user whetherer he changed or leave it as above.
if there the two record the second record value should be copy to third one.
how i can handle it. on which triger?

i tried to use "duplicate_record"  can any one tell me how to use duplicate_REcord in form in my scenario.


Thanks
0
Comment
Question by:hinamansoor
2 Comments
 
LVL 20

Accepted Solution

by:
flow01 earned 500 total points
ID: 39789274
try creating a
when-new-record instance trigger

if the : system.record_status = 'NEW' and system.cursor_record > 1 then
   if :itemx is null  then  -- itemx should be an item that always has to be filled (to prevent repetitive  duplicates)
          duplicate_record;
   end if;
end if;
0
 

Author Comment

by:hinamansoor
ID: 39791136
Gr8 answer Sir I was expecting from you.



Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now