Filtering a Report on the active record of another Report on the same page

Hello,
I have a Form and Report on the same page in an APEX app. The interactive report is used for sorting/filtering etc. and the Form is used to present the data for one record at a time, as well as allow updates in selected fields. This was done using the wizards, the little 'edit' button is clicked to change the form to the selected record.
I also have (or want to have) a second non-interactive report on the page, which displays some records based on the record of the main report that is currently selected and appearing in the form.
I tried doing a simple 'SELECT fields WHERE link field is equal to main report', but it always says no data found.
Basically, I need to be able to have a query for the second report that says 'SELECT these fields WHERE the site is equal to the site currently being displayed in the form'.
When the little pencil/paper 'edit' button is clicked on a report, does this set some ActiveRow or something like this that I can use to filter the second report?
As you can tell from this post, I am in my database skill infancy, and any literature/pointers on how to achieve this (outside of MS ACCESS...) would be appreciated.

Okay, I have somewhat got my head around Column Links, and have put the key link field into the URL:
The value is P4_MDF, and in this URL example it has taken the value of 'WLAH01'
f?p=880:4:3924084145794812::NO::P4_MDF,P4_ESA_CODE,P4_SITE_NAME:WLAH01%2CWLAH%2CWYRALLAH
Now I just need to work out how to use this value in the URL to filter the classic report.
I have used this query:
SELECT *
FROM
"MACHINE_INFO"
WHERE CCP = :P4_MDF
As CCP in the report im trying to filter is the same as MDF in the IR that I am clicking the Column Link
This is the Debug for the 2nd 'filtered' report (which filters everything)
0.09: show report
0.09: determine column headings
0.09: parse query as: EXPAT
0.09: binding: ":P4_MDF"="P4_MDF" value="WLAH01"
0.09: print column headings
0.09: rows loop: 15 row(s)
I'm slowly getting the hang of this, any assistance would be great!

Similar Messages

  • [svn] 4171: Nested exception handlers in an instance method: fix arg0 ( the activation record).

    Revision: 4171
    Author: [email protected]
    Date: 2008-11-23 18:09:10 -0800 (Sun, 23 Nov 2008)
    Log Message:
    Nested exception handlers in an instance method: fix arg0 (the activation record).
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/adobe/abc/GlobalOptimizer.java

    Revision: 4171
    Author: [email protected]
    Date: 2008-11-23 18:09:10 -0800 (Sun, 23 Nov 2008)
    Log Message:
    Nested exception handlers in an instance method: fix arg0 (the activation record).
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/adobe/abc/GlobalOptimizer.java

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • I updated my Iphone 3gs to 6.1.3 after that I am having this message "Your iPhone could not be activated because the activation server is temporarily unavailable." "The SIM card inserted in this iPhone does not appear to be supported"  plz help me! what s

    I updated my Iphone 3gs to 6.1.3, after that m having this message:
    "Your iPhone could not be activated because the activation server is temporarily unavailable."
    "The SIM card inserted in this iPhone does not appear to be supported"
    plz help me! what should i do now?

    You had a jailbreak and unlock.
    When you updated you cooked it.
    Your phone is done.
    Time for a new one.

  • Dear Customer Service Team,  I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I

    Dear Customer Service Team,
    I bought a twelve-month Dreamweaver CC program with monthly payment that I have paid via bank transfer and there would be a question about the activation. How could I get the license key with which I can activate my account? I can not find it and now I only have access to the trial version.
    Thank you for your help in advance.
    Kind Regards,
    G. Zsolt

    There is no serial number require for Creative Cloud products, you may activate the products using your email address and password which is associated with Adobe. If your Dreamweaver asking for serial number, then make sure you are signing in with correct email address.
    You may also refer below link
    Sign in, activation, or connection errors | CS5.5 and later

  • 2 errors: "Your iPhone could not be activated because the activation server is temporarily unavailable" and the sim says "searching" while iTunes says there is "No Sim installed" - but of course, there is! Any help please??

    2 errors: "Your iPhone could not be activated because the activation server is temporarily unavailable" and the sim says "searching" while iTunes says there is "No Sim installed" - but of course, there is! Any help please??

    Hi Peter,
    Thank you for the note - I have seen similar replies on other posting errors and I see how that could make sense. The thing is, my iPhone is not jailbroken - it is from an authorized distributor. However, when I told them about the "no service" problem on the sim, they were unable to assist. Then my phone messaged that an itunes restore was required - so I did that, several times, to the error message now noted on my post. I wonder if there is some other way to over-write this message? Thanks very much.

  • HT4623 i'm updating my iphone 3gs but i get to the activation point and it tells me the activation server is temporarily unavailable and i keep trying .i'm worried to loose some of the memo

    i'm updating my iphone 3gs but i get to the activation point and it tells me the activation server is temporarily unavailable and i keep trying .i'm worried to loose some of the memo? please advice

    That's almost always because the phone was hacked or jailbroken to unlock it.

  • My Macbook 4,1 came with 1 GB of memory. Only 512MB shows up in the activity monitor. I just upgraded the memory to 4 GB. Although 2GB shows up in DIMM0 and DIMM1 it still only says I have 512MB of memory. Can someone help?

    My Macbook 4,1 came with 1 GB of memory. Only 512MB shows up in the activity monitor. I just upgraded the memory to 4 GB. Although 2GB shows up in DIMM0 and DIMM1 it still only says I have 512MB of memory. Can someone help?

    So when you go to  > About This Mac - How it should say how much ram there. Click on More Info - And click on Memory - What is in those fields?

  • After upgrading my 5s to ios8, cant pass the activation step by apple id and the phone is useless

    after upgrading my 5s to ios8, cant pass the activation step by apple id and the phone is useless

    let me explain it by details;
    the last night as soon as I saw the IOS 8 notification on my 5s phone, I started downloading and as soon as download finished I clicked on install. Then I saw a sign of cable and iTunes on the phone display.
    I started downoalding the ios8 this tme on iTunes by my laptop and then tried to install it on the phone again. it installed and asked location and language which is set by me, then asked the apple id and password but it didn't accept the apple id and password until I thought I have forgotten the apple id. now I don remember the details of the apple id except the password and nothing more!
    can u guide me or instruct wot should I do plz?

  • My iphone 3GS needs updating but when i plug it into itunes it reads and said the activation is out of time and the phone keeps going off?

    my iphone 3GS needs updating but when i plug it into itunes it reads and said the activation is out of time and the phone keeps going off?

    jadekinsey wrote:
    when i plug it into itunes it reads and said the activation is out of time
    No such message occurs.
    Are you trying to state that it says "Unable to activate"? 
    If so, this typically indicates the device has been hacked or jailbroken.  If that is the case, no support can be provided via these forums.

  • Pass a parameter from a report to a customization form of another report

    Hello,
    I want to pass a parameter value from a report to the customization form of another report and display it in the text field in the customization form as a default value. I have 2 variables in the customization form and in one of them, I would like to display the default value from a previous report.
    Thank you
    Jayasree

    1. go to the manage component screen of the report
    2. open the package body (pl/sql source)
    3. search for 'procedure show_parms'
    4. scroll down till you find
    -- call to parameter form rendering engine
    5. copy the procedure call below it
    a) you will have to pass <PORTAL_SCHEMA>.wwv_utlglobl.RUN_AS_NORMAL to p_mode
    b) remove the parameters p_reference_path, p_redirect_url, p_exec_mode, p_page_url ( or you can pass null to them)
    c) 'p_parm_names' will contain your 2 parameters
    d) you can pass values to 'p_parm_values' which you want to be displayed in the parameter forms.
    6. you can call this procedure from a dynamic page and link the dynamic page to your first report

  • I bought an iBook.  When I downloaded the book, it was another book by the same author.  What can I do?

    I Pre ordered a book and received an email that the book was available.  When I downloaded the book, it was another book by the same author which I already have.  What can I do?

    Try delete the book via the Select button at theta right of the bookshelf and redownload it via the Purchased tab in the app.
    If the wrong book redownloads then use the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    Or you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • ITunes quits when I'm trying to open it. I have installed the latest version and another user on the same Mac can use their iTunes when they log in. I have tried deleting iTunes and re-installing but it still won't open. Any ideas?

    iTunes quits when I'm trying to open it. I have installed the latest version and another user on the same Mac can use their iTunes when they log in. I have tried deleting iTunes and re-installing but it still won't open. Any ideas? Thanks.

    Hold down the option key while starting iTunes and make an new library.  Will it open then? If so, you have a bad library.  With the new library import the library.xml version of the file in your iTunes folder.  This will make it 90% like before (some metadata are not identical, but I don't know which ones).
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451

  • Need to select the max record in a report

    Dear All,
    I have a certain report which displays the employee records along with their 'empids' and their 'beginning date'. For each 'empid', there are more than one records and hence more than one 'beginning date'. I need to select that record which contains the maximum 'beginning date'. How can this be possible in the reporting level without doing any coding in update rules or writing any exit ?
    Regards,
    Srinivas

    Hi,
    I think it is not possible because  i am having doubt how the for each employ id how it will be different joining dates,i think for each employ having differeent joining dates ,if u want to see maximum number of employs in which in company then we can go for the only option non cumulative kf with maximum value with ur joining date as the reference.but it report level if it is keyfigure we can have options of maximum and minimum and like that we can do but in case of characterstic like employnumber and joiningdate both are characterstics.
    Thanks
    sathsih

  • The rendered records are not consistent with the range

    After changing the range with record navigator to render the records,
    if navigate to other page and go back,the rendered records will not be
    consistent with the record range.
    The issue can be reproduced as follows.
    1.when select 1-10 range,the first 10 records are rendered.
    2.select [Next 10 records] to render the 11-13 records.
    3.change to other page and return to the original page.
    It is found that the 11-13 records are rendered but the range is 1-10.
    You can verify the issue by executing SampleMainPG.xml of the Tutorial.jpr for 11.5.10.2
    from Jdeveloper after changing the SampleMainCO.java as below.
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    if (pageContext.getTransactionValue("link") != null)
    OAAdvancedTableBean inner = (OAAdvancedTableBean)webBean.findChildRecursive("InnerTable");
    inner.clearCache(pageContext);
    inner.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
    <==comment out these original source above.
    OAAdvancedTableBean outer = (OAAdvancedTableBean)webBean.findChildRecursive("OuterTable");
    outer.queryData(pageContext, false);
    <==add the two rows of source above to get the latest query data.
    you should to make the records of the table fwk_tbx_employees to be more than 10 just using the SQL script below.
    (just need to change EMPLOYEE_ID at your will)
    INSERT INTO fwk_tbx_employees (
    EMPLOYEE_ID,
    TITLE,
    FIRST_NAME,
    MIDDLE_NAMES,
    LAST_NAME,
    FULL_NAME,
    EMAIL_ADDRESS,
    MANAGER_ID,
    POSITION_CODE,
    SALARY,
    START_DATE,
    END_DATE,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_LOGIN,
    ATTRIBUTE_CATEGORY,
    ATTRIBUTE1,
    ATTRIBUTE2,
    ATTRIBUTE3,
    ATTRIBUTE4,
    ATTRIBUTE5,
    ATTRIBUTE6,
    ATTRIBUTE7,
    ATTRIBUTE8,
    ATTRIBUTE9,
    ATTRIBUTE10,
    ATTRIBUTE11,
    ATTRIBUTE12,
    ATTRIBUTE13,
    ATTRIBUTE14,
    ATTRIBUTE15 )
    VALUES (
    17,
    'ichiro',
    'yamada',
    'ichiro yamada',
    1,
    0,
    sysdate,
    sysdate,
    sysdate,
    0,
    sysdate,
    0,
    0,
    it seems that if use the functions below,the issue can be workarounded.
    But it is not clear whether there is any other impact from these functions.
    innerTable1.clearCache(pageContext);
    innerTable1.setAttributeValue("CLEAR_CACHE_ONCE_NOEXECUTE_ATTR", Boolean.TRUE);
    Could you please share your idea?
    Thank you very much in advance.
    Best regards,
    Wang

    FYI.  I was able to do what I wanted by first going to page properties and removing unwanted fonts from appearance.  Then edit the page, select all, change style to normal, then select the text where you want to use a different style and change style there.  This gives consistent appearance with both browsers.

Maybe you are looking for

  • Skype won't go online

    When I first strat up skype on my computer it won't go online. All it does is in the circle that should normally be green for online it's just light blue with two white arrows that go around in circles. the picture below is what the circle looks like

  • Columns in Admin Tool are re-ordering

    Not sure what is causing this but it might be related to my Logical dimension-fact table relationships. I will order columns in the Presentation layer or the BI Administrator Tool within folders and randomly the columns will re-organize and be sorted

  • After Effects CC only - Purchasing a new system for....

    Getting ready to purchase a new system for After Effects CC.  I create 3D effects, video effects and many animation effects small scale for website development and YouTube.  I have been considering a system with Xeon E5-2697 V3 processor (14 cores, 3

  • Bug in Aperture's Color labels?

    When I select an image and use the main menu to change the color label to nothing, viewing in the list view shows the label as "--" (without the quotes). When I use the sidebar to perform the same operation, the list view shows the label to be "No La

  • This is not what I agreed to pay for. Lift the 50 file limit !!!

    Only 50 files ??? This is STUPID !!!