Trigger SAVE data non-base items

Hi all
I have a point of non-base of data in a block, in which I need to save the value of the element in another table.
My form just to the default 'save' button at the top, where do I put the code to save the value when the user presses the button "Save".
Since then when I change the value of the non-base data element and press 'save', FRM-40401: no change to save is fast.

Please suggest. Thank you.

You can set the property "Lock Record" of the non-base of data element, to say the forms that the line has been updated, even if no element corresponding to a database column has been updated.
Then you can wright code to store the value in the subsequent update trigger.

Tags: Oracle Development

Similar Questions

  • Can you collect audit from sources of data non-base data?

    Can you collect audit from sources of data non-base data? For example, security related events in Windows and/or Linux?

    In the current production version of the Audit Vault, you can only collect audit data from Oracle, Sybase, SQL Server and DB2 LUW databases.

  • See current school record number in field data non-base

    Hi all
    I have a block of tabular data. I want to show the current record number in a non-base data element.
    I wrote: item1: =: system.cursor_record in the trigger after application, but it shows no results I want. first 10 records the values 1, folder 11 is correct.
    Is assigned to the properties of the block:
    No of records displayed is 10
    The buffer size is 0
    Table is 0
    Please suggest the best trigger/property that I put.
    Thank you

    Hello
    Try this...

    : item1: =: system.trigger_record;

    -Clément

  • How promt user to save the changes when you change the non-base fields?

    Hello
    I have a form with two tabs. The datablock Block_1 on tab_2 is based on a view of database. But all the displayed items of the Block_1 are non-base of data elements. Whenever a user changes some elements of Block_1 and press the button Save, the values of non_db elements copied from the db_items (based on the view), and commit_form is called. It works very well.
    But the problem here is: after the change of some elements of block_1, if the user navigates to another form/option in the menu, the shape is not promt the user to 'save changes' and all changes are lost. How can I fix it?
    I have a form level key-release trigger, (which does not fire) with the following code: -.
    Declare
      X  Number;
      alert_is             alert;
    Begin
          
    If :System.Mode = 'ENTER-QUERY' Then
         
            Exit_Form;
           
    Else
      If :System.Form_Status In ('NEW','QUERY') Then
           alert_is := FIND_ALERT('TMPL_EXIT'); -- "Are you sure you want to exit?"
        X := Show_Alert('TMPL_EXIT');
        
        If X = Alert_Button1 Then
           Exit_Form(no_validate);
        End If;
        Else
           Exit_Form;
      End If;
    End If;
    End;

    When button preesed trigger that fills your block:

    --somewhere in loop after NEXT-RECORD and assigning values:
    set_record_property (:system.cursor_record, :system.cursor_block, STATUS, QUERY_STATUS );
    

    Now you can copy the values of the elements not db to db items in when-validate-item.

    Of course, it is a quick fix and dirty. Good way would be to solidarity block using EXECUTE QUERY, delete everything in mirror and do you calculations in a trigger post-requete

    Published by: Slava Natapov on December 9, 2009 14:18

  • Display data article LOV non-base

    Hello
    I have a master form / retail. When in retail block one of the field's text element 'X' joint list of values (Y). I have the code and the description of the columns in the list of values, but I view description when selected and save only the code in the secondary table. so when I run the form in query mode I get the value of the description in the text element 'X' that it is a non-base of data element.

    so I add after QUERY on block of retail for the description, by copying the text element 'X' using the COPY (l_description,'DETAIL_BLK.) X') but I get "exact fetch returns more than number of lines" as my master record has several detail records.

    Because the COPY of order confirmation 'Save changes' window whenever I press the arrow down in query mode, because I'm the copies value description to the text 'X' element, I think that

    Help, please

    Thank you

    No, it can't be, because is POST-QUERY-trigger fires after a record was requested. I think that the error was on my side, I changed the settings in set_record_property. Try

    SET_RECORD_PROPERTY(:SYSTEM.TRIGGER_RECORD, 'BLOCK', STATUS, QUERY_STATUS);
    
  • How to display the records from a query in the non-base data field

    Hello

    I have a problem:
    I have a query with a lot of tables and column 6 (select a, b, c, d, e, f x, y, z, t, s, g where the conditions) and I use 3 parameters.
    I create 3 settings: datai,: dataf and: partner and a button with a trigger when the button is pressed.
    Then a create a block manually with six field non-database a1, b1, c1, d1, e1, f1.
    Now, I want to display all the records in my query in a1, b1, c1, d1, e1, f1 where a1 = a, b1 = b, etc. and all the records (if I have 20 record, it will display 20 records in the non-base data field) when I press the button.

    How I did it:
    I create a cursor with the query, and then
    start the open cursor
    loop
    Fetch cursor in: a1,: b1,: c1: d1: e1,: f1;
    end loop;
    close the cursor;
    end;

    It displays a single record in a1, b1, c1 only, and it must display 100 records and date for all fields.

    Can someone help me with this problem?
    Thank you.

    Published by: 928437 on October 1, 2012 02:55

    Creating a view and the query in a database block are a great solution.

    To use the block non-base of data:
    You are missing the most important Next_Record; command.

     Begin
    Go_block('X'); -- block X is the non-database block
    Clear_Block(No_Validate);
    open cursor X1;
    loop
    If :System.Record_status != 'NEW' then
    Next_Record;
    End if;
    fetch X1 into :a1,:b1,:c1,:d1,:e1,:f1;
    Exit when X1%NOTFOUND;
    end loop;
    close X1;
    end;

  • A record of a point of non-base of data querying

    I work in Apex 4.0. I have a page based on a table with the following columns: borrower, amount, previous_dktnr, dktnr, subsequent_dktnr. The precious_dktnr is the dktnr , under which the loan has been funded in the past, before his support or refiancing. The subsequent_dktnr is the dktnr under which the loan is later identified. When a loan is refinanced, it is assigned a new dktnr a new record and the old dktnr is placed in the column of previous_dktnr of this new record, and the current dktnr is placed in the subsequent_dktnr of the previous record of dktnr column.

    I created two buttons, one for the previous_dktnr and the subsequent_dktnr. When I click on one of these keys, the action redirects to the current page and the value of the anterior or posterior dktnr in the dktnr element. This questions the record for the dktnr that has the same value as the previous or next dktnr.

    This method works. It allows the user to beat back between the two dktnr.

    We can assume then that if a non-base of data element have been created, say: P22_QUERY_DKTNR, you would be able to conclude an existing dktnr of this element and have a button with the same logic as the previous buttons and subsequent dktnr , who would be able to return the record to the entered dktnr .

    I tried this, and it does not work. Can someone tell me why it does not work?

    Published by: Doug on April 9, 2011 15:42

    Published by: Doug on April 9, 2011 15:43

    Published by: Doug on April 9, 2011 15:43

    Published by: Doug on April 9, 2011 15:45

    Published by: Doug on April 9, 2011 15:46

    Doug,

    Make copies of your two pages within your workspace, page 3 & 4.

    It was that page do not have a value in the session containing the value of your Look_Up. I changed the button Search to submit the Page to understand the value of Look_Up and then added a new branch to the Page that has been sequenced before your existing branch. This new branch defines your P4_DKTNR with the value Look_Up and then returns your results.

    Jeff

  • Change the value to trigger record data for 1 s sampling frequency of 50 KHz

    Hello

    I have a VI with NI9215 and cDAQ-9178 chassis hardware. The function of the VI came out an instruction to RS232 interface and record 1 second of data every time that the set point is changed.

    The procedure is

    (1) modify the policy to the flow regulator

    (2) wait 2 seconds.

    (3) record of 4 channels for one second to the sampling frequency of 50 KHz.

    At present, the problem is for the first edition of this program, two seconds (rather than) data was saved and corn, the error message 200279.

    II. I revised for the second edition of the structure of the producer and the consumer who can increase the speed of the buffer.

    The question is how to configure the trigger to start the backup of data and limit data save for one second whenever the set point value changes.

    (1) which edition is best for my application?

    (2) how to trigger the data record?

    (3) how to record only a second of data?

    I also checked this announcement and the elapsed time seems not to work for this case.

    Any help would be greatly appreciated!

    Melody

    Hello

    you have not used properly the nodes property.

    1. replace the case structure in the first loop, with DAQmx features, with a structure of the event. Change the event fires for a worth of control of the setpoint change.

    Edit: as stated in your first post, use the structure of the event, but put inside the while loop.

    2. DO NOT connect error output from the stop command property node. Replace it with a local variable for the stop button.

    Try these and let me know.

  • save data in CT so touch

    Hello

    To save my data in TDMS file whenever I pressed the save data"" button. I created the attached VI.

    My VI worked fine, but when I open the file I found my data, further columns to zero, in the case for lack of my Condition structure, I selected default value if it is not wired.

    I would appreciate your help

    Thanks in advance

    My best regards

    Nadia

    (1) you must connect the wire of reference and error of PDM through the case of FALSE

    (2) you have 1 too many items in your list of channels table.  Remove the 0.

  • Sorting table non-base point - this scenario is not possible?

    I have a form running on a record of outgoing calls table named Call_Queue.
    Each record in Call_Queue can be merged to the table of Call_Issues from Participant_Id , and may have several associated issues.
    Each record in Call_Issues can be merged to the Call_Issue_Management table based on Issue_Id to obtain priority associated with the issue.

    I want to sort my files to call out (Call_Queue) by the value of the highest priority on the Call_Issue_Management table. Is it possible to do an Order By another base table that would make reference to the value of higher priority issues assigned to the registration of Call_Queue?

    Your help would be much appreciated!
    Call_Queue
    ---------------------------
    PARTICIPANT_ID *
    CALL_STATUS            
    
    Sample Data:
    1234567 4
    8904567 3
    ABC4567 2
    
    
    Call_Issues
    -----------------------------
    PARTICIPANT_ID *
    ISSUE_ID **            
    
    Sample Data:
    1234567 101
    8904567 101
    8904567 201
    8904567 301
    ABC4567 201
    
    
    Call_Issues_Manangement                   
    ------------------------------------
    ISSUE_ID **              
    ISSUE_DESCR            
    PRIORITY               
    
    Sample Data:
    101 DESCRA 100
    201 DESCRB 200
    301 DESCRC 300
    
    
    Call_Queue (WITH DESIRED SORT)
    ---------------------------
    PARTICIPANT_ID *
    CALL_STATUS            
    PRIORITY (NON BASE TABLE)
    
    Sample Data:
    8904567 3 300 
    ABC4567 2 200
    1234567 4 100

    It is possible. In other words a MAX() around the emphasis in the subquery in the order of.

  • Save data offline

    Hello

    I'm rather desperate this problem:
    I have planned a way to back up data offline and then load it to the database later.
    To do this, I made a page that works offline. The user can enter data on it and and then save the page.
    When you save data to database, the user first downloads the saved page.
    After that, a javascript function calls an application process to get the html page is saved.
    I've done this work so far but how to analyze data from the saved html page?
    The values it must be copied into the items corresponding in the "online" page
    There the user can check the values and save them in the database.


    Tiina

    -Very well,.
    Suggests that there is a page called P100_ITEM1 in the saved HTML page (and in the new apex page too)

    ...
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=
    X = get.get('XML'); //if XML is not well formed, then this would throw an error
    
    item1_val = $(X).find('P100_ITEM1').val();
    $s('P100_ITEM1',
    item1_val);
    //do the same for other page items too
    

    If all of these have a current model, you can also use a loop on a picker jQuery elements with this model.
    In any case, the above code, you should get going

  • Create, save data backup

    Hello

    This is probably a fairly common question, but I looked around and either did not answer or did not understand them. I honestly don't know who. So, without further ADO, here is my question.

    My iPhone becomes quite comprehensive, so I was thinking about the removal of some of the games I have on it to make room for the new. I have a few save data on the apps that I would still be there when the application is downloaded again later. Is there a way to do this?

    Thanks in advance.

    App data is stored in the backups of iOS - iTunes or iCloud.

    The backup of your iPhone, iPad and iPod touch - Apple Support

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • How can I save data in text format

    How can I save data in text format in labwindows cvi

    Hello

    If your data is in a table, the easiest is to use the ArrayToFile function.

    Automatically, it creates a file and puts your data in it depending on the size you provide.

    If you have individual samples you need to write from time to time, you can either collect them in a table and then use ArrayToFile or open a file with fopen and write them as they are acquired with fwrite.

    Hope this helps,

  • Save data in a different Excel worksheet

    Hello
    I am writing a program to evaluate other variables of human touch.
    I try to save data, post processing and sensors (2 sensors).
    I save data in different Excel files in the same folder, but it is quite heavy (one for the post processing of data, one for the force sensor and one for the motion sensor)...
    I prefer to have all the data in the same Excel in different sheets, but it seems impossible without the excel Toolkit.

    I've seen different poster forum that can seem to have had on the same topic, but I didn't get the answer...

    Thank you

    A toolkit written by the user for Excel is available in the thread Excel you might want to take a look at for reference (second post on the subject). NOTE: DON'T POST QUESTIONS IN THE THREAD EXCEL. This is a thread used as links to examples only.

Maybe you are looking for

  • Percentage of maximum CPU Windows 7 constantly frequency > 100%

    Under Windows, I find that my CPU fan runs constantly audible. The fan made ramp immediately after Windows starts, even with no applications running. Windows resource monitor shows the CPU usage in the range of 25 to 40%. However, the maximum percent

  • Qosmio F50 - gesture wearing guard code 0x800A0100

    Gesture does not work on my F50 it keep it cuming up with this code 0x800A100 What can I do?

  • You attempt to add a 2nd hard drive

    I have a HP Pavilion Elite HPE 510 t. I try to add a 2nd hard drive. The 2nd hard drive is a Toshiba 1 TB 7200 RPM 6G. Accordingly, the 1st HDD was plugged on SATA2 and the CD-ROM was connected to SATA1. It worked and it started ok. I added the 2nd h

  • WRT54G v7 client DHCP WAN problem

    I recently started having a strange problem with my WRT54G. Internet access via a modem cable and has been fine for months of work, and the cable modem works fine so I suspect that the problem is with the router. However the router also works for the

  • BlackBerry smartphones can not synchronize the new BB with Desktop software

    I lost my Blackberry Curve 9300 a few months ago and just recently I replaced it with a used Blackberry Tour 9630. I tried to connect my tour to the desktop software, I had downloaded for my old phone, but it wouldn't sync. So I tried to uninstall an