disable the current record...

How to disable the current record in the table?

My tables 5 records. If my cursor in the first record, I would like to make some calculations and disable it (current record) but other text fields (4 documents) should be the mode.

I used set_item_property it disable all records...

How to do this?

Thank you...

Published by: skud on July 15, 2011 18:36

Use set_item_instance_property instead of set_item_property and disable insert and update enabled property of all points for example blocks

If: system.cursor_record = '1' then
set_item_instance_property ('TEXT_ITEM1', current_record, insert_allowed, property_off);
set_item_instance_property ('TEXT_ITEM1', current_record, update_allowed, property_off);
set_item_instance_property ('TEXT_ITEM1', current_record, NAVIGABLE, property_off);
end if;

Tags: Oracle Development

Similar Questions

  • BlackBerry Smartphones the current record access denied on synchronization

    I have an 8330 with OS 4.3. When I try to synchronize with MS Outlook 2007 address book and calendar, I get the following message: "the current record access is denied. Validate your permission to access the folder.

    How do I do that?

    Hello

    Knowledge Base:

    http://www.BlackBerry.com/BTSC/articles/510/KB14749_f.SAL_Public.html

    Please let me know if it helps!

  • Developer Mode error: outdated., the xxAM.xxVO1 view object contained no trace. The records displayed may have been deleted, or the current record of the view object is not properly initialized.

    Hi all

    I'm creating a Maunal search page.

    To do this, I created a view based on a custom display object.

    Page contains 2 parameters.

    If I give all settings and click the OK button.

    It gives the following error.

    Developer Mode error: outdated data


    This page contains outdated information. This error could have been caused by the use of the buttons of the browser (the browser back button, for example). If the browser navigation buttons were not used, this error may result from coding errors in the application code. Please check press the back button on the browser developer guide - view primary key object comparison section to review the main cause of this error and correct the mistakes of coding.


    Cause:
    The view BLTrinDisplayAM.ViewVO1 object did not contain any record. The records displayed may have been deleted, or the current record of the view object is not properly initialized.

    To visit, please click on the Home link at the top of the application page to return to the main menu. Next, go to this page using the app's navigation controls (menu, links and so on) rather than use the controls of the browser as rear or front.

    If I don't give any parameter and click go Button.The content of the view are displayed.

    So if I pass all parameters and click Go, then the corresponding record is displayed.

    Why, for the first time, if I give the parameter and click Go, obsolete data error is coming?

    Please help me.

    Grateful for your help!

    -Aren

    You use the object of the view for the search criteria and search results fields.

    I suggest you to remove references of VO fields of search criteria, item1 and item2.

    And in the event of the button 'Go' in the processFormRequest, get the criteria for field values entered by the user as below and run the object (ViewVO1) of the view by using these values.

    String buCode = pageContext.getParameter ("item1");

    String lsiCode = pageContext.getParameter ("item2");

    Thank you

  • How can I disable the software recorded on a computer I own is no longer, the computer no longer exists?

    How I can disable the software recorded on a computer I own is no longer, the computer no longer exists?

    Contact Adobe, contact the customer service

  • APP-COMPENSATION-07092: this action is not valid for the current record.

    Cannot access panel assignments used to updates within oracle HR receive this error message. How to solve this problem.

    Please see these documents.

    APP-COMPENSATION-07092 this action is not valid for the current record by trying to access assignment [813815.1 ID]
    PERWSHRG APP-COMPENSATION-07092 when you navigate to assignments [796523.1 ID] screen
    PERWSHRG APP-COMPENSATION-07092 trying to access assignment [ID 1434212.1]
    PERWSEAC cannot enter costs for the Contingent Workers APP-PAY-07092 [1458000.1 ID]
    App-pay - 07092:Action not valid for registration: current salary for the potential asset Asg [ID 360168.1]
    Method of payment when opening errors: APP-COMPENSATION-07092: this process is not valid for the current record. [ID 289691.1

    Thank you
    Hussein

  • How to disable the current point when validate trigger

    Hi all
    I want to disable the current text point when validate trigger.

    Generally, we rely on WHEN-VALIDATE when the cursor leaves a field. In this case, because the cursor leaves the ground, why are you trying to turn it off at this point? The other time would be during the validation process. In this case, you should be able to disable during the WE-COMMIT or in a VALIDATION KEY.

    I guess if we understood better what you want to accomplish and why you want to do, we could offer something more useful.

  • move to the current record after query execution

    Hi all

    I have a form where I can list all the jobs of the db that can start or stop.

    For more details, form has columns jobs, the current situation of db, action (drop-down start/stop)

    The user will see list of works on the screen and it goes directly at a check-in and departure (submit) work using drop-down for this record.

    Once they start and stop work, run query goes off to show the current state of employment.

    Now goes to my requirement, after the query is run, I want to go to the (employment) record that the user has begun the work.

    Currently, the cursor goes to the first record.

    Is there any oracle 10g AS property where I can get the current record, put it in setting and go to this record after having run query?

    Is there another way?

    Kind regards
    Leonard

    Hello

    If you are sure that the record after motion will keep the same position, you can before, store the current record in a variable number with Get_Block_Property (CURRENT_RECORD) integrated, then after query, use Go_Record() with the variable number stored in the parameter.

    If you think that, after re - question registration number can change, you need to browse your recordings in a loop, then stop navidation while you find the corresponding key.

    François

  • Need to set the attribute of the current record based on the value of the next record

    With the help of forms 6, I have a form that displays the list of folders. There may be multiple records with the same ID, but with different expiration dates. I need set attributes for hilite only the record with the latest expiration date. The current list points of interest reviews of future expiration dates - but we found that, sometimes, the subscription is renewed before the expiration date has been reached, causing two records with the same ID with expiry dates in the future.

    I can (and do) sort the records by date of expiry and the identification for the record with the latest expiration date is always the last to this ID, so what I want to do is to check the next record to see whether or not it has a different ID. If the current record is the last expiration date, & must be hilited. Because I might want to hilite the current record, I can't simply navigate to another record, according to the description I found, what makes the next_record builtin. Anyone know how I can check for a value in the next record without making the current record?

    Thank you.

    What I would do:

    -Create a DB view based on your table and including the function call DRIVE as a separate column.
    -Base that block you on this point of view
    -If the block is modifiable, set the DML target for the block to your database table.

  • How to get the current record in a block?

    Hello

    How can I get the registration of a block, but the current record of the records displayed by this block? (for example if the number of records is 50, but the number of displayed records is 10, I want to get the current_record from the 10, not all 50).
    the: system.current_record returns the current all-time record

    Thank you

    You can use a combination of: SYSTEM. CURSOR_RECORD which returns the current record and GET_BLOCK_PROPERTY ('BLOCK', TOP_RECORD), which returns the number of the record that is displayed as the first visible record, your result should be something like

    :SYSTEM.CURSOR_RECORD-GET_BLOCK_PROPERTY('BLOCK', TOP_RECORD)+1;
    
  • Problem I have TO solve with the query: PREV calculation to the current record

    Hi all

    My version of db:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    I have the problem to solve with a request (MUST BE a SELECT statement), but I do not understand how... I tried with the analytical function but... not just:

    I have this table:

    rownumKEY1KEY2A3PERCIMP
    1A123RISCP01/01/201410100
    2A123RISCP02/01/201411100
    3A123RISCP03/01/201415100

    Application of expected result:

    RESULTSKEY1KEY2A3PERCIMP
    90A123RISCP01/01/201410100
    80.1A123RISCP02/01/201411100
    68.085A123RISCP03/01/201415100

    Starts recording with rownum 1 (the lower date with the same KEY) I do: imp - (100 imp * perc), where imp = 100 and PERC = 10, so the first result of the calculation is: 90


    Now I have to go to record 2, so I do 90 - 11%: imp - (100 imp * perc), where imp = 90 and PERC = 11, results is 80.1

    Now I have to go to the 3d recording, so I 80.1 - 15%: imp - (100 imp * perc), where imp = 80.1 and perc = 15, results is 68 085

    So I have to use the previous to the current PERC.

    I'm sure it's possible through a combination of funcion analytical!

    Thanks to anyone who can help me!

    with

    data in the form of

    (select 1 rn "A123" key1, to_date('01-JAN-2014','DD-MON-YYYY') dat, 10 perc, 100 imp union double all the)

    Select option 2, 'A123', to_date (February 1, 2014 "," MON-DD-YYYY ""), 11, 100 of all the double union

    Select 3, 'A123', to_date (March 1, 2014 "," MON-DD-YYYY ""), 15, 100 double

    ),

    Solver (RN, Key1, DAT, PERC, IMP, result) as

    (select rn, key1, dat, perc, imp, imp * (1 - 0.01 * perc))

    from the data

    where rn = 1

    Union of all the

    Select d.rn, d.key1, d.dat, d.perc, d.imp, s.result * (1 - 0.01 * d.perc)

    s Solver,

    data d

    where d.rn = s.rn + 1

    )

    Select *.

    the Solver

    RN KEY1 DAT PERC IMP RESULT
    1 A123 01/01/2014 10 100 90
    2 A123 01/02/2014 11 100 80.1
    3 A123 01/03/2014 15 100 68.085

    Concerning

    Etbin

  • A report on the current record of another report on the same page of filtering

    Hello

    I have a report on the same page and form in an APEX application. The interactive report is used for sorting/filtering etc. and the form is used to present the data for one record at a time, but also to allow updates in the selected fields. This was done using the wizards, little 'edit' is click on the button to change the shape of the selected record.

    I also have (or want to have) a second non-interactive report on the page, which contains some records according to the record of the main report that is currently selected and appearing in the form.

    I tried to make a simple 'SELECT fields WHERE the link field is equal to the main report', but he doesn't always says no data found.

    Basically, I need to be able to have a query for the second report which says "SELECT those fields WHERE the site is equal to the site displayed in the form.

    A click on the button 'Edit' of small pencil/paper on a report, this set some ActiveRow or something like that I can use to filter the second report?

    As you can tell from this post, I'm in my childhood skills database and any literature/advice on how to do this (outside MS ACCESS...) would be appreciated.

    Hello

    What is your version of the Apex?
    You define a column as to be the link.

    Do you mean something like this?
    https://Apex.Oracle.com/pls/Apex/f?p=40323:71
    If you click on the deptno column, it refreshes DEPT report.

    Kind regards
    Jari

  • The current record was lost after roolback [jdev. 11.1.1.4]

    Hi all.

    I have master / detail.

    When I add a new detail record:
    -J' I run a createInsert on the Details table and I open a pop-up.
    -IF I don't push the button «»
    -I run a restore operation on the BD. After that, the system gives me a first master record.

    Here, there is the code for the dialog box:

    {} public void editDialogListener (DialogEvent dialogEvent)
    ApplicationModule am = ADFUtils.getApplicationModuleForDataControl ("AppModuleDataControl");
    If (dialogEvent.getOutcome () .name () .equals ("yes")) {}

    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding ("Commit");
    operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ()) bindings.getOperationBinding("Rollback").execute ();
    } ElseIf (dialogEvent.getOutcome () .name () .equals ("no")) {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding ("Rollback");
    operationBinding.execute ();
    }
    }

    How can I keep the pointer to the correct record of the master?

    Cristian

    Have you looked?

    It asked many, many times.

    http://one-size-doesn

  • get the current record in the rich table

    Hello
    I have a rich table in my program
    user can select a table row and update it in the form of popup
    I use the command rollback in popup
    If the user select rollback selected line in table display to the first record
    I want that the restore does not affect in the selected row in the table
    I don't know how I can get the index of the row selected in the table before you restore and update table after cancellation

    Try the section
    How-to - keep selected line after cancellation
    in this link:
    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/OCT2010-OTN-harvest-183714.PDF

  • How to display the current record forms indicator?

    Hello

    Could U help me please Sir...

    Kind regards.

    Hello

    In the One-TIME-NEW-RECORD-INSTANCE trigger, set : SYSTEM. CURSOR_RECORD to the item displayed as


    :. := :SYSTEM.CURSOR_RECORD;
    

    Manu.

  • need to recover the previous registration with the current record

    Hi all

    I have a table like,
    ID, name, date_de_modification, prev_loc

    1, 'ABC', March 23, 2009, "A1".
    2, "XYZ", March 23, 2009, "C1".
    3, "KLM", March 23, 2009, "C1".
    4, '012', March 23, 2009, "C1".
    5, '1231', March 23, 2009, "C1".
    6, "XYZ", March 23, 2009, "C1".
    7, '435', March 23, 2009, "C1".
    8, "homeless", March 28, 2009, "C1".
    9, 'Bad', March 27, 2009, "C1".
    10, 'ABC', March 29, 2009, "B1".
    11, "345df", March 29, 2009, "C1".
    12, 'ABC', March 29, 2009, "C1".

    Requirement:
    for 'ABC', there is 3 files. at the top is id 12. with this record I want view prev 'ABC' with id 10 folder, then
    record with id 10 I want to display folder prev 'ABC' with the id 1 as wise...

    I want o/p as:

    12, 'ABC', MARCH 29, 2009, C1, B1
    10, 'ABC', MARCH 29, 2009, B1, A1
    1, 'ABC', March 29, 2009, A1, null

    Kind regards
    Krishna Prasad

    Published by: user9933144 on April 29, 2009 02:11

    Hello, something like:

    WITH tab AS (
    SELECT 1 ID, 'ABC' name , TO_DATE('23-March-2009', 'DD-MON-YYYY') date_modified, 'A1' prev_loc FROM DUAL UNION ALL
    SELECT 2, 'XYZ' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 3, 'KLM' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 4, '012' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 5, '1231' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 6, 'XYZ' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 7, '435' , TO_DATE('23-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 8, 'sdf' , TO_DATE('28-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 9, 'gdfg' , TO_DATE('27-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 10, 'ABC' , TO_DATE('29-March-2009', 'DD-MON-YYYY'), 'B1' FROM DUAL UNION ALL
    SELECT 11, '345df',TO_DATE('29-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL UNION ALL
    SELECT 12, 'ABC' , TO_DATE('29-March-2009', 'DD-MON-YYYY'), 'C1' FROM DUAL)
    -- End of test data
    SELECT Id, name, date_modified, prev_loc,
              LAG(prev_loc) OVER (PARTITION BY name ORDER BY id) prev_prev_loc
     FROM tab;
    
             ID NAME  DATE_MODI PR PR
    --------- ----- --------- -- --
             4 012   23-MAR-09 C1
             5 1231  23-MAR-09 C1
            11 345df 29-MAR-09 C1
             7 435   23-MAR-09 C1
             1 ABC   23-MAR-09 A1
            10 ABC   29-MAR-09 B1 A1
            12 ABC   29-MAR-09 C1 B1
             3 KLM   23-MAR-09 C1
             2 XYZ   23-MAR-09 C1
             6 XYZ   23-MAR-09 C1 C1
             9 gdfg  27-MAR-09 C1
             8 sdf   28-MAR-09 C1
    

    Published by: Seanmacgc on April 29, 2009 02:36

Maybe you are looking for

  • UK database technologies ltd a scam?

    Had an experience that feels bad. This company claimed to check my network and add antivirus software and performed a clean upwards. Cannot find anything on my mac other than a large beak. Any advice would be much appreciated. Thank you

  • Claudio Miranda, CSA speaks F65

    All, Here's the winner of the Oscar Claudio Miranda, CSA talking the F65 at NAB for feature film oblivion Enjoy Peter

  • ActiveX control in CVI Edit substep

    I'm under CVI 2010 (10.0.1.419) and TestStand 2010 SP1 f1 (4.5.1.144). I came across a problem today and I know that I must be missing something easy. I am trying to create a step with a stage to change type. The lower level change called a CVI funct

  • HTML5 App - See the pop-up message window when in the background

    Hello I need my application to display a popup to the user even if the application is in the background. How can I do this if my application is built with html5 and JavaScript? Thanks for any help

  • Activation of blackBerry Smartphones Orange UK

    Hello I'm a newbie and have looked through the forum, but can't seem to find what I'm looking for, I hope someone can help! I rang Orange two days ago. I had the Blackberry added to my plan for £7.50 per month unlimited Service. They told me that wit