Problem with the selection list dynamic LOV using bind variables

I have the following SQL to fill a selection list:

Select d, ch from
(
Select ft. FAMT_NAME d, pi. R FAM_ID_T of FAMILY_TRA ft
Join the ck list
on ck.family = ft.famt_name and ck.newseq in (: NEWSEQ_QUERY_SQL)
)

Where NEWSEQ_QUERY_SQL is a part of the application that is defined by a calculation of page and essentially returns a list of values NEWSEQ based on some parameters of the user query. For example:

Select distinct (ck.newseq) in the ck list where rownum < 20

The query above works fine with SQL Developer and returns two columns needed (display_value, return_value)

However, it returns no line, when it is used to fill the LOV to a selection list.

If I replace the: NEWSEQ_QUERY_SQL with a list of NEWSEQ hard-coded, it works:

Select d, ch from to)
Select ft. FAMT_NAME d, pi. FAM_ID_T r
of FAMILY_TRA ft join checklist ck on (ck.family = ft.famt_name and ck.newseq in ('K0242900', 'K0217200'))
) ;

I can even replace: NEWSEQ_QUERY_SQL with hard-coded SQL and it works:

Select d, ch from
(
Select ft. FAMT_NAME d, pi. R FAM_ID_T of FAMILY_TRA ft
Join the ck list
on (ck.family = ft.famt_name and ck.newseq in (select ck.newseq from the list ck where rownum < 20))
)

But if there is a connection variable (: NEWSEQ_QUERY_SQL), it doesn't.

Selection lists are driving me crazy! They seem incredibly capricious.

Hello:

You cannot link a "sql statement" that bind the value you're trying to do.
P2_FAMILY_LIST must be the SQL statement you executed for the LOV. Something like

select d, r from
(
select ft.FAMT_NAME d, ft.FAM_ID_T r from FAMILY_TRA ft
join checklist ck
on (ck.family = ft.famt_name and ck.newseq in (select ck.newseq from checklist ck where rownum < 20))
)

CITY

Tags: Database

Similar Questions

  • I have a problem with the installation of ADOBE ILLUSTRATOR using creative cloud. It gives me:

    I have a problem with the installation of ADOBE ILLUSTRATOR using creative cloud. It gives me:

    Exit code: 117

    -------------------------------------- Summary --------------------------------------

    -fatal error 2, 0 error (s), 0 warning (s)

    FATAL: Fatal Error ' 117' occurred in download

    FATAL: An error has occurred in the download package (name: AdobeIllustrator19-Core Version: 19.2.0.111). Error code: '117'

    -------------------------------------------------------------------------------------

    N ° 1)

    Click on the below link, Sign In and open Photoshop Elements download link.

    Do not close the page, just keep it open.

    https://www.Adobe.com/cfusion/TDRC/index.cfm?product=photoshop_elements

    Note: * If we do not keep the page of items in Photoshop, we will have access denied error message when file downloading install direct.

    Then click on the link below and download the installer directly mentioned in step 2.

    Step 2)


    http://prodesigntools.com/trials3/AdobeProducts/ILST/19/Win64/Illustrator_19_LS20_win64.7z

    Step 3)

    Unzip the installer using 7zip or winrar and then install the product.

  • Anyone who has a problem with the system crashes when importing using the new interface to import

    Anyone who has a problem with the system crashes when importing using the new interface to import

    Can specify you what Adobe program you use so that we do that your post is in the right forum?

  • change the results of the report with the selection list using dynamic action

    This is one of those situations where if I could understand the appropriate search terms to use, someone else must have asked this question in the past.

    I have a report with a SQL query with a condition based on a list of selection on the same page. So I have a list of selection -: P177_FISCAL_YEAR

    My request for my report is:

    Select md_id, display_name, description
    of media_tbl
    where fiscal_year =: P177_FISCAL_YEAR

    When a person makes a selection on the selection list (: P177_FISCAL_YEAR), I would like to report up-to-date without having to submit the page. I was hoping that I could do something like this using a dynamic action but have not found a way to do it.

    Thanks in advance!

    John

    Create dynamic Action:

    When
    Event: change
    Selection type: product (s)
    Article (s): P177_FISCAL_YEAR
    Condition: - unconditionally.

    Real Actions (add 2 real actions)
    -the first is to load the value in session state so that the report can see.
    Sequence: 5
    Action: execute the PL/SQL Code
    Code PL/SQL: null;
    Items to submit page: P177_FISCAL_YEAR

    -the second to refresh the report
    Sequence: 10
    Action: Discount
    Selection type: region
    Region:

  • problems with customization select lists and popup LOVs

    Hello


    I have 2 problems on selection lists and popup LOVs.

    The first is on a list in tabular form.
    It must be created with APEX_ITEM. SELECT_LIST_FROM_LOV or similar and take its values of a named LOV.
    This worked fine, but now it should also have the possibility to enter a free value.
    I tried to accomplish this by creating an APEX_ITEM. POPUP_FROM_LOV, but there is a problem with the function which is called the icon of the right arrow to the input field (for eg. genList_f11_5()).
    If the line is added by addRow, then it works fine, but if the line is not empty
    Then the function call is as genList_f11_$ _row () and the input field becomes worthless, when an LOV is selected.


    The other problem is on a list of selection that should have the opportunity to enter a custom value and
    It should also be able to select multiple values. I tried to implement this in a text box that contains the selected values, and a multiple select list, with an event handler in each option. The user can click on options and they would be copied into the text box. The problem is that I couldn't make the event handler works in Internet Explorer.

    I would like ideas on one of these problems.



    Tiina

    Hello

    It can be created at APEX_ITEM. TEXT.
    APEX_ITEM also generates the name attribute that I use the jQuery selector in the sample.
    Use jQuery UI autocomplete just similarly as in my example with APEX_ITEM

    Kind regards
    Jari

  • Development of the selection list after refresh using jQuery

    Hi all

    I have an Express Application 4.1.1.00.23 application that runs on a server, Oracle 10 g R2.

    In the application, I have a page (suppose it to be Page 10) that has a drop down (let's call it P10_PARENT). Next to the dropdown menu, I have a button that when clicked opens another window popup with page 11. This 11 page is used to create many of the points listed by the P10_PARENT drop down. When enter us the data P11 and click OK, we have a javascript to call a process application that creates the object in the database. Now select the P10_PARENT list is updated to reflect this new object. So after the application process is running, the JavaScript on the Page 11 calls a function in Page 10, using window.opener.functionName. This Page 10 function performs an apex to help refresh

    $('#P10_PARENT').trigger('apexrefresh');
    

    This function returns the Page 11, the page is closed using the Window.Close ().

    It works fine up until this point. Now, there are also by default the value selected in the select list of the newly created object. We made a function for it. But he calls immediately after the outbreak of the updating of the apex does not work because he probably did not updated the list since the back end still.

    Therefore link us an apexafterrefresh event to this element and making the default here. Like this:

    $('#P10_PARENT').bind('apexafterrefresh',function(){
      setdefault('P10_PARENT',newCreatedObjVal);
      alert('Refresh completed!');
    });
    

    But this event does not seem to be triggered. I've tested in IE and Chrome. In Chrome, it started once, but never after that.

    The relevant code on page 10 looks like this. The refreshBusList function is called Page 11 with the value of the newly created object.

    function refreshBusList(pDefault)
    {
      newCreatedObjVal = pDefault;
       $('#P10_PARENT').trigger('apexrefresh');
    }
    
    $('#P10_PARENT').bind('apexafterrefresh',function(){
      setdefault('P10_PARENT',newCreatedObjVal);
      alert('Refresh completed!');
    });
    

    I would like to know what we're doing wrong. Is it still the right way to do it? I can't use dynamic actions here because the logic of javascript page is too complicated be properly implemented using the declarative logic like DAs (we tried once and had to leave after a week. has become a nightmare to manage).

    Any help would be much appreciated!

    Thank you!!

    Aalami

    What does setDefault? Have you tested this feature by running it from the console? It doesn't have the required behavior?

    Can what newCreatedObjVal value contain? What is an object? A string?

    Are you sure that the selection list is updated?

    I would also like to rewrite your refresh logic. On the one hand, you declare a variable of global scope: horrible! There is no need of it. You can also control refreshing after a little better by simply acting on it once.

    function refreshBusList(pDefault)
    {
      // not really necessary. But use "var" to declare scoped variables!
      var newCreatedObjVal = pDefault;
    
      // bind a one time afterrefresh event handler
      // then, trigger the refresh
      $('#P10_PARENT')
      .one('apexafterrefresh',function(){
        setdefault('P10_PARENT',newCreatedObjVal);
        alert('Refresh completed!');
      })
      .trigger('apexrefresh');
    }
    
  • Problem with the so-called calendar LOV...

    Hi all

    I have a problem with the calendar LOV. Normally, since there suppose to act like a LOV must not cause any trouble during his appeal on a required field (or pass through his WHEN_VALIDATE_ITEM trigger). Still its giving me an error message saying that the field must be entered. I want to be able to call the calendar when you perform an insert (so the field is empty) and put the date selected in the field.

    I also want to do it by using a button (next to the date field) to show the calendar. Now I used the DO_KEY ('LIST_VALUES') command to call the Key_listval trigger (as shown in the demo), but it seems like its works really well. Any ideas on this subject would be apreciated.

    I use Oracle Froms 10 g and I followed the instructions in the PACK of DEMOS for the FORMS 10 g (on this site) to build the calendar.

    Thanks in advance!

    If you are talking about the "so-called" Lov calendar implemented using forms-objects (blocks, etc.), you will have the problem with the elements required for the calendar will assign a GO_BLOCK that causes validation to occur, which will fail on the need for article.

    Solution?

    If you're on 10G, theres also an example with a java bean.
    If the 6i, you could create a standalone implementation of the Agenda-lov-features and make a call_form instead of a GO_BLOCK.

  • Problems with the WEB BROWSER blackBerry Smartphones, use not wifi network to open some Web sites

    Hello I'm owner of BB BOLD 9900 OS 7.1... for the last two days I am facing a pretty annoying problem with the BB browser.

    It means not affects the device... it just annoys me.

    When I TURN ON my WiFi on my BB with the network carrier Sim already homepage active who has a Active on it and open the web browser BB, according to the website on which I open the web browser chooses between the internet Wi - fi OR internet BIS carrier which is weird. BECAUSE a default if the wifi is enabled, then the web browser MUST use internet wifi network carrier for navigation. YOU TUBE, FB and TWITTER.com all use my carrier netwrok to open bt soon I open BBC.com or CNN or any other site the wifi symbol appears on the right side and so it uses the wifi network... and disappears when I opened THE 3 SITES you tube FB n twitter.

    My knowledge is that when you activate THE wifi network, the WEB browser is intended to USE the wireless internet, NOT the internet carrier

    The next time I switchd off the the carrier signal, and then Turned ON one internet WI - FI and then opened the web browser of BB. so now all the opend website with wifi internet bt as soon as I open YOU TUBE or FB or TWITTER.com it post a comment... .that cannot visit the web page when the carrier is off. Please turn on the radio n try again... I mean IT SHOULD OPEN with internet wifi? WHY do network carrier sim to open the web page?

    I have checkd my browser settings and they are default and also my wifi settings I have reset the... the problem still persists?

    any idea wats going on?

    Please help is needed I'm annoyed about this problem...

    Thank you

    MR. KIWI... Good news... .i went to my carrier service center... Solvedo Problemo!

    Go to your service books and remove directories of service WAP browser in all directories of service WAP 3 I don't know the exact name, but all are related to the browser... WAP config something like dat... Just remove dem... .and HARD restart your fone... and try to use only wifi on your device with your carrier network off...

    mine worked... Let me know on urs... so now, the browser uses my wifi instead of my network provider when both are running...

  • We get an error "there is a problem with the device' while trying to use it on the computer of Windows 8

    Sir... my model of computation used is ASUS Q500A and I also have the problem with my may even of them I also perform step u said in this forum, but may not work... my Windows I have used is windows 8. Please help me tnx

    Separated from -.

    https://answers.Microsoft.com/en-us/Windows/Forum/windows_8-hardware/getting-an-error-theres-a-problem-with-your-camera/9c494984-1178-4C3F-884c-80ac750d3fa6

    Hello

    Thanks for posting your query in Microsoft Community.

    This problem is usually caused due to hardware or driver related issues. I suggest you try to install the latest drivers for the camera on the Asus or Windows Update site and check if it helps.

    If the problem persists, then it would be better to contact Asus for more help on this issue. As this could be a problem with the hardware as well.

    Support from Asus: http://www.support.asus.com/

    Please do not hesitate to visit our Web site for any help with the Windows operating system.

  • There seems to be a problem with the soft ware.  We use the CS6 for Records services and when we try to save the record, part of the record is stored. The record to be saved as an mp3 file is 70 to 100 KB but recently only 3 KB are generally

    There seems to be a problem with the software.  We use the CS6 for Records services and when we try to save the record, part of the record is stored.  Usually the recording to be saved as an mp3 file is 70 to 100 KB but recently only 3 KB are recorded.  What should I do to fix this?

    You may need to reset your preferences of hearing files stored in C:\Users\"username"\AppData\Roaming\Adobe\Audition\5.0. If you rename this folder in 5.0.bak that hearing won't find it when you open the next time if it will recreate a new settings with the default settings folder. See if hearing then works as expected.

  • Problems with the selections in cs5

    Hey, recently I started noticing odd behavior that's not happened before involving selections in photoshop cs5.

    the first thing I noticed, when I made a selection with the lasso on any given layer and hit transform, the tool only has not automatically select active pixels as it did before. Instead, the processing area was around the entire selection, I did even if the borders do not contain active pixels. It is a very big problem for me because when I have my items in a certain place, and I want to turn them in this position, thay move somewhat because the selection is not limited to the shape. I was wondering if this is some new CS5 that can be changed. or old function that I've accidentally switched on.

    My second problem is that when I make a selection with the Selection tool or the lasso tool, then I swiitch on the move tool to move the selected content and then switch back to a selection tool to delete only a part of the previous Thatcher so that I can spend the rest of the content, place of deselection of this region, it erases the pixels contained in the deselection. and I just want to remove the selection, do not delete the pixels. I also wonder if it is a function that can be modified or if I have a big problem.

    Any help will be much appreciated.

    AD 1)

    A solution might be to switch to the tool move and press the left and right arrow in the order.

    AD 2)

    One solution might be to enter and exit quick mask by Q hit twice.

  • Problem with the bucket of dynamic tool...

    Hello! I have problem with the bucket of dynamics. I can't go to a specific place I want... I wan't to the color of dog is responsible, but I can not do...

    See the problem of the screen:

    Untitled-1.png

    I know that in this error table is explanation of what I do, but I do not understand what I do, why I just can't color as in photoshop with the bucket tool or otherwise...

    You have several live paint groups. You must combine painting live several groups to 1 group. Click on the button "Merge live paint" in the bar at the top of the screen control.

  • Problems with the game of dynamic recordings and pagination menu display options

    Hi hope someone can help on this - I posted the code on the Backend FoEd burn - takers unsuccessfully again.

    I created a work using DWCS3 page that has a dynamic dropdown filter the 'countries' jobs are located in.  When I introduce a Recordset page that countries associated with employment on the page in question can be found in the dynamic menu above, not all countries listed in the database. When I get to the second page of results - yet - just the countries of these jobs are listed in the menu (and not the previous pages/next pages as well).

    I would like a user to select from the menu of countries available for all jobs in the database and not only those of the page.  Any ideas?

    A similar strain - my country menu/filter is wrapped in a shape on top of the list of jobs.  The loading of the page, only the search and menus appear.  No jobs appear until I have click on submit.  Is it possible to have all the jobs to display on first load, then the filter search/menu work on the jobs posted. I tried to change the variables on the search to 1 between-1 and other options but I can't seem to get a page of content on the first charge.

    I really appreciate guidance on what precedes, that this would help solve the last phase of my project. The full post and the code can be seen on the site under the burning of backend friendsofed.

    Thanks in advance.

    Matt

    I'm still stuck on getting the page to load with real content, however.  I'm just the search box and country filter displaying on the first charge.

    Pages 584-6 explain why you get nothing during the first loads a page. Dreamweaver sets the default value-1. The problem with trying to change the default to a string empty or % is based on security that Dreamweaver, GetSQLValueString() passes an empty string to NULL and wraps % quotes, then neither will work.

    Show all records when the page first load is to create another recordset that selects all of the records. Wrap the code in a conditional statement that checks if the array $_GET contains all values:

    if (!$_GET) {
      // recordset to retrieve all records here
    }
    

    This means that you need two repeat regions to display the results. Wrap both of them in conditional statements:

    if (isset($fullRecordsetName)) {
      // display the full recordset
    } elseif (isset($searchResultsRecordsetName)) {
      // display the search results
    }
    

    You must encapsulate the mysql_free_result() statements in the conditional statements at the end of the page:

    if (isset($fullRecordsetName)) mysql_free_result($fullRecordsetName);
    if (isset($searchResultsRecordsetName)) mysql_free_result($searchResultsRecordsetName);
    

    Another way to do is to use a single set of records, but divided the SQL query into two sections:

    $query_RecordsetName = "SELECT * FROM myTable";
    if (isset($_GET['searchTerm')) {
    $query_RecordsetName .= sprintf(" WHERE searchTerm LIKE %s",
         GetSQLValueString("%" . $colname_RecordsetName . "%", "text"));
    }
    

    This example uses the concatenation operator combined to add the WHERE clause to the query if $_GET ['searchTerm'] has been defined. Note that you need a space before the 'WHERE '.

  • problems with the placement of dynamic stamps on javascript

    I can place a stamp with:

    this.addAnnot ({page: this.pageNum, type: 'Stamp', AP: 'Project', rect:[144,72,144,72]});})

    everything works fine, but if I change the static a dynamic stamp stamp (for example, approved with name and date), I only get a black rectangle with a cross inside.

    I checked the name of stamp to choose the right pair. As I said before with static stamps without problem.

    I use the XI Version of Acrobat 11.0.11

    Any hint of what goes wrong?

    Thomas

    This occurs when you use the wrong value of AP, which is not the same as the name of the stamp you see in the stamps palette.

    The best way to get the correct value of AP is to apply the patch manually, then select it with the mouse and run this code in the console:

    this.selectedAnnots [0]. AP

    Then use the value that is printed in your code.

  • Hi, problem with the selection and processing

    I'm having problems with re-sizing any shape using the Selection (V) tool. It did not work properly, I don't know how it has stopped working. Is it possible to fix this?

    Thank you.

    Navid

    Navid,

    Display > display the bounding box?

    CTRL / Cmd + Shift + B to toggle between Hide and Show, one of the regular keyboard mishits.

Maybe you are looking for

  • I use FireFox for internet. Do I still need IE?

    I read that they are is no longer up-to-date IE? Not sure that article online was legitimate or not... Nevertheless, I spent to use FireFox as a main source to browse the WWW. Is it possible to uninstall IE or is it too integrated with other programs

  • Problems with HTTPS access site after upgrading to FireFox 30.0

    I have problems to access our HTTPS Corporate sites after upgrade to FireFox 30.0 of the Mavericks MAC or receive an error message "user not authorized" or the page does not load. I was able to access Web sites mentioned above when you use 29,0 FF. I

  • Satellite C660: How to turn off the zoom of the touchpad on/off function

    My Satellite C660 zooms pages Web etc. in & on the touchpad mouse.I tried to get used to but its been a year & I had to buy a wireless mouse that I can get along with it. Can I turn off this feature so the Mouse touchpad don't zoom in & out everythin

  • The HDD U940 - 12 c - partition SSD satellite configuration-

    Hello. I have a Satellite U940 - 12 c, really niiiiiice netbook but I have some problems with the operating system and the initial Setup. Finally, I got the free Toshiba Recovery DVD (as it was not my fault, but a software one), but now I have a mess

  • Small blue wavy lines on pictures taken with the iPhone

    These blue wavy lines appeared when I take pictures with my front & rear in front of the camera of the iPhone 6. They have always been there and there doesn't seem to be any damage to one of the glasses. I know that they are small but are easily noti