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

Tags: Database

Similar Questions

  • Point of non-base of tri data

    Hi, forms 6i, db 10g rel2,

    guess that Yes,

    I the EMP and a non db elements to get the NAME of table DEPT, I can get it with a trigger after query.

    But how can I sort the dname is something no db.

    -If I use a clause or a view, I will not be able to insert anything, to update it, or remove the block, and of course, this is not what I want.

    I saw this thread with andreas response, I think it's so simple, but I quite, please guide me

    sort a database not element

    Hello

    Taking your example (and based also on the tip of Andreas - Thks), you have the following in your ORDER BY Clause:

    (select dname dept d where d.deptno = e.deptno)

    'E' corresponding to the alias associated with your table of data block name.

    Kind regards

    Rajen

  • 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.

  • 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;

  • 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);
    
  • 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.

  • 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

  • My recorder does not work! None of my recording software works on Windows 8!

    I am very frustrated. I have a recording and production software. NONE of this is recording on Windows 8. On my old PC which had XP, I had no problem. To ensure that the programs I used were not the problem, I tried Sound Recorder, which comes with Windows 8; that didn't work, either. The "line out" (requiring no external connection on XP) appears even on volume controls. I don't know what is happening, but I'm starting to regret the choice of a PC with Windows 8 on a Mac, which initially, I wanted to get!

    It was the answer to my problem: http://t.co/qLuzdrWUR3. Thanks to all who responded. No f * king thanks to Microsoft for giving me the evasive for last week to a simple solution.

  • 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.

  • How to read/select only the records from a table with non-English characters

    Hello
    I need to find all records in a table with non-English (mainly Chinese) characters in at least one of the varchar2 columns. Let me kow if someone knows a way by which it can be done using SQL/PLSQL.

    Best regards
    Imran
    select * from your table
    where your_column != convert(your_column, 'UTF8', 'US7ASCII)
    

    Replace UTF8 with your database character set

    Published by: thtsang on October 15, 2009 03:53 - unequal sign change of! =

  • How can I uninstall or repair and I HID Non-User Input data filter?

    (He was installed by windows update & failed because the "fatal error", it continualy attempts to install start-up & fails.) There NOW in some SORT NOW picked UP MY wireless keyboard Microsoft THAT DO WORK MORE, AS THE PROGRAM CACHE IS DEFECTIVE!  When I stop & reboot, the KEYBOARD is NON-OPERATIONAL & I can't GET THE PIN TO LOGON! In desperation I dug an old logitech keyboard and eventually be able to log on to come here for HELP, someone please. Sorry for the cries of joy, (capitals), but I had a full head of hair when I started but I'm now almost bald!
    Brian McGDR

    Hi BrianMcGDR,

    1. When you are unable to install the Microsoft HID Non-User Input update data filter?

    2. What is the full error message you received during the installation of this update?

    3. do you have security software installed on the computer?

    4. What is the model number of the keyboard? What happens when you try to connect the keyboard to the computer?

    The update of the Microsoft HID Non-User Input data filter must be installed if you experience the problem that is mentioned in the Microsoft article below.

    The screen saver does not start after the installation of a wireless pointing device

    http://support.Microsoft.com/kb/913405

    I suggest that you download and install the latest drivers for keyboard, check if it helps.

    http://www.Microsoft.com/hardware/en-us/downloads

    See the update history for the exact error for failure put up-to-date and after return with details.

    (a) open Windows Update by clicking Start , all programsand then click Windows Update.

    (b) in the left pane, click view update history.

    (c) to view more information about an update, double-click it.

  • Installation of Microsoft - other hardware - HID Non-User Input data filter (KB 911895) (updated 1 of 15)... failed!

    I can't download this updates?

    Download update of security suites for Microsoft Office 2007 (KB2596672) (updated 7-15)... done!

    Download update of security suites for Microsoft Office 2007 (KB2597162) (update 8 of 15)... done!

    Download a security update for Microsoft Office Word 2007 (KB2596917) (Update 9 of 15)... done!

    Download a security update for Microsoft Office Excel 2007 (KB2597161) (updated 10 15)... done!

    Download a security update for Microsoft Silverlight (KB2636927) (11-15 updated)... done!

    Download update for filter junk e-mail in Microsoft Office Outlook 2007 (KB2687310) (updated 12 of 15)... done!

    Download update for Microsoft Office Outlook 2007 (KB2596598) (updated 13 of 15)... done!

    Download a security update for Microsoft Office InfoPath 2007 (KB2596786) (updated 14 15)... done!

    Download update of security suites for Microsoft Office 2007 (KB2596744) (update 15 of 15)... done!

    Initializing installation... done!

    Installation of Microsoft - other hardware - HID Non-User Input data filter (KB 911895) (updated 1 of 15)... failed!

    Install the update of security suites for Microsoft Office 2007 (KB2596871) (update 2 of 15)... failed!

    Install the update of security suites for Microsoft Office 2007 (KB2598041) (update 3 of 15)... failed!

    Install the update of security suites for Microsoft Office 2007 (KB2596880) (update 4 of 15)... failed!

    Install the update of security suites for Microsoft Office 2007 (KB2597969) (update 5 of 15)... failed!

    Install the update of security suites for Microsoft Office 2007 (KB2596792) (update 6 of 15)... failed!

    Installation of update of security suites for Microsoft Office 2007 (KB2596672) (updated 7 of 15)...

    They all failed

    -Other hardware - Microsoft HID Non-User Input data filter (KB 911895)

    Update of security suites for Microsoft Office 2007 (KB2596871)

    Update of security suites for Microsoft Office 2007 (KB2598041)

    Update of security suites for Microsoft Office 2007 (KB2596880)

    Update of security suites for Microsoft Office 2007 (KB2597969)

    Update of security suites for Microsoft Office 2007 (KB2596792)

    Update of security suites for Microsoft Office 2007 (KB2596672)

    Update of security suites for Microsoft Office 2007 (KB2597162)

    Update of security for Microsoft Office Word 2007 (KB2596917)

    Update of security for Microsoft Office Excel 2007 (KB2597161)

    Update for the filter of junk e-mail in Outlook 2007 (KB2687310)

    Update for Microsoft Office Outlook 2007 (KB2596598)

    Update of security for Microsoft Office InfoPath 2007 (KB2596786)

    Update of security suites for Microsoft Office 2007 (KB2596744)

    Thank you

    Tip: Get a driver updates you really need from the download page of the manufacturer of the device or the computer only, NEVER through Windows Update (i.e., hide the driver updates available through Windows Update).

    ACTIONS

    1. open Internet Explorer (only!) to http://support.microsoft.com/kb/910336 [ignore the title & symptoms].

    1B. IMPORTANT!-online make disappear/close theTroubleshooting Windows Update tool ""pop up! "   " -then...

    1 c. ignoring "not recommended" or similar warnings, difficulty running it 50202 DEFAULT modes and AGGRESSIVE. [1]

    2 reset.

    3. open Internet Explorer (only!) at http://windowsupdate.microsoft.com . Select CUSTOM and scan | Installation of Security updates (e.g., KB2596871;) KB2597162) available now.

    -Online if an update root certificates (KB931125) is listed under the category of updates software optional on the left side of the window of scan results, install it to enjoy greater security of IE8.

    -Online also install the junk e-mail Filter Outlook update (KB2687310) as well as Update for Windows XP (KB971029) if it is offered.

    -Online Tip: do NOT install any other optional software updates or upgrades optional equipment (e.g., KB911895) - just hide them ("don't show me this update") all.

    4. in response to this post with a status report.

  • What is Microsoft - other hardware - HID Non-User Input data filter (KB 911895)?

    What is Microsoft - other hardware - HID Non-User Input data filter (KB 911895)?

    and what is it for?

    What is Microsoft - other hardware - HID Non-User Input data filter (KB 911895)?

    and what is it for?

    In simple terms...

    It is mainly for wireless devices that you have installed on your computer, such as keyboards and wireless mouse.

    If you use the hardware wireless with your computer, the update is necessary. Without it, your computer won't be able to go to standby mode because the wireless hardware will keep the computer awake.

  • FRM - 40603:Records is no longer reserved for the update. Query for changes

    Hi I have a form that has been developing 6i and upgraded to 11g form work well in 6i, but when I try to do the same function in 11g get this error

    FRM - 40603:Records is no longer reserved for the update. Query for changes
    When I commit this execute_query (for_update); It is the form to clear values when it loads, the error comes when I try to delete

    How can I do this

    Action: If you want to change the block, you will need to re - interview.

    Captureerror3.PNG

    I use When-Timer-Expired (WTE) trigger

    You have a 'relationship' defined between the blocks of your master and detail? If so, simply update your master block and the block of details will automatically be re-interviewed. If you cannot use a relationship, then you can use can create a timer in the trigger that updates the database, then in the trigger When-Timer-Expired (WTE) you can go to the retail block and run a query. For example: / * the sample on change trigger * /.

    DECLARE
      timer_id  TIMER;
    BEGIN
    ....your code here that performs the update....
      /* Now create an instance of a timer */
      timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
    END;/* Sample Form Level When-Timer-Expired trigger */
    DECLARE
      timer_id  TIMER;
    BEGIN
      -- Find the timer first
      timer_id := FIND_TIMER('upd_detail');
      IF NOT ID_NULL(timer_id) THEN
          GO_BLOCK('DETAIL_BLOCK');
          Execute_Query;
      END IF;
    END;
    

Maybe you are looking for

  • How can I make TB require double click to open an email?

    I want to prevent tuberculosis of the opening of emails when are 'clicked simple '.IE - I want it requires a DOUBLE click to open it. I have searched the FAQ but can't find the answer. Any help would be greatly appreciated. Thank you very much. John.

  • TestStand Debug Deployment License Question

    I'm a little confused by the licensing OR and need advice... I have a PC that I use with a contract manufacturer that is set up to run LABView and Teststandapplications. It was working fine until recently, I've updated this PC and receive the followi

  • Why my custom control consuming 30% of the CPU power?

    Hello on my laptot C2D 2.0 GHZ if I open just VI with custom control I developed it consumes about 30% of the CPU power. Could someone explain why? Is also my problem with this control? I see it with 8.5 and 8.6 as well. It must be linked to its repr

  • When using webcam with MSN or Skype, the contact does not hear me.

    Original title: Audio When I use my Web Cam with MSN or Skype, my contact sees me but does not hear me. Suggestions?

  • Windows update takes too long to find the updates

    I had just installed a new hard drive on my laptop Dell inspiron N5050. I did a reinstall of system clean of my operating system to windows 7. After that, I started to run windows update to get all the necessary updates that I need to update complete