I want to update a column in any changes made to a row and the column of the same row must be updated with the new status

Hi all

I am new in the form of Oracle, I have a question,

in oracle from(10G) now I show an entire table, when I update a line, then in that same line, there is a column named as status, must got the update automatically with the value 'NEW '.

Can someone help me how to perform this task.

If any body knows then please reply as soon as POSSIBLE.

Thank you

Ashish

1003500 wrote:

Hi all

I am new in the form of Oracle, I have a question,

in oracle from(10G) now I show an entire table, when I update a line, then in that same line, there is a column named as status, must got the update automatically with the value 'NEW '.

Can someone help me how to perform this task.

If any body knows then please reply as soon as POSSIBLE.

Thank you

Ashish

Ashish

Try this

/ * write the following code in Post-Text-Item at the block level * /.

IF: System.Record_Status IN ("MODIFIED", "INSERT") THEN

: your_block_name.column_name: = 'NEW';

END IF;

Hamid

Tags: Oracle Development

Similar Questions

  • I've updated to 10.0.1 IOS and the new messaging feature will not work on my phone.  Help, I really want to use invisible ink...

    I've updated to IOS10.0.1, and the new features of meassaging do not work. Help because I really want to use invisible ink!

    You're now sending the arrow and selecting invisible ink?

  • I install the new cc2014 update, but for some reason any in my computer displays double former app and the new, but the new dose did not setup that I have in my old version! What will happen?

    I install the new cc2014 update, but for some reason any in my computer displays double former app and the new, but the new dose did not setup that I have in my old version! What will happen?

    Thanks, I have solved this problem, simply delete the old and manually I have brand new!

  • How to upgrade are the value of the column and the new column value created

    Hi all

    create the table xxc_temp

    as

    Select donnees_1 'AB103', 'AAA' data_2 data_3 '123', 'RED' data_4, NULL status in all the double union

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3, data_4 'BLUE', NULL status in all the double union

    Select donnees_1 'AB106', 'CCC' data_2, '333' data_3, data_4 'BLUE', the double NULL status

    create the table xxc_base

    as

    Select donnees_1 'AB103', 'AAA' data_2, '123' data_3 data_4 'RED', 'Inactive' status of Union double all the

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3 data_4 'BLUE' status 'Active' of all the double union

    Select donnees_1 'AB106', 'CCC' data_2, '333' data_3, data_4 'BLUE', 'Inactive' status of double

    I need to update the status column xxc_temp with xxc_base value of the status column and also if the user tries to insert new values/lines in the xxc_temp

    So how can I update the status column? I mean automatically set to day and also new values/lines

    I need to update only that are Inactive then these lines should be updated in the temporary table

    We can do this by using the stored function, but I need to update the new status of lines also

    Please help me

    Here's another way to do it, using VIRTUAL function column as expression to get the status of the other table

    CREATE or REPLACE FUNCTION GET_STATUS (pDATA_1 IN TANK) RETURN VARCHAR2 DETERMINISTIC

    AS

    vstatus VARCHAR2 (8);

    BEGIN

    SELECT status in vstatus FROM xxc_base WHERE donnees_1 = pDATA_1;

    RETURN vstatus;

    END;

    /

    DROP TABLE 'XXC_TEMP ';

    CREATE TABLE 'XXC_TEMP '.

    ('DONNEES_1' CHAR (5),

    "DATA_2" TANK (3).

    "DATA_3" TANK (3).

    "DATA_4' VARCHAR2 (4).

    'STATUS' VARCHAR2 (8) GENERATED ALWAYS AS (SUBSTR (GET_STATUS (DATA_1), 1, 8)) VIRTUAL

    ) ;

    INSERT INTO 'XXC_TEMP' (data_3, donnees_1, data_2, data_4))

    Select "AB103' donnees_1, data_2 'AAA', '123' data_3, 'RED' data_4 of any double union

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3 data_4 'BLUE' of all the double union

    Select donnees_1 'AB106', 'CCC' data_2 data_3 '333', 'BLUE' double data_4);

  • Ugggh.  I have a 27-inch iMac late 2011 and the hard drive was updated with a new SSD.  The integrated cd/dvd had to be taken out.  I then bought a thought of superdrive, it should work.  It's frozen on my iMac!

    Ugggh.  I have a 27-inch iMac late 2011 and the hard drive was updated with a new SSD.  The integrated cd/dvd had to be taken out.  I then bought a thought of superdrive, it should work.  It's frozen on my iMac!  Gee, who could have possibly guessed that would happen?  I tried all kinds of silly workarounds, I found on the internet, but still it will not register the stack of DVDs and other discs I have.

    If you're like me and upgraded your iMac that came with a cd/dvd drive internal... so he has to come out to give way to the fusion or the SSD drive, do NOT buy the apple superdrive.  It will work with your computer!

    Think I'll get a laptop samsung...

    Ironic, isn't it? Own Apple SuperDrive will not work with Apple computers. Shame you don't check here first that we would have warned you. Return Apple overpriced and buy a nice third-party player for a third of the price. I love the LG units. You can consider a loading plate because they are more reliable, and you can use these pesky disc when you get one.

  • I try to install vista on a computer running xp. XP does not even recognize the vista disc is in the drive. XP recognizes any other drive that I use and the vista drive is recognized on other computers, that I put it in it's not a prob with the disk or cd

    I try to install vista on a computer running xp. XP does not even recognize the vista disc is in the drive. XP recognizes any other drive that I use and the vista drive is recognized on other computers, that I put it in it's not a prob with the disk or cd rom

    The Vista installation disc is a DVD. Apparently, you don't have a DVD player. You would need to purchase/install a DVD-ROM or DVD - RW to install Vista. Are you sure that your hardware supports Vista before doing this?

    http://www.Microsoft.com/Windows/Windows-Vista/get/system-requirements.aspx
    Even if a minimum of 1 GB, the requirements in the real world Vista requires a minimum of 2 GB of RAM to run without problem. You will also need Vista drivers for all your hardware.

    http://www.Microsoft.com/Windows/Windows-Vista/get/Upgrade-Advisor.aspx MS - MVP - Elephant Boy computers - don't panic!

  • need to update the value of the column automatically (exists and the new value)

    Hello

    (1) I Segment1, Segment2, Segment3, Segment4, item_status (new column modified in the Temp table)

    Must update the form OFA and the DB Temp table item_status value in the column when I click APPLY to SAVE the Inserted records in the DB table and form and must register the mtl_system_items_b Segment1, Segment2, Segment3, Segment4 in which the condition

    Note: need to update automatically item_status for existing and new inserted records in the Table and the form

     Serializable[] param = {Segment1, Segment2, Segment3, Segment4
                       };
                       am.invokeMethod("InsertRecord", param);
                       row.setAttribute("SelectFlag", "N");
    

    Thank you

    Renon,

    When you write code, try to understand what makes each line. (If you don't understand all the lines, feel free to ask)

    row.setAttribute ("ItemStatus", row.getAttribute ("ItemStatus"));

    What do you think that the above line done? You try to get the value of the attribute and trying to put the same value. How is it, that will have an impact?

    You need to do 2 things.

    1. change the insertRecord method and the State of return of this method.

    Change the definition of the function:

    public String InsertRecord (String itemstyle, String itemcust, String itemsize, String itemcolor, String ordrno,

    String desc)

    Add a return statement at the end after validation.

    TR.Commit ();

    return the situation;

    }

    2 accept that status in CO and set the value to the attribute details VO.

    String status = (String)am.invokeMethod ("InsertRecord", param);

    row.setAttribute ("ItemStatus",status);

    I hope this helps.

    See you soon

    AJ

  • Update Live 2009 and the new version of Windows Live 2011.

    After installing the update of Live software (10.11.2010) Version 2009 (Build 14.0.8117.416) in my computer - and I tried to start Live Gallery, I get the message Photogallery cannot start because lack of MSSQL 2005 COmpact edition.

    As I knew, SQL served also in the previous version. I'm a little afraid to try to install this version, because I already have MSSQL server 2005 installed and used in my accounting program. Install a new version will then often more problems than solve all the problems.

    How to add Live Gallery as a new instance of MSSQL2005? You have the settings to set a manual instance who will work with the photo gallery?

    Next problem:

    Microsoft alert on the old LiveSync program, who work for a long time. I used this for a few years, because I have 3 computers that must be synconized with the same information on the accounting data and documents and photos. This Livesync works very well.

    I should connect on my page of Live Sync yesterday and change the settings. I've been using Live sync for a long time. There I could see Live Sync will stop and set up a new product, mesh. Well, I agreed to install this solution. I used already, windows Live mail and Live messenger, for a time of loooong and very uncomfortable about this products.

    When I installed the new synchronization software, it is also updated my Messenger, the gallery and the mail. But I'm really disappointed... The Messenger is like a huge stone and with a new design and more complicated to see what you're doing. The Gallery is so bad, and the options to display images after the shooting date disappeared. Mail is so heavy and all programs with a HUGE menu of icons all places, with 1000' nds of choice which a normal user does NOT need or want.
     
    The system of mesh must be a better solution after sync Live, but it's so slow and do a lot of bad things in my computer. All my sync folders has been updated with Live Sync, but what a start doing the same thing again, and I had 12000 files update. Soon it started the update, he grabbed 20 GB of my available space in my drive C - from 32 GB to 12 GB, and I was really scared of running out of disk space. After a few our space was getting better, but it stills lost about 10 GB in my hard drive, compared to what I had before installing. The mesh has put a lot of temporary files in users\Appdata\Local\Microsoft'Live Mesh. I start checking all files, files which could be, and after update all the files, it was still about 9 GB left in this folder. My Local low folder is now 292 MB, Local is 4.2 GB and homelessness is 579 MB. But I still wonder where is the last 10 GB which disappear when I install the mesh.
     
    My other computer died in this operation. When I start today, I had a lot of messages on the server mesh was not, and I tried to restart it. But now it's DEAD - I could not power on it. A hard disk will also start default after installation of the mesh, it was a whole new Samsung 1 TB 3.5 inch SATA.
     
    Now my main computer died and I removed all the latest Live Messenger with Essentials on this one, and now it starts acting like a normal computer.
     
    My Gallery is normal again, that my email works normally again. and I decided to stop all kinds of synchronizations from Microsoft. Why if you change a good product that works fine?
     
    I recommend post you pack to download the previous version of Live Messenger and products - and continue to use Live Sync, and people to give a chance to yourself decide how version that should be updated when a new version is available. I had no choice to stop the update for Messenger, Gallery and mail. just a message about this also will be updated. http://explore.live.com/Windows-Live-Essentials?OS=other must be put on hold until the test is preferable. Live Mesh is dangerous - it kills your computer. This is NOT a final product - put in a BETA version and put on a warning.
     

    You can find support in this forum ONLY for the installing/uninstalling/upgrading to Windows Live Essentials 2011: http://windowslivehelp.com/forums.aspx?forumid=a372972e-8e7a-4d85-adc3-a1b43e8c02ec

    You will find support for WL photo library in this forum: http://windowslivehelp.com/forums.aspx?forumid=cafb0556-8959-49b9-afeb-635314aa02f3

    =========================================

    You can install/upgrade to Windows Live Essentials 2011 manually via http://explore.live.com/windows-live-essentials

    How to uninstall Windows Live Essentials (all programs)
    http://windowslivehelp.com/solution.aspx?SolutionID=64db5c80-85E4-49fe-BF07-cb08ffc5dd53

    How to uninstall a specific Windows Live Essentials program
    http://windowslivehelp.com/solution.aspx?SolutionID=c861e66a-c839-47C4-a1d5-46b46121fb5d

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Change my child dwt.php and the pages update dwt

    Hello

    I need to convert my BPD in php. My site is not that great at the moment so I can manually change the links and extensions on the pages of the child if necessary. How can I convert the model and ensure that it remains attached to the child pages? A test, I used "save under" and saved the model as mytemplate. DWT.php. I edited a region in the template and saved. The child content of the pages is not all update. They don't seem to be attached.

    Thank you very much

    Andrea

    Not so fast. PHP templates are named with the extension php - foo.dwt.php! In this way, if someone downloads the template, and someone else is smart enough to try to download it, the PHP gets removed by the server before it is transferred to the "intruders".

    @A.Cambria - this is how to do what you want:

    Method 1

    * apply the model of php for each page of the child (this could be a bit messy in execution

    Method 2

    * create a new page from the php template and copy and paste the content of each page of the child. Then save the new page with the old page file name

    Method 3

    * with all THE closed pages, do a find and replace to "filename.dwt" and replace by "filename.dwt.php".

    * After you have done this, open the model of php, make a negligible change and then reverse the trend and save the page - who must collect all the child pages.

    Method 3 is the best method (make sure that all pages are closed).

  • The BDV-E580 Netflix app will be always updated to include support for the profile and the new interface of Netflix?

    I had my BDV-E580 for about I would say 2 years now, I don't plan on obtaining a new player Blu - Ray any time soon, because the surround speakers work fine with it, but I'm a little sad that I didn't get the support profile or the most recent software updates with Netflix interface , I recently noticed the icon has changed to the new red on white logo of Netflix, but it would be great if you (Sony) could support at least update the Netflix app for my and other devices.

    You can share your application at the 'join the Inspiration"community of Sony. Comments or suggestions that you would like to post there would be much appreciated.

  • I have reason to believe that my PE13 program is corrupted.  If I buy the new version 14.0, does include the full program and the new so it could heal any damaged I have?

    I have reason to believe that my program EP 13 is corrupt in some critical ways.  If I buy the upgrade version 14.0, does include the full program or just the news.  If it includes the full program, I expect to "heal" my corruptions when I download it.  I know you will ask me how my PE 13 program is corrupted.  I'm ready to respond.

    Bill North

    First 14 elements (whenever its output is complete at the global level) is a stand-alone product. It should contain the editor first items 14 and 14 elements Organizer and all the features Adobe wanted in it (new and old to 14). It should have nothing to do with the performance of the elements first 13/13.1. There is no guarantee that your favorite features of 13 will not have been deleted in 14.

    What are the first item 13/13.1 signs and symptoms pointing you to believe that the program is corrupted? What are some critical ways you are talking about? What operating system are you currently using?

    In the circumstances, consider the 14 tryout before purchase. Think of it as a troubleshooting tool

    a. If the 14 works and 13 does not work, then 13 has the problem

    b. If 14 and 13 do not work, then the computer is your target for troubleshooting.

    Looking forward for more details

    RTA

  • Muse does not update changes made in Adobe editing in the browser.

    Muse does not update the changes that I made on my site, by the edition of Adobe in the browser, when I open the file of muse. He used to do this, but given that the update to the new face, she stopped working, someone at - it an answer to my problem?

    Please provide details here:

    http://feedback.inbrowserediting.com/

    Thank you

    Sanjit

  • How to manage the photos Lightroom when using 2 computers, keeping any changes made on one or the other?

    Based on http://forums.Adobe.com/thread/1308132?TSTART=0 I decided to add each question separately:

    Hello, I am very interested in buying Lightroom 5.2. I tried the RC that was missing today. Yet, I have several questions that I can't find really good conclusive answers, I'd like to get an answer before buying LR. Please do not write maybe like this or that (assumptions), because I don't want to start my entire workflow and then realize that I have to change all around, please reply, if you know for sure that something works and you are, preferably, using this method too.

    Is the big question, where I want to especially a conclusive answer:  How to manage the photos Lightroom when using 2 computers, keeping all the changes made on one of them, using the same photos for editing. I'm not going to use DNG. Details: I mainly use my old MacBook Pro, but I wish I could use my PC as it is much better (card: i5 2500K, 16 GB of RAM, SSD, USB3, nVidia GTX 560 TI etc.). I have 2 external HD that I could use, one for backup and one for the actual Photos/changes. I you will probably need to use as my internal HDs are fairly complete and I cannot be the kind of things simply delete or move to one (developer, without loss of music, programs etc.).

    On this basis, how do I save all such Photos folder (pictures and retouching and preferably presets too)?

    According to me, that it should be possible to work cross-platform without having to create a link to the files each time, or without having to keep export/import of the catalog, keeping the single catalog and the picture library on an external drive that is then switched between systems as needed.

    Obvious first requirement is an external drive that is formatted in a way (for example, FAT32) that it can be used on both platforms in read/write mode. Given that, if the catalogue AND folder parent si le catalogue ET le dossier parent images are both set to the same level in a global parent folder, then it should be possible to take advatage of ability of Lightroom to use relative paths instead of absolute paths to detect the images, no matter if the player is named (Mac) or lettering (PC). This is how "export as catalog of ' works, that is, it creates a 'package', alias a parent folder, containing the catalog and a replica of the folder hierarchy to exported along with the catalog images. Take this 'package' to another system (same OS or not) and "it works" even if the drive letter is different or the operating system is different... because the relative path of the image catalogue is always the same.

    I have not tested this cross-platform (if I have between various PC systems with letters of different readers) so for me it's still just a theory, but there may be others who have done this successfully.

  • Coming out of the block how to invite the message like "do you want to save changes?" so any changes made in the current block

    Hello

    I'm working on the Oracle forms 6i. I have a custom query search window (do not use the Oracle QUERY_FIND seeded window feature). Build manually (BLOCK_1 and WINDOW_1). When I click on the search button, then I Block table that has windows (BLOCK_2 and WINDOW_2) and in this form, I have a button called details. When I click on the Details button, it opens the details Block (BLOCK_3 and WINDOW_3).

    There is no functionality seeded t define the relationship of master details. (everything is customized)

    Now, if the user has made a few changes on the block of retail and click the X (close) on this window without COMMIT the record, then how can I display a message to the user as a block level saying that "Do You want to save changes?" and after selecting one of the action i.e. Yes, no or cancel how to perform the action according to the user's action.

    This form I have three different blocks and WINDOWS for individual block so when i have all three open window and click on F4, then it closes all windows of three then how can I close the window when the user uses them short key F4 to close the window.

    Thank you very much in advance.

    Melanie,

    Thanks for the update. I tried KEY-EXIT, WHEN now-BLOCK-INSTANCE, KEY of VALIDATION, but unfortunately these triggers are not fired. I found the work around that.

    I made after the code in the APP_CUSTOM package in the close_window procedure.

    IF: SYSTEM. BLOCK_STATUS = 'CHANGE '.

    THEN

    FND_MESSAGE. SET_STRING (' do you want to save the changes you made?) ');

    l_button:-fne_message.question(button1...icon);

    and then based on the user action that performs the action.

    END IF;

    It works for me. Problem solved.

    Thank you very much for your time and your suggestions.

  • When I want to update with the AdobePatchInstaller to 6.1.1 CC I get the following error: "updates are deleted by administrator" can someone help how do to unsuppres.

    How can you solve this problem.

    It's a PC at home and I am the administrator.

    Where can you unsuppres access to release the update.

    Do run as Administrator http://forums.adobe.com/thread/969395 [says again and also to Adobe all emissions] will sometimes fix errors "bizarre."

Maybe you are looking for

  • Graph of the line upward wave

    I have a wave form field which has a range of the axis y from 0 to 127.  It is important that the plot goes from 0 to 127.  The problem is normally the device I am able 127 statements for most of the conditions.  I currently use a land line to the Ba

  • HP elitebook 8560p: HP elitebook 8560p drivers to win 10

    Hi HP support team.I have the hp elitebook 8560p, but I found no drivers for windows 8.1 and windows 10.The main problem is that the video of this machine played poorly, too much restriction are occurred in this model... Can you help me to download o

  • How to copy the piece of string to an enum in the part of string in a cluster?

    I want to do all of an array of clusters.  I am using a loop for.  Can not find a way to analyze in chain of the enum in the part of the chain of the cluster. Otherwise, I'd be happy if I could find some way to bind the enum in the table of clusters,

  • creation of security as of streaming video cam

    Hey guys,. I'm looking for ideas or resources to flick, or even a "this can't happen" to create a video stream buffering for a period of time. I mean, it's a video of power where the data available for display are always like a 2 hour time period. On

  • settings on the router for ITouch

    I have tried to connect my new ITouch with my home wireless, but will have many problems.  It does not accept the password.  I read some of the discussions, but there are so many things listed there.  Right now my router, a WRT54G, is defined as 64-b