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

Tags: Oracle Development

Similar Questions

  • 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

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

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

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

  • 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

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

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

  • my PC crashes with the error"SPCMDCON. "SYS at ADDRESS FBFE7617 base at FBFE5000 date: 3dbdd" any suggestions? that solve my problem

    Now PC crashes with the error"SPCMDCON. "SYS at ADDRESS FBFE7617 base at FBFE5000 date: 3dbdd" any suggestions? How to protect my pc and solve my problem and frequntly turn off my pc what I would do now?

    Hello

    When exactly do you get this error message?

    Perform a clean boot to verify if a third asks the origin of the problem.

    Refer to this article for help:
    http://support.Microsoft.com/kb/310353

    Kind regards
    Afzal Taher - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • STOP: 0x0000008E (0xC0000005, 0xBF9568C8, 0xA6864C00, 0x00000000) win32k.sys - address BF9568C8 base at BF800000, Date stamp 4ff2f633

    Hi, I get a blue screen frequently with the below error message.
    "Technical information:
    A problem has been detected and windows has shut down to prevent damage to your computer.

    STOP: 0X0000008E (0XC0000005, 0XBF9568C8, 0XA6864C00, 0X00000000)
    Win32k.sys - address BF9568C8 base at BF800000, Date stamp 4ff2f633

    Beginning physical memory dump.
    Complete physical memory dump.
    For more assistance, contact your system administrator or technical support.  "
    I am using Packard bell Easynote MX45.
    XP Home edition Version 2002
    SP3
    Inter (R) CPU [email protected] GHz.
    3 GB Ram
    could someone help me fix it please.

    N

    You are better able to tell us if the problem is resolved.  Continue to run Malwarebytes about once a week.  If the BSOD ceased and MBAM does not show any other infection, you're probably good.

  • Oracle 10g FRM-41051 on a piece of text data with a LOV non-base

    Hi all

    I am struggling with a problem, I am convinced that must have a really simple solution, but for the life of me I can't understand it!

    I have a block of data called query. It is a block not DB with a certain number of elements, with LOVs or drop-down lists. It is used to choose the values, which are "translated" in the values programmatically in the other two blocks of data of database (which will be populated in the trigger WHEN-BUTTON-PRESSED a button in the block no DB).

    This is necessary because I have a somewhat complex query that can take the values of many different tables and displays items of information of all the different tables.

    My problem is that on my text element (which has a LOV attached to it with the automatic display of the Yes value); When I click it, I expect the LOV to show and I am able to choose a value. Instead I get the error "FRM-41051-you can't create folders here" and does not display the LOV.

    I don't understand this. Everything on the block is an element not DB, including the block itself and I don't want to 'create' all the records, all I want to do is choose values in my text that I can then use in a DB query (written in my trigger).

    What I am doing wrong?

    Abigail

    Make sure that the property 'Insert enabled' is 'YES' for your control block.

  • There was a problem installing HID Non-User Input filter data (KB911895), a fatal error occurred during installation of the device

    I tried to uninstall the faulty data filter & reinstall download (KB911895). all attempts fail & downloads auto continues trying to install "ad noursium". How can I solve this problem please someone? Brian

    Hello

    Step 1: Follow these steps and then try to install the update.

    1. go to the location: c:\windows\system\drivers\
    2. search for and rename the file wdf01000.sys wdf01000.old
    3. restart the computer.

    Step 2:

    Reset windows update components

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

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Speakers do not work error: device not installed Base and the data Interface system / no driver found

    I have a Dell Inspiron 1420 and recently upgraded to Windows 7. It had Windows Vista before. Now my speakers do not play, and they did it when I am running Vista. I did some troubleshooting and got messages from Interface to data and not installed for Base system device, but when I click on apply this patch, I get the message no driver found.

    Most often when a device does not work, it is because the driver is damaged. Re-install a new copy should help

    Remove the driver current completely and install the latest driver available.  For instructions on how to do read everything to update the drivers of my partner JMH3143 http://answers.microsoft.com/en-us/windows/wiki/windows_other-hardware/updating-a-driver/a5e6345e-af9b-4099-bef0-8d22254aa1c1?tm=1436753520149 here

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly? SignedIn = 1

  • How to strengthen the basis of oracle data that is installed by default configuration

    Hello DBAs,

    A recent hearing in our database by the world famous firm oracle administration gave us their evaluation report, which also includes a clear guide to harden our server and the database. I got very frustrated by their report because he had only 5 lines of conclusion which should be corrected so that my expectation was higher that this number because I gave them access to one of our databases was in its default installation mode. So, I can't assume the database secure after these made corrective activities. So, please could you me what would be the minimum that must be in place for safety. Therefore, I would like to know all the post of tasks of installation if someone already has.

    Thank you for your support.

    The Security Guide database for your version of Oracle will have a chapter on maintenance of your Oracle Secure database which is a good starting point.  In reality, however, much will depend on the specific requests that a specific database is running and the requirements of your organization and these applications.  If you run a system or application of health care, for example, in some other highly regulated industry, it is likely that additional steps will have to be taken beyond the generic suggestions the Security Guide - configuring encryption transparent to data or Data Vault or data, encryption of communication via the network masking or activation of the audit to end grain or any number of other technologies allowing Oracle.

    Justin

Maybe you are looking for