Cascading LOVs (APEX 4.1) problem, using in report does not set values

Hi,
i am using APEX 4.1.0.00.32 and i have a simple report as
SQL:*
SELECT * from region
WHERE region like '%'||P3_REGION||'%'
and country like '%'||P3_COUNTRY||'%'
and city like '%'||P3_CITY||'%'
Items:*
P3_REGION:
select distinct region as d, region as r from region
Display Null value: YES
Null display value: - select -
Null return value: +0+
P3_COUNTRY:
select distinct country as d, country as r from region where region = :P3_REGION
Display Null value: YES
Null display value: - select -
Null return value: +0+
Cascading LOV Parent Item(s): P3_REGION
P3_CITY:
+select distinct city as d, city as r from region where country = :P3_COUNTRY
Display Null value: YES
Null display value: - select -
Null return value: +0+
Cascading LOV Parent Item(s): P3_COUNTRY
The LOVs work fine and the correct values are displayed if cascading through them
So in the last step i want to filter the report with the values that were selected in the lovs. And this i get not working.
I tried to add a button with SUBMIT of the page. After choosing values in all LOVs and clicking the SUBMIT button the page submits, alle LOVs are cleared (with value - select -) and the report shows all rows.
I tried to change the button to "redirect to Page 3" and setting the values P3_REGION, P3_COUNTRY, P3_CITY to &P3_REGION., &P3_COUNTRY., &P3_CITY. but without success.
I tried to use the setting "Page Action when Value Changed" to "Submit" and/or "Redirect and set value" for all Item LOVs and/or only the last item LOV, but then the cascade of the LOVs does not work properly and the report does not change too.
I am confused as i don´t know what i can do until now. I think this should be an easy requirement to limit/filter the report with values in the LOVs.
Furthermore it should be possible to choose only the region LOV and then limit the report with that region (without choosing country and city)
Thanks in advance!

Hi Dan,
thank you for your answer. I have the solution now from Kleber_M, this works.
Dan McGhan wrote:
1. Use bind variables in my query. It would look something like:
SELECT *
FROM region
WHERE region LIKE '%'|| :P3_REGION ||'%'
AND country LIKE '%'|| :P3_COUNTRY ||'%'
AND city LIKE '%'|| :P3_CITY ||'%'
This was only a mistake when writing the post, i forgot the colon. I use bind variables of course.
2. Make sure you have a comma separated list of item names that the report depends on beneath the SQL Query where it says Page Items to Submit. This will make sure that the value of those items on the page are bound into session state prior to the query executing.I tried this, too, but without success...
3. Use Dynamic Actions to perform the refresh action when any of the three items changes. This would be both more performant and a better experience for the end user than a full page refresh.How can i do this. This sounds good, because when refreshing the page often some items oder actions are done that i don´t want to.
Regards,
Matze

Similar Messages

  • When I try to open my Yahoo mail in safari, I get a message which states:" In order to use Yahoo mail, please turn Private Browsing off. Please go to Settings Safari Private Browsing, and turn off" The problem is my ipad does not a Private Browsing switch

    When I try to open my Yahoo mail in safari, I get a message which states:" In order to use Yahoo mail, please turn Private Browsing off. Please go to Settings>Safari>Private Browsing, and turn off" The problem is, my ipad does not a Private Browsing switchat this location.

    With iOS 7 on the iPad, you turn Private  Browsing on and off by tapping the URL field.  The screen that  opens up has your bookmarks on it.  In the bottom left corner is a hot button marked 'PRIVATE'.  Tap on the word 'PRIVATE' to turn private browsing on or off.  Yeah, there aren't any instructions anywhere that I can find to do this, and if you follow Yahoo's instructions, they don't work.  This doesn't happen with the previous Apple OS, and you can restore your iPad to the older OS. 

  • I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition????

    I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition. In order to have a GUID partition, it suggested I go to disk utility and make the change. I couldn't see the partition tabs in the disk utility application. So how do I accomplish the GUID partition?

    The problem is, reformatting the partition may require you erase the hard drive.   Normally Intel Macs are preformatted GUID.    The fact that yours is not, says someone who initially installed the system on your Mac did you a disservice.   Regardless, you should backup your data before you upgrade.  GUID formatted drives generally are not compatible with iBooks (pre-2006 consumer notebooks by Apple) Powerbooks, and PowerMacs, and iMac G5s.    So if you indeed have machine with the MacBook name on the screen frame, it was not properly formatted from the beginning.  

  • Field on manual tabular appears using Firefox but does not appear using IE

    Hello,
    A field in a manual tabular form appears correctly using Firefox but does not appear or appears in another field when IE is used. Javascript is used to hide certain columns on the tabular form. Does anyone know how to solve this problem?
    Thanks pany

    Prabodh,
    The select for the report and the javascript that is used to hide the columns are displayed below. The data for Apex_item.select_list_from_lov(12,null,'LOV_METHOD_OF_ACQ') is shown in the previous column, Date Acquired, and the column for Method Acquired is blank. It appears correctly in Firefox. Please let me know if this is sufficient.
    Thanks,
    pany
    SELECT
    apex_item.hidden(1, c011) status
    ,apex_item.checkbox(2,seq_id) checkbox
    ,apex_item.hidden(3, seq_id) seq_id
    ,apex_item.hidden(4,c001) Owner_Firm_Id
    ,apex_item.hidden(5,c002) Owner_Id
    ,apex_item.hidden(6,c003,10) First_Name
    ,apex_item.hidden(7,c004,10) Last_Name
    ,apex_item.text(8,c005,10) Number_Shares
    ,apex_item.text(9,c006,10) Percentage
    ,apex_item.text(10,c007,10) Class
    ,apex_item.date_popup(11,rownum, c008, 'MM/DD/YYYY',15) Date_Acquired
    ,apex_item.select_list_from_lov(12,c009,'LOV_METHOD_OF_ACQ') Method_Acquired
    ,apex_item.hidden(13,c010,10) Primary_Key
    FROM apex_collections
    WHERE collection_name= 'INTEREST_STOCK_COLL'
    AND c011 IN ('O','N','U')
    union all
    select
    apex_item.hidden (1,null) status
    ,apex_item.checkbox(2, null) checkbox
    ,apex_item.hidden(3, null) seqid
    ,apex_item.hidden(4,null,10) Owner_Firm_Id
    ,apex_item.hidden(5,null,10) Owner_Id
    ,apex_item.hidden(6,null,10) First_Name
    ,apex_item.hidden(7,null,10) Last_Name
    ,apex_item.text(8,null,10) Number_Shares
    ,apex_item.text(9,null,10) Percentage
    ,apex_item.text(10,null,10) Class
    ,apex_item.date_popup(11,1, null,'MM/DD/YYYY',15) Date_Acquired
    ,apex_item.select_list_from_lov(12,null,'LOV_METHOD_OF_ACQ') Method_Acquired
    ,apex_item.hidden(13,null,10) Primary_Key
    FROM dual
    Javascript
    function hideCols(p_startOfTable, p_pageList, p_debug)
              alert("in function");
              var outStr = "Blanking Script:\n";
    var debug = p_debug;
    var offCols = p_pageList.split(":"); //string comes in colon delimited, split it
    into array
    var tbl = document.getElementById(p_startOfTable); //get the table from the page
    html source
    var rows = tbl.getElementsByTagName('tr'); //get the first row
    var tds = tbl.getElementsByTagName('td');
    var testStr;
    outStr = outStr + "START tds length is " + tds.length + "\n";
    if (debug)
    alert(outStr);
              //START Clear Headers
    var i, j, cells;
    cells = rows[0].getElementsByTagName('th'); //get the headers
    for (j = 0; j < offCols.length; j++)
    cells[j].className = "hidden";
    outStr = outStr + "i is " + i + " HEADER rows.length is " + rows.length +
    "\n";
    if (debug)
    alert(outStr);
    //END Clear Headers
              //START Clear TDs
              for (i = 0; i < tds.length; i++)
    var attrib = tds.innerHTML;
    var gNum = attrib.indexOf(" name=") + 7;
    var colNum = attrib.substr(gNum, 2);
    colNum = parseFloat(colNum);
    for (j = 0; j < offCols.length; j++)
    if (debug)
    testStr = testStr + "\n" + "colNum is: " + colNum + " className is: " +
    tds[i].className + " i is: " + i + " j is: " + j + "\n";
    if (colNum == offCols[j])
    if (debug)
    alert("colNum is " + colNum);
    if (tds[i].className == "datepicker")
    if (debug)
    alert("caught condition with i= " + i);
    tds[i - 1].className = "hidden";
    tds[i].className = "hidden";
    tds[i + 1].className = "hidden";
    //add popupLOV functionality here
    //add radio button functionality here
    // add other items that may have multiple <td>
    else
    //regular hideCol
    tds[i].className = "hidden";
              //END Clear TDs
    if (debug)
    alert(testStr);
    //document.write(testStr);
    Edited by: PANY on Aug 12, 2010 8:25 AM

  • Just bought an ipad2 for my wife and d display is not as sharp as mine and it gets warm when in use and mine does not. Mine is 32gb and hers is 16gb

    Just bought an ipad2 for my wife and d display is not as sharp as mine and it gets warm when in use and mine does not. Mine is 32gb and hers is 16gb

    Bunzez-
    I agree.  Mine is 64gb, and the most warmth I notice seems to be where I was holding it.
    The result of excess heat would be that its battery would run down faster than it should.  With a full charge, it should run at least eight hours, maybe ten.  Someone mentioned that their iPad charge went down ten percent per hour.
    The iPad normally stays on all the time, and is put to sleep by pressing the Sleep button.  In the sleep mode, it draws extremely low current, so the battery does not run down for many days.  With yours in the sleep mode, does it still get hot?
    Regardless, I think the display problem is reason enough to take it to the Apple Store Genius.  If there is no Apple Store near you, look for an Apple Authorized Repair Center.  There may be one in your city.  In the US, <United States>.  Outside the US, <http://support.apple.com/kb/ht1434>.
    Fred

  • I have paid for the Mountain Lion. But for some reason, I cannot seem to download it, despite software being upgraded. Anyone facing this problem where the download does not begin? How can I solve this?

    I have paid for the Mountain Lion. But for some reason, I cannot seem to download it, despite software being upgraded. Anyone facing this problem where the download does not begin? How can I solve this?

    Make sure your Mac qualifies to run Mountain Lion >  Apple - Upgrade your Mac to OS X Mountain Lion.
    Try disabling anti virus software and turn off the Firewall in System Preferencs > Security & Privacy
    Apps such as Little Snitch and Net Nanny can prevent apps from downloading from the App store including Mountain Lion.
    Third party download managers are not compatible with the App Store.
    Keep in mind, for downloading Mountain Lion from the App Store, a high speed (broadband) internet connection is strongly recommended by Apple as noted here > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    If you need to reinstall OS X or repair the the startup disk using Mountain Lion Recovery, that requires broadband access to the internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the internet form Apple when OS X Recovery is used for reinstallation.

  • Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this?  FYI...under settings i

    Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this?  FYI...under settings i

    If you are missing using google maps - try the Nokia map app called "here"

  • Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this? FYI...under settings i have it set at "Use new precise locations from my device."

    Hi. I am using the iPhone 4S and when I'm searching for places using Google it does not automatically detect my location. How do I change this? FYI...under settings i have it set at "Use new precise locations from my device."

    If you are missing using google maps - try the Nokia map app called "here"

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • How can I use Bluetooth it does not detect others iPhone

    How can I use Bluetooth it does not detect others iPhone

    The bluetooth functionality on the iPhone is limited. It's basically limited to audio devices (headsets, for instance), although certain apps allow greater functionality. Search the app store for "bluetooth share"

  • HT1751 My win8 pc hard drive failed.  After the hard drive was replaced, I copied iTunes Media backupfiles from external hard drive (Karen's Replicator was used).  ITunes does not recognize the back up files - help! (it does show cloud & recently burned m

    My win8 pc hard drive failed.  After the hard drive was replaced, I copied iTunes Media backupfiles from external hard drive (Karen's Replicator backup software was used).  ITunes does not recognize these back up files even though the location is the same as cloud & recently burned music that does show- help!  The backup files consist of 34,000+ songs; almost all burned from my own CD collection.  I do have most of the songs on an ipod classic but hesitate to try to restore from that.  Can someone tell me how to get these 34,000 songs to show up in iTunes?  Thanks!!

    This diagram shows how a typical iTunes library ought to be set out (click on it to enlarge)
    The red outline highlights the media folder and its contents, the various subfolders are only created if that kind of content is in your library. The right-hand side shows the files that should be found in the iTunes library folder; sentinel is normally hidden so may not be visible. The core of your iTunes library is the file iTunes Library.itl, you need to restore this, the other library files and the Album Artwork folder, as well as the media folder, to restore your library.
    tt2

  • Cannot open install assistant.  I get this error message: The application cannot be installed due to a certificate problem.  The certificate does not match the installed application certificate, does not support application upgrades, or is invalid.  Pleas

    How can I downloade a trial of Adobe Elements 12? 
    I followed the instructions to download assistant...but get this message: The application cannot be installed due to a certificate problem.  The certificate does not match the installed application certificate, does not support application upgrades, or is invalid.  Please contact the application author.

    Hi alposer,
    Please remove the copy of the Adobe Download Assistant you currently have installed and then reinstall the Adobe Download Assistant.
    Regards,
    Rave

  • Use tax reports do not match

    Use tax reports do not match. One shows the GL account balance using FAGLB03 and the other is the use tax report S_ALR_87012394.  I need to use S_ALR_87012394 to determine the location of the tax and pay it but since it doesnu2019t match with the GL there will be issues.

    Hi,
    Under  these two cases i had found difference between vat reports and vat gl accounts.
    1) When the users are manual input the vat amount on the input invoice , resulting vat amount will be updated on the invoice and gl account BUT not the vat report.To find the these items go to the GL line item report and find the line items with BLANK VAT CODE.usually this will tend to use by the users when there are any rounding differences in the vat calculation. Also to avoid these cases hide the manaul vat amount field blank.
    2) When the users manually inputed the vat amount on the gl accounts, provided GL master are not checked with automatic postings only option.
    Best Regards
    Suresh Addagiri

  • How/ where can I download the newest version? Some of the games i used to play does not load now?

    where can I download the newest version? Some of the games i used to play does not load now?

    http://forums.adobe.com/thread/1195540

  • HT3702 I like to use my Itune card but take out my credit card info, that I will no longer use but it does not say (none) what do I do?

    I like to use my Itune card but take out my credit card info, that I will no longer use but it does not say (none) what do I do?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3. Tap on your Apple ID
    4.Tap "View Apple ID"
    5. Enter your user name and password.
    6. Tap "Country/Region."
    7. Tap "Change Country/Region"
    8. Select the region where you are located.
    9. Tap "Done".

Maybe you are looking for

  • Windows vista 64 bit won't recognize driv

    Hello: I am running windows vista 64 bit with 4 gigs of ram and I have loaded all the software that is on the cd and went to the website and loaded the 64 bit drivers but am having problems with the computer system not recognizing the camera or the d

  • Nokia Lumia 720 Screen Problem

    Hi,  My 720 Lumia keeps blacking out randomly from hours on end before the screen is back up and runnign again. During this time though the phone is still on and I get texts and calls ook, but the screen is still not on. I tried the restart method to

  • Multi-thread server with UD32

    Hi I have build server with -t for muli-thrread option, it boots fine too. When I use UD32 < file. ud it does not work. I get following error in ULOG. 103708.gdev!ProxSvr.26508.4.1: LIBTUX_CAT:6126: INFO: New server dispatched thread starting 103708.

  • Erreur -200479 pour la lecture de tension

    Bonjour, je réalise un module en visual basic qui doit commander un appareil de chimie via une carte PCIe 6341. Je veux envoyer une tension sur l'appareil est récupéré une tension en retour qui doit être enregistrée en fonction du temps. La tache TH_

  • Can't create iTunes ringtones for my iPhone

    I'm trying to create ringtones from my purchased iTunes music for my new iPhone, but when I try to create the ringtone, I get a dialog that states: *"In order to purchase ringtones, you must review and accept the iTunes Store Terms of Service. Click