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

Tags: Oracle Development

Similar Questions

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

  • How to display data in a non-databound table?

    Hello

    Not sure, it I'm missing something here. I want to display 4 outputText fields on the same line a top of my page with each spaced and the latter always display in the top right of the page.

    After messing around with spacers and inline style I think now likely to agree - alignments table positions the reason if the column values are different, then he sticks the last column in different X - this last column must always appear in the corner of the screen.

    Is the best way to achieve the above by a table?

    My link columns are already on the page, so I don't need to link to a new iterator.

    I tried to create a table and dropping in my columns, but nothing outputText doesn't show. If I create a new table and just drag a the pallette outputText inside it shows either!

    Why didn't show in the non-databound table?

    see you soon

    How about using a panelStretchLayout then put a component in the end section, and one horizontal panel with the other three in the Center.

  • 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

  • How to display the data, that contains non-numeric characters.

    Hello

    I have table t1 with column of type varchar2 below

    ID

    ------

    11151

    11412

    1113

    1 to 114

    11b 15

    111 6

    Now, I need to display the data, that contains non-numeric characters.

    Did you get the result like:

    STR

    ----------

    1 to 114

    11b 15

    111 6

    WITH t
         AS (SELECT '11151' str FROM DUAL
             UNION ALL
             SELECT '11412' FROM DUAL
             UNION ALL
             SELECT '1113' FROM DUAL
             UNION ALL
             SELECT '1a114' FROM DUAL
             UNION ALL
             SELECT '11b15' FROM DUAL
             UNION ALL
             SELECT '111c6' FROM DUAL)
    SELECT *
      FROM t
      where regexp_like(str,'[^[:digit:]]');
    

    See you soon,.

    Manik.

  • 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

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

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

  • How to display data series changed after each step in labview gui, that is to say after the match point fantasy, after substring etc.

    Hi, I have a labview GUI that receives data serially through VISA and basically chops to the strings and realize games until I have values that I'm looking for. I have then convert Ascii string in decimal and feed the new values to a waveform. However, I discovered that some of the output values are incorrect. I checked this by pulling data through Realterm.

    Is it possible that I can see the modified data after each step in the user interface so that I can find where the problem is? I created indicators after each step, but they do not display data, I guess that its because the data is moving too quickly.

    I am very new to labview and struggled through every bit of this GUI, as none of you regular posters know. If you can suggest a solution, please know that I will probably ask more fundamental questions in order to implement your solution.

    I enclose my GUI with a screenshot of the same data through the Realterm. Basically any where you see xxxx TR TR or W xxxxW, know that it is the data between them is to say xxxx that corresponds to the data of interest. Everything else is ignored.

    I suspect that the problem lies in the string to decimal conversion and where 3 digit values increase to 4-digit values. That is, all values of less than 850 are correct but it is the maximum value is reached. My values are expected to reach 2500. Any help would be greatly appreciated.

    You have other debugging tools available to you.  You can use the run culminating to slow down the code and show you the data flowing from each wire.

    You can create a Subvi, which takes the data of each wire and written to a log file if you can review it later.

    You give not the screenshots to your message.

  • display data in a tabular format

    Dear Sir

    I followed the example on

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

    which really helped me to solve the problem of New York.

    now my data shows but its display twice.

    Here is my code to display data.

    for (int count = 0; count)< 4;="">
    {
    ranks [count] = new VerticalFieldManager(VerticalFieldManager.NO_HORIZONTAL_SCROLL |)
    VerticalFieldManager.NO_VERTICAL_SCROLL);
                
    Add 21 rows of data in the column
    displayData = this.split (data, ' |');
    for (rowCount int = 0; rowCount)< displaydata.length="" ;="">
    {
                
    SB. Delete (0, sb.length ());
    SB. Append ("data");
    SB. Append (Count);
    SB. Append (",");
    SB. Append (RowCount);
    SB. Append("");
    SB = String (displayData [RowCount]);
    displayData [rowCount] = sb.toString ();
                  
                    
    SB. Append (displayData [RowCount]); ((/ /, 0, rowCount); //displayData [rowCount]);
    SB. Append("|");
                  
    ranks [count] .add (LabelField (sb.toString (new), LabelField.FOCUSABLE));
    }
    Add the line to the rowHolder.
    rowHolder.add (rows [count]);
    }
            
    dataScroller.add (rowHolder);
    Add (dataScroller);

    Help, please

    Rgds

    Nadir

    I think that you find wil this code gives you better results:

    How - to create a presentation of the rich UI at TableLayoutManager
    Article number: DB-00783
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

    There is also a blog about this handler:

    http://supportforums.BlackBerry.com/T5/BlackBerry-Developer-s-blog/how-to-use-table-view-layout/BA-p...

  • Date failed, LOV in the search panel

    Hi all

    Weare on Jdev 12 c.

    We have use cases where the hiring Dates are LOV in query af search panel.

    the loading of the page, we need to display the last date of rental disc.

    I've been following this blog and he works for Integer(Department_ID).but if I'm even since the hiring Date of search results are the filling but rental Date LOV is reprogrammed not to hire later datei .e first record of LOV.

    Andrejus Baranovskis Blog: Dynamic value by default for the field in query ADF search

    When I run the browser BC and execution of the ViewCtritera I am according to the newspapers and null pointer exception hiring date is not in the list of LOV.

    Check the data type of attribute EO/VO.

    Default value is met if you remove LOV HireDate?

    If this is the case, then it is a problem of date comparison and as a workaround you can probably add new string attribute to your hand and lov your, something like: to_char (hire_date, 'a model'), attach lov and search by attribute (just remember to create functional indexes in db)

    Dario

  • Display data from another web application

    Hello

    I hope than to display data from my application 'team' on my 'articles' approx. basically display image of the author, email etc., which comes from the app TEAM. I know that this is possible.  I use the data of the src field extract the name of the authors, but of course this provides only a link. Are there tutorials - what can anyone tell me? Thank you.

    So does that mean as a concrete response by using the system of normal with BC, is tag that you insert this code for your team web app {module_webapps, 123456, i, {tag_author_id}} on your layout displayed products app page.  ID tag of the author is a field set up in the articles web app and a field of the data source to connect to your team application.

  • Display of an LOV element based on a condition

    Hello

    I have 2 Articles lov cascading.

    For example: 1 item: objects (such as jobs, the steps in the chain, the rules)

    2nd item: list of the selected object (list whole jobs, the entire step list)

    So based on 1 selected item, the list of available objects that "object" gets posted to the 2nd point.

    Now my question is,
    I wanted to have a 3rd item (the item name = string names (which is also in cascade lov)) so that is above 2 items that should be displayed string single step is selected in article 1. Otherwise this should be displayed at all.

    I created a page at end of www.apex.oracle.com test and the credentials are,

    http://Apex.Oracle.com/pls/Apex/f?p=71510:5

    User name: test

    Password: apex14gm

    In this page, I've listed the full report below for reference.

    As in the report, student MBA made hostel anywhere.

    If they choose MBA, hostelroom_location element should be hidden and it should be visible if they choose any other departments with the exception of MBA at the 3rd point.

    How can I achieve this?

    Pls help me... Its pretty urgent!

    Thanks in advance

    8f4692cc-040e-48EE-B102-590cdd4303fc

    We are a friendly bunch who wish to communicate with peaple not a bunch of numbers so if you change your to something more human and friendly Manager who would be much appreciated. Secondly, we are all this in our time free then message as urgent to people actually put off answering your question.

    Use a dynamic action with a show and hide the action.

    The element must be the P5_DEPARTMENTS.

    The affected item is P5_HOSTELROOM_LOCATION

    The condition for the action of true/false is MBA.

    For examples, see see hide it.

    Nicolette

Maybe you are looking for