Calculation for cutting the first part of the string in the Manager list item values

Hello

Please help me with a calculation after submit pl/sql function process for cutting the first part of the string (CQ.) within the values of list manager. For example the list manager support contains values such as

CQ... SAMPLE1... TEST1

CQ... SAMPLE2... TEST2

CQ... SAMPLE1... TEST2

The calculation process should cut the first part(CQ..) and must return to the list of values of Manager as

SAMPLE1... TEST1

SAMPLE2... TEST2

SAMPLE1... TEST2

Oracle APEX 4.0.2 is the version and Oracle 10 g r2 is the database.

Please help me with possible approaches in the development of the service. Thanks in advance.

Thank you

Orton

orton607 wrote:

But when I insert/update Manager list item values I don't want the first part of the string in the database.

I still don't understand why you can't change the LOV or create a new...

The LOV should be:

SELECT original_value  AS HUMAN_SEES_THIS_VALUE
    ,LTRIM (SUBSTR ( original_value, INSTR (original_value, '..') + 2))
      AS DATABASE_GETS_THIS_VALUE
FROM (
  -- place original SQL for LOV here
)

Tags: Database

Similar Questions

  • How to create the dynamic list item in the designer of Site Studio?

    Hi all
    I installed the Site Studio Designer(10gR4). The dynamic list item that I added in the region of contributor runs a query to search and display all the files in a particular folder. In Contributor mode when I try to add/edit the dynamic list item, it gives an error saying:
    Cannot perform the action for the following reasons:
    [+] Failed to retrieve search results. Failed to retrieve search results. Failed to create the result set of query ' SELECT IdcColl2.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, venture, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.* FROM IdcColl2, DocMeta WHERE IdcColl2.dID = DocMeta.dID AND (((xCollectionID > = 14 ET xCollectionID < = 14) AND NOT ((CONTAINS (xDontShowInListsForWebsites, '{DIPP_Sample}") > 0))) ORDER BY dDocTitle desc".) ORA-20000: Oracle text error: 10599-DRG: column is not indexed

    I activated the full text on the content server search and also included xWebsites and xWebsiteObjectType columns to be fully indexed in the fields Configuration.Is area it any other setting to do? Help, please.

    Thank you
    Nithya

    Hello

    Include the xDontShowInListsForWebsites also of the area filed and then update it. Then test it.

    It may be useful
    Srinath

  • The session-state item values are used is not in the redirection Page

    Hello
    I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.

    For the second button, I'm telling you "Redirect to Page in this application" on Page 17
    Place these items: P17_PERIOD
    With these values: & P7_PERIOD.

    P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.

    Any suggestions are greatly appreciated.
    Thank you
    John

    Johnny98 wrote:

    I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.

    For the second button, I'm telling you "Redirect to Page in this application" on Page 17
    Place these items: P17_PERIOD
    With these values: & P7_PERIOD.

    P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.

    Redirections are run in the browser using URL generated during page processing. This means that the redirect for the second button URL uses the value of P7_PERIOD is during the broadcast of the page, not as it is in session state after it is defined by the first button.

    The second button must execute a submit and branch to retrieve the new value of P7_PERIOD. If there are page accept treatment that should not be run when the user clicks this button, use a branch point before the execution of these processes (for example on submit: before calculating), or condition the process on the other buttons.

  • Cannot change PopUp LOV width and height in version 4.2.5.00.08. I change the values of 450 400 in the Popup list template values (Section of the window), but my function genList0_f07_$ _row (), retains the same settings. Is this a bug?

    Hello

    I use APEX 4.2.5.00.08 to my app.

    I have a region of reports, where I display a column set. A column is the column attribute "display as" the value 'Popup LOV (LOV based query).

    I press the button to retrieve the LOV, I get a popup of 450 x 400 pixels.

    I go to the side of the model and navigate to "Popup list of values of model", where I can see in the section 'Window' attributes 'Width' and 'Height' value 450 and 400. I edit them and save them and there is nothing going on. I'm sure that the template belongs to my selected theme.

    I saw in the HTML source code that is the called function:

    <!--


    function genList0_f07_$ _row)
    {
    w = open ("wwv_flow_utilities.gen_popup_list" +)
    « ? p_filter ="+
    "& p_name = ' + escape ('f07') +.
    ' & p_element_index = ' + escape ('0') +.
    ' & p_elem_id = ' + escape ('f07_0000').
    ' & p_form_index = ' + escape ('0') +.
    ' & p_max_elements = ' + escape ("") +.
    ' & p_escape_html = ' + escape ("") +.
    ' & p_ok_to_query = ' + escape ('YES').
    ' & p_flow_id = ' + escape ('114') +.
    ' & p_page_id = ' + escape ('100201') +.
    ' & p_session_id = ' + escape ('16021544706004').
    ' & p_eval_value = ' + escape ("") +.
    ' & p_translation = ' + escape ('NO') +.
    ' & p_lov = ' +.
    ' & p_lov_checksum = ' +.
    ' & p_item_id = ' + escape('-683997768') +.
    ' & p_column_id = ' + escape ('25022622060292812'),
    "winLov,"
    "Scrollbars = 1, resizable = 1, width =400, height =450"); "
    If (w.opener is nothing)
    w.opener = auto;
    w.Focus ();
    }
    ->

    I see that the values has not changed. I also connected and disconnected. I am inclined to believe that it is a bug of the APEX.

    The only solution I think is to replace this function, which is NOT ideal.

    Thank you

    Digital

    The parameters are generated only, nothing you can do about it because it does not use the model for these properties of the couple. Other things work fine for example the names of button or title window etc. I guess that, Yes, it is a bug. It's still there in the apex 5 too, I checked. The default values of the template do not match, the value in the generated code is always 400/450. So I guess it's pretty much a wait on 5.1.

    Here's a fun hack to make it work well on your page (works in apex 5 too, because the code is always the same). Put this in the execute on loading of the page section:

    (function(){
      var _open = window.open;
      window.open = function(){
        if ( arguments[1] === "winLov" ) {
          arguments[2] = "Scrollbars=1,resizable=1,width=500,height=700";
        };
        return _open.apply(window, arguments);
      };
    })();
    

    Change the settings to your liking. This will replace the existing window.open call, which is what the popup lov use and replace it with our own code. It does not interfere with other things. As the name of the new window is always "winLov" for the popup lov, it is the argument that is checked.

    During the call to window.open to open a new window with the name "winLov", parameters are replaced with your own version of it. The window is called as usual, using the stored reference.

    Edit:

    Yes, do not use the trick of resizing. My hack can be a bit tedious, but it's much less invasive for the end user (see open, bam, resize. "Even gets funky on multiple monitors). Also, this thing in the popup lov template will affect each lov popup that you use in the application, which is much less interesting than my specific page code.

    Edit2:

    I did a little digging in the source code, and I don't know why it does not work. Popup lovs are actually equipped to deal with it. My guess is that the parameters are recovered only after that the lists were generated, causing the package variables global to use their default values instead of model parameters.

  • Value not subject to the entry list of values on tab out if an exact match is found

    Hi all

    I use Jdeveloper 12.1.3 (Alta Skin). I have a model based on the input of component values list.

    If I enter the exact value and press tab, the value is always set to the value of the LOV first.

    The value entered is lost and always return the first value of LOV if an exact match is found. Eneterd value is not properly submitted to the server.

    How to present the value if only one match is at LOV released tab?

    Here is my code:

    < af:inputListOfValues id = "DepartmentNameId".

    popupTitle = "search and select: #{bindings." DepartmentName.hints.label}.

    value = "#{bindings." DepartmentName.inputValue}.

    label = "#{bindings." DepartmentName.hints.label}.

    model = ' #{bindings. " Required to DepartmentName.listOfValuesModel'} = 'true '.

    columns = "#{bindings." DepartmentName.hints.displayWidth}.

    shortDesc = "#{bindings." AutoSubmit DepartmentName.hints.tooltip}' = 'true '.

    contentStyle = "" text-align: left ""

    valueChangeListener = "#{DepartmentInfoListener.setNestNumValue}" >

    < f: validator binding = "#{bindings." DepartmentName.validator} "/ >"

    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " DepartmentName.format} "/ >"

    < / af:inputListOfValues >

    the value is always set to the value of the LOV first.

    This is usually related to missing key (or wrong) in display used by LOV object.

    Dario

  • How to display the list item values both from 2 different tables?

    Hello world.

    I have a problem for the display of the data.

    There are 2 tables in the database.

    Table-1 has lc_value, lc_no, lc_dt, and vendor_code columns.

    Table-2 has vendor_code, $vendor_name & vendor_address.

    I created the form where I display data in list item 30 (tabular presentation - 30 records displayed).

    I need to display all values automatically at the same time in the form just by clicking on "Enter_Query" and "Execute_Query".

    It worked when the form had fields in a table in a single table.

    I created fields in a table for tables; then created the relationship between the tables by using the join (vendor_code).

    But when I run the form, click on "Enter_Query" and "Execute_Query", its does not work.

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production.

    How can I do this?

    Help me.

    Thank you.

    Dear Bruno,

    Each provider code is to have a folder, then

    Why keep two tables?

    Why you want to update both the table at the same time?

    Master / detail means,.

    a master record depends on several detail records.

    Please, understand and try to build your form with single table.

    If you have already created 2 tables, then merge these into a single table.

    Or other wise keep table_1 as a database block and to vend_name as a data field (element of database in the palette of the property is set to 'no').

    Then go to the trigger of table_1 block post_query and write the following:

    Select vend_name in: vend_name from vendor_mst where vend_cd =: lc_vend_cd;

    In doing the above, the form will look as you wish but the change on the vend_name not to be saved because that is the point of no database.

    Other than vend_name all fields in table_1 will be recorded.

    Hope this will help.

    Post edited by: Priyasagi

  • Hide text conditionalized causes listed above show the additional list item

    So, I have a document I want to condition some sections for. It has section A which has a list of tasks in it followed by section B which also has a list of tasks. I want just condition section B so that it is not published, as the function what it documents is not ready yet.

    I've highlighted the section I want to condition and applies the condition (which brings us to the second problem of the no defined style not to State not displaying but that doesn't matter to the main issue).

    condition-visible.png

    Then I text show/hide conditional and set the condition to be hidden. Here is the result:

    condition-notvisible.png

    I now have an additional empty list item where I don't want one. How can I get rid of him?

    It seems that you did not include the end of the last task list paragraph mark in Section B. Which will cause the condition hidden marker inserted in the last paragraph numbered step.

    Compared to the selection of the brand at the end of paragraph in the last step:

  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

  • Refresh the report based on the select list item

    Hello world

    Someone has the answer to refresh a report based on an element that I select in a select list? I currently have the item in the list of selection and a report under him I wrote a sql that fills with data. If I choose an article in my select list, I want to change the data in my report. What I have to write separate sqls for each item to be fired or write some type of process. Can someone help me?

    Thank you
    Ryan

    Write directly in the SQL report. Your select list item will be the variable in the SQL.

  • Remove the digital list item

    Let's say I have a numerical list like this.

    MYLIST = "1,5,11,17,19."

    Now I need to remove just 11 of the mylist. (delete_value = 11)

    How can I remove the mylist delete_value

    Its like the opposite of ListAppend?

    So I need the new list to be ("1,5,17,19")

    That UDF should do the trick.

    --

    Adam

  • Upgrade processor for Optiplex320: the complete list of the processor

    Hi, I have Optiplex320 with 0MH651 motherboard, is there any list compatible processors on this motherboard procssor

    No, there is no list.  Its basically the same thing for 320 520 620 max being Dual Core Pentium D.  CPU LGA 755.

    Versions of 130W unsupported except minitower.  Yes Pentium D 915 2.8Ghz max as long as you have the performance radiator copper.  BIOS must be updated to the latest version before trying new CPU.

    http://www.Dell.com/downloads/global/products/Optix/en/opti_320techspecs.PDF

    Radeon CHIPSET ATI Xpress 1100 Chipset professionals®

    PROCESSOR
    Intel® Pentium® D 800 MHz FSB Dual Core technology XD, EM64T, (900 series)
    Intel® Pentium® D 800 MHz FSB Dual Core XD, EM64T, (800 series)
    Intel® Pentium® 4 800 MHz FSB, XD, EM64T, (600 series)
    Intel® Pentium® 4 800 MHz FSB XD, EM64T, (500 series)
    Intel® Celeron® D 533 MHz FSB XD and EM64T (300 series)

  • Vertical scrolling on cutting the text list

    Hello

    I try to use the control mx component List. I have 10 points to the poster in the list and I put the number of rows to 5. When I run the application I can see the vertical scroll bar, but then it clips rare characters in the longer text. I don't want the horizontal scroll bar, I disabled it.
    Is there a way I can stop écrêtent horizontal text?

    Thank you!

    "rtalton" wrote in message
    News:gk7ud1$HRE$1@forums. Macromedia.com...
    > Well, you're right. The wordWrap property is set to false by default on
    > Lists. Just change it to TRUE and're you good to go (wordWrap = "true").
    > Or stop using funny Latin words?

    Or place the verticalScrollPolicy to "on".

  • Links e-mail and filters - the wish list items?

    Compose an e-mail containing a link does not support stable link until the message is saved or sent to the car. This limitation is known to be intentional in the documentation. However, in the good old Eudora, press a hot key while clicking on a link in an email being composed active link for the optional test right then and there. Saving time very practical.

    Filtering of incoming emails via Tools/Message filters works, but requires many unnecessary steps to create a new filter. In good old Eudora, with an open incoming email or in the preview pane, the mouse option to 'Make the filter' opens a filter window using the e-mail address to propose the filter to use or replace, options that ends with a "Create filter" button. So the first time, you get an e-mail from a friend who deserves a filter allows you to filter all future emails boyfriend as you like - while reading that first email in the mate. Tremendous work saver and eliminates the need to remember the process of creating filter separated necessary in T-Bird.

    I'm a new user, so please let me know if I missed some useful options. Also I would like to know if it is a list of wishes that would be better directed elsewhere. Thank you!

    'Dead links' are a basic 'feature' of the Thunderbird editor and is not likely to change anytime soon.

    You can right click on an email address in the message header pane and choose "create filter from. This will start the construction of a filter with 'Sender' "is" and informed selected e-mail address.

    An add-on, QuickFilters, introduced a process of construction of drag-and-drop filter.

    http://quickfilters.mozdev.org/index.html

  • To access the data of the trigger list item

    Hello

    I started developing on the Blackberry this fall. I like a lot more on Android and Java development, but am really interested in getting on learning stunts and QNX architecture.

    I wanted to take the child node in the following XML file (from the Documentation):

    
        

    Here is my list:

    ListView {
                    dataModel: XmlDataModel {
                        source: "data.xml"
                    }
                    onTriggered: {
    
                        if (indexPath.length > 1) {
                            var chosenItem = dataModel.data(indexPath);
                            var contentpage = itemPageDefinition.createObject();
    
                            contentpage.itemPageTitle = chosenItem.name
                            contentpage.phoneNumber = chosenItem.phone.number
                            nav.push(contentpage);
                        }
                    }
                    accessibility.name: "Listing"
                }
    

    I put phoneNumber as an Alias in the QML file that the application is intended to be sent.

    the chosenItem variable is a variable of XmlDataModel made from a contact form we have clicked on that, but I have no idea how the child of this body of the access code. I should do data() once again, or is there a much more direct way from words to action?

    Thank you in advance for the help,

    Sorry, the answer I gave was not for a XmlDataModel, between the XML and by default displays only the first two levels.  Other levels is available via the datamodel, but not returned as the selected item.

    To get to a different level to get the phone number you may enter a value of something like this:

    //First phone number
    dataModel.data([0,0,0]).number
    
    //Second phone number
    dataModel.data([1,0,0]).number
    

    The row you get will look like [0,0] or [1.0] because it is not crossed to the third level.  You will need to do a little analysis, take the first value of the row and the replacement of the first value that I've hardcoded above.

    Have a look at the diagram on the page of response to selection .  Which will help you understand what is happening behind the scenes here.

  • eliminate null values from the popup list item

    Dear all,

    I have create a contextual list at run time, it indicates a value empty nowhere among the values that I said while the drop-down list box is not.
    I want to eliminate the value null empty in the pop-up list.
    Need help.

    Thank you and best regards.

    Muhammad,

    Try the following code. I just gave a name to the field 2nd in the record group and first assigned default value. And his works fine.

    PROCEDURE Department_proc IS
         RG RECORDGROUP;
         n  NUMBER;
         GC_ID     GROUPCOLUMN;
    BEGIN
         Remove_Record_Group('RG');------ this is another procedure which checks for Record group existance and remove it.
         RG := CREATE_GROUP_FROM_QUERY('RG4', 'SELECT NAME, TO_CHAR(DEPT_ID) DEPT_ID FROM TAB_DEPT_SECTION
    UNION
    SELECT '||'''All Departments'''||'AS NAME,'||'''0'''||' AS DEPT_ID FROM DUAL');
         n := POPULATE_GROUP(RG);
         POPULATE_LIST('control_block.department', RG);
      GC_ID := Find_Column('RG4.DEPT_ID');
      :control_block.department := GET_GROUP_CHAR_CELL(GC_ID, 2);
    END;
    

    Kind regards

    Manu.

    If my response or response from another person was helpful, please mark accordingly

Maybe you are looking for