Select the line of the classic report to pass the value to another classic report on the same page

Hello

First a few details about the environment - I use the image of the last download oracle VM developer days to oracle.com. This includes DB version 12.1.0.2 and version 4.2.5.00.08 Apex. For the question although I don't know the specifics of the versions that are relevant.

What I want to do an apex page which includes an analytical section at the top, followed by a section of retail slot - a line is selected / highlighted at the top which causes the relevant lines in this summary line is displayed. Its screen basically a master-detail - however the source of these two sets of data is just a query - is not a table.

The query at the top of the page is something like

Select * summary

and the section below is

Select * from details where id = (the value of the id clicked in the summary above)

This feels like it should be really easy (and indeed, it is for the tables through the apex of master-detail Wizard) - but I can't understand when the two sets of data are the result of queries.

I can't seem to make reference to the elements of the page when it comes to a report and I think that I might need to go down a kind of dynamic route of actions and jquery, but I don't get very far very fast. I found some notes that seem similar, but nothing which does exactly what I want. The function APEX_APPLICATION to browse a table also doesn't seem to be possible for the output report that I could see (tags are not there) - what is relevant for the forms?

I hope that I have explained that quite simply.

Can anyone help?

See you soon,.

Rich

You link column can be just a null value in the sql code, if you want. Change the column and head down to the link attributes.

Text link: "Click me" (source of sql using #MY_COL columns or #)

Target: URL

URL: javascript: $s ('P1_ITEM', #ID);

Then have onChange dynamic action on P1_ITEM which updates the State. Do not forget to present the value of session state (either property right under the sql or pl/sql prior to update action report). The database needs to know the value of browser before running the query.

Tags: Database

Similar Questions

  • How to do a partial update of a form and a report on the same page?

    Hi all

    Im trying to make a page where you have a report on the top, and when you click on the link instead go to the form page, the form on the page is on the bottom of the report. Let's say that im trying to send an id from the report to the item below so that I could go get the rest of the element. However when I pass, other elements would still refer to it as null.

    If I am not wrong it could be done with the quote, but I want it to be partial refresh...

    I tried the steps detailed here, but it didn't work when the lower part is an also a report:

    https://forums.Oracle.com/thread/2345863

    I also tried, but this actually submits a page...

    Base Oracle: Tutorial Apex - form & amp; Report shares the same page

    would it not possible to get a form and a report in a partial refresh page?

    Post edited by: T101_cyberdyne

    Hello

    Do you mean something like this:

    http://Apex.Oracle.com/pls/Apex/f?p=vincentdeelen:26:26

    If so, you must create a dynamic action with a javascript action to set the id of the report line in the form of code field and further action from pl/sql to retrieve the record based on the identification number. You can use this record to set the shape of other items in the field.

    For the example in the link above, the code is as follows.

    action of javascript:

    var empno = $(this.triggeringElement).find('td[headers="EMPNO"]').text)

    $s ('P26_EMPNO', empno)

    action of PL/SQL:

    declare

    cursor c_emp is

    Select * from EMP

    where empno =: p26_EMPNO;

    BEGIN

    for r_emp looping c_emp

    APEX_UTIL. SET_SESSION_STATE ('P26_ENAME', r_emp.ename);

    APEX_UTIL. SET_SESSION_STATE ('P26_JOB', r_emp.job);

    APEX_UTIL. SET_SESSION_STATE ('P26_MGR', r_emp.mgr);

    APEX_UTIL. SET_SESSION_STATE ('P26_HIREDATE', to_char (r_emp. HireDate, 'dd-mon-yyyy'));

    APEX_UTIL. SET_SESSION_STATE ('P26_SAL', r_emp. SAL);

    APEX_UTIL. SET_SESSION_STATE ('P26_COMM', r_emp.comm);

    APEX_UTIL. SET_SESSION_STATE ('P26_DEPTNO', r_emp. DEPTNO);

    APEX_UTIL. SET_SESSION_STATE ('P26_ORDNO', r_emp.ordno);

    end loop;

    END;

    Make sure you list the item id in the field "Page of Items to submit" and ALL your form elements in the field "Page of Items of return" as follows:

    http://www.vincentdeelen.com/images/OTN/plsql_action.PNG

    A screenshot of the configuration of dynamic action:

    http://www.vincentdeelen.com/images/OTN/dynamic_action.PNG

    Kind regards

    Vincent

  • How to make a form with report and a form of inclusion in the same page?

    Hey, guys:

    I was wondering if you could have any link or examples to show how to make a form with report and a form of inclusion in the same page, these two forms are related to the same table. Our customer wants that a user can add a new row to the table in a form and see all lines created by this user in a report, the report should provide link change as well. the problem is: whenever I inserted a new line or change a line or delete a line, and submitted and return to this page, all hidden elements lost their values, this report is empty, and some display only items also lost their values. Could someone give me any suggestions?

    Thank you very much!

    Sam

    So, the problem is essentially with page elements lose their session state values when re-loading of the page. How do you define values for the elements of the hidden page? You have default values defined for those? They are based on the database column? What is the "Source" parameter for these items on the page? It is set to "Always, replace any value in session state"? You have any process of 'Empty the Cache', which is reset these values to null element?

    What is your version of the Apex?

    I would recommend that you have installed for example in apex.oracle.com. This would help to better understand the issue.

    Published by: jaouad khalifi on 13 December 2012 22:11

  • Interactive report with the subreport Details on the same page

    Hi all

    I am fairly new to APEX, sorry if my question is too obvious. I use Apex 4.0.2 on top of Oracle 11.2.

    I have an interactive report that lists the contents of a table. Since there are a lot of columns in this table I would like the report to only show that some identifier columns and all of the currently selected folder is displayed using another report in a separate area on the same page.

    The 'link' on the interactive report column is almost that, except that he jumps on another page; I would just like to have a subreport, updated with the data that is selected instead of a new page is displayed. Does anyone know how to do?

    Thanks for your help,
    Chris

    Chris,

    This looks like what I usually do in my referential data.

    I use the wizard to create the "report."

    I make sure that the two regions (the form and report) will be created on the same page number

    so I check/change the order of regions (second report in the first place, form)

    then I put in the form to display in the column 2

    Kind regards
    Richard

    P.S., the report shows only enough columns to recognize records. the screen displays all records

  • A report on the current record of another report on the same page of filtering

    Hello

    I have a report on the same page and form in an APEX application. The interactive report is used for sorting/filtering etc. and the form is used to present the data for one record at a time, but also to allow updates in the selected fields. This was done using the wizards, little 'edit' is click on the button to change the shape of the selected record.

    I also have (or want to have) a second non-interactive report on the page, which contains some records according to the record of the main report that is currently selected and appearing in the form.

    I tried to make a simple 'SELECT fields WHERE the link field is equal to the main report', but he doesn't always says no data found.

    Basically, I need to be able to have a query for the second report which says "SELECT those fields WHERE the site is equal to the site displayed in the form.

    A click on the button 'Edit' of small pencil/paper on a report, this set some ActiveRow or something like that I can use to filter the second report?

    As you can tell from this post, I'm in my childhood skills database and any literature/advice on how to do this (outside MS ACCESS...) would be appreciated.

    Hello

    What is your version of the Apex?
    You define a column as to be the link.

    Do you mean something like this?
    https://Apex.Oracle.com/pls/Apex/f?p=40323:71
    If you click on the deptno column, it refreshes DEPT report.

    Kind regards
    Jari

  • By selecting the same outline color or fill in only a single work plan (not all)?

    This seems to be an obvious question. I have 6 work plans in a document, each containing a slightly different version of a complex logo that I'm working on. In the past, I would have just used a large body of work and had a layer for each different version but this time I thought I'd give multiple work plans, a go (I've just updated for CS3) and without layers. Trying to go to Select - same line color, it seems that it selects the same color of stroke on ALL working plans. In the past I would have had the layers locked except the one I was working on. I looked in preferences to see if there's something to turn it off, but it does not exist. Am I missing something?

    One thing you can do:

    Select the entire document on the artboard, you are dealing with, select reverse, Lock (Cmd + 2).

    This way you have blocked all on other work plans.

    You can now select same wotever on the artboard, you deal with without affecting the others.

  • Link chart action for refreshing a report of region within the same page

    Gurus of the APEX

    As long as we have the graph and report region region on the same page and based on the action of graph link must be able to refresh the report region within the same page

    for example: I expense spend by category such as a pie chart and on the link of the action of which I want to refresh a report region by the right of it (in the same page) to show the details contained in this category spend - also I do not have to réactualisiez around the same page, just to refresh the region related to the category Click on the graph

    Any help would be great on this - I use APEX 4.2

    Thank you

    Shas

    Thanks Tom / Scott - sound now worked

    Following my code for the javascript function in the page section,

    function clickPie (pID) {}

    $x('P4_ITEM_CATEGORY').value = pID;

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

    }

    And here is my URL of the link graphic action section

    JavaScript:clickPie("#label#")

  • Impossible to select the same graphic style on glued eps

    I opened an eps.

    Copy the whole graph.

    Open the correct model and paste the chart copied.

    The template styles to graphics with the same background and outline (no other attributes don't exist) pasted chart.

    However, I can not select items from pasted chart based on the pasted graphic graphic even if Style contains elements with the same stroke and fill.

    I can't select the same outline and complete either.

    I checked the Document Color Mode and made sure it was RGB color.

    However, when I select the item and double-click on the initial window color picker shows new 1100 color so I suspect even if the same style Illustrator is affecting the color of the element and running like new.

    This selection process is a step in an action to apply styles and works - so this isn't.

    Probably something simple changed the settings, but appreciate any suggestions as to where the issue could be found.

    It's old CS2 on Mac PPC G5 pays for itself always perform the simple processing of the output files.

    All advice appreciated as many hours trying to figure this out.

    Thank you

    Michael

    Awesome! Works a treat. I have to just make sure that Document Color Mode is CMYK and color as you say Graphic Styles are defined to same in the imported graphic. I thought I was smart by setting Document Mode of color RGB and graphic Style as well.

    Thank you for identifying and really, really appreciate your time and knowledge.

    Kind regards

    Michael Gilbert

  • Click on a button to fill out the form on the same page of the report

    Hello

    I have a report that contains a name I want to move to a field in a form on a different region on the same page.
    My button on the report was her own column called ADD_LINK. This is the button. "< id button ="apexir_btn_ADD"class =" button apexir "type ="button"value ="Add"onclick =" "> < span > </span > Add < / button >.

    Once you click on this button, I have the form region fade. The region is called add the tag to the employee, which has P4_ROWID, P4_EMPLOYEE_ID and P4_TAG_ID.
    Once the area is displayed, I want #NAME # to show in the P4_EMPLOYEE_ID.

    I copy this form in another page, where I had it before. It made more sense to move it to this page for purposes of interface, then perhaps this tidbit will help as well.

    If someone has an answer to it, great. I'm new so thanks for the help.

    Thank you.
    Jeremy

    Its market not now and I did in the region never delete because you use the same area for the two remove hide/show the corresponding keys.

  • Form and report on the same page...

    Hello

    I want to have a form and report on the same page... as soon as the user enters the information and send the form via the button then the report should be able to display adding...

    can I know how to do this...

    Thanks in advance

    Hello

    Its simple...

    01. firstly create a page with a region to allow the user to insert records.
    02. it's over then add another region and choose 'Report' and region type and generate a report to show the details of the table above

    Thank you

  • How to select the same forms of color in the adobe flash program?

    How to select the same forms of color in the adobe flash program? for example, we assume that 10 forms of rectangle. 3 of them are red and others are green. I want to use only one method or click to select 3 of them. Please help me

    Thanks kunter

    You can use Ctrl + F.

  • added new line in the same page

    Can someone give me the code to add a new line in the same page itself. If we click on Add button a new line should come to the table.

    Thanks in advance

    Hello

    invoke a method in AM on click of a button

    Public Sub addrows()
    {
    Vo1 AddressesVOImpl = getAAddressesVO1();
    Row1 AddressesVORowImpl = (AddressesVORowImpl) vo1.createRow ();
    VO1.insertRowAtRangeIndex(0,row1);
    VO1.setCurrentRow (row1);
    }

    Thank you
    Gerard

  • FROM SHAPED DATENREPORT (how on the same page)

    Hello everyone

    Yes, I know that it is built in a design of two pages where the first is the form and the second report, but I want it for both on the same page so that you can see what he has on the report and add his own line to the table. Well, I could make the creation of a form, then by changing the page and then add another region. Alright. But then I don't know how to link them together so that the data is passed to the form of the report.

    Additionally, the form to fill the data must pass in two separate tables, because a table contains the details of the location and the other opinion about each store. Easy to do on PHP and mysql, but here I'm lost.

    Second thing that drives me crazy it is that I created a table named location as well as street postal code for a store and another for assessment so that customers or workers add a suite evaluate services etc.

    Well, I'm trying to create that shape, that I first talked about this would hold all fields and I do on a SQL query that contains the definitions of the two tables. My XE is completely empty from the remains of other applications, etc. I do the equijoin alright


    Select l.loc_id, l.company, l.postcode, l.street, l.town, e.eval_id, e.loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    location, e-assessment
    where l.loc_id = e.loc_id

    and I get this annoying error all the time


    ORA-20001: unable to create the form on equijoin. ORA-20001: Error Page = 2 item = 'P2_LOC_ID' id = '1324114494879878' ORA-20001: error page 2 item = = "P2_LOC_ID" id = "1324114494879878" a same name something like existing at the level of applications. ORA-0000: normal end successfully

    Well, if this form consists of two tables, it must definitely something in common with them! How did the name of the element suppose to have another name? It is made with the wizzard so supposedly the wizzard you should know, but I tried two days 14 hours a day.

    no indication of how this problem would be invaluable for me

    Thank you

    Alvaro

    Alvaro:

    This help if you supplied alias names to the "loc - id" of each table column in the SQL query? Something like

    select l.loc_id location_loc_id, l.company, l.postcode, l.street,l.town, e.eval_id, e.loc_id evaluation_loc_id, e.locum_reg, e.date_booked, e.items, e.addicts, e.number_staff, e.attitude_staff, e.organisation, e.stock_filing, e.agency
    from location l, evaluation e
    where l.loc_id = e.loc_id
    

    CITY

  • How to set preferences so that open new tabs to the same page that activates when the command-T has been affected?

    By opening a new tab, the default tab opens to thumbnails based on recent history. The Safari, I want the new tab to open * to the same page, as was active when command-T was hit *. What are the specific actions, to set the default value (preference), new pages to open 'same page '? ('Same page' is check in Safari preferences box).

    Note, I've sailed available Support of Mozilla and using about: config have reset browser.newtab.url so that the new tab appears empty (stop followed recent history for this purpose).

    Note, most importantly, I found this article of Support Forum, which, although written challenge, gave me a temporary solution:

      * https://support.mozilla.org/en-US/questions/891635
    

    (The temporary solution for the Mac OS is to command-click the icon 'Reload current page' in the url/address box in the browser toolbar, which opens a new tab in the same window).

    However, I would like to define this as a preference permanent and would ask someone give me a solution. Cheers, teacher

    LeProf_7272 wrote:

    if I can possibly just create a new config line
    

    You can't, that's why I suggested the modules above. There is no option in the user interface or preferably hidden in Firefox that can duplicate a tab whenever you open a new tab browser.newtab.url can only be set to a fixed address, what address is to be opened in the current tab.

    Are the only two built-in methods to duplicate a tab:

    1. Hold down the Option key and drag the tab to a new position on the tab bar.
    2. Hold down the command key and click the reload of the address bar.

    You can make feature requests by filing development bug reports or by opening the Help menu by clicking on your comments.

  • Force summary Sub totals on the same page as the repeating group

    Hello people,
    I have a group of left report where I show Patients and visits they have taken for each Department.
    I then did a Sub Total of the number of visits, the Patient took. I want to assure you that the subtotal shows
    upward on the same page as the data in the repeating group. I tried to use an anchor, but the report doesn't.
    It gives an error: REP 1213 - reference field column to a frequency lower than his group when I have the extendable chassis anchor foot sub total
    and 1814 REP report cannot be formatted. Object "Horizontal" can never fit into 'M_1' when I try to anchor the opposite effect.

    My goal is to show totals of Sub (Total) on the same page as the Patient and do not go to the next page. I have attached the dotted line and Total (label and field) in one frame.

    Release of the report:
    Patient ID     Patient Name              Department              Visit
    ======================================================================
    1001           Mary Poppins              Department 001              3
                                             Department 002              4
                                             Department 003              1
                                             -----------------------------
                                             Total                       8
                                             -----------------------------
    
    1002           Peter Pan                 Department 001              2
                                             Department 002              1
                                             Department 003              2
                                             -----------------------------
                                             Total                       5
                                             -----------------------------
    Thanks in advance!

    Pls set the property (page protect the patient details and framework that contains two sub total) to yes.

  • Redirect to the same page with the values of the variables

    Hello

    I develop a form to report data of the certain date range provided by the user.

    The problem is that I have to redirect the page back to the original page with the error message "not found in the date range" If the provided date range contains all the data in the database. I am able to redirect the page to the original page for help:

    < cfif queryname. RecordCount EQ 0 >

    < cfset action 'error' = >

    < Cflocation >

    < / cfif >

    And I use the < cfparam > for the creation of an action to navigate in the code, variable

    < name cfparam = "action" default = "" >

    [Use the < cfparam > above, tag at the top of the code and using action EQ 'report' and ' ' for navigation in the code]

    But, when I redirect to the same page, with the variable value measures of error and using cflocation he forget all varable values in the new page [way], then how can I pass a variable value measures on the same page and redirect it to the same page on meeting certain criteria.

    If this isn't clear, let me know.

    Help, please

    Vijayvijay77.

    vijayvijay77 wrote:


    ...


    And I use

    a kind of cfif to navigate inside the code. I'm doing something wrong here.

    You say that you guessed it at work.  But you have a dangerous code here (if you have not changed).

    The line will generate variables URLS when ColdFusion processes the page.cfm file once requested by the browser.  For example url.set and url.flag.

    Tags are NOT specifying the scope of variables, so they will default to the scope of "variables".  Who are the local variables of the demand for treatment.  For example variables.set and variables.flag.

    URL.set and VARIABLES.set ARE NOT the same variables.  And this confusion can cause some VERY difficult to diagnose the problems of code.

Maybe you are looking for

  • How to recover bookmarks - cannot add, restore files or import even after restarting the pc and remove reinstall Firefox?

    Bookmarks have disappeared. Cannot add new bookmarks, import from another browser, open the previous bookmarks file. I tried the solutions in Help and troubleshooting without success. CCleaner doesn't work anymore when it comes to Firefox. I've used

  • How to open new tab as white?

    When I open a new tab, I want it to be empty, it keeps or by default in my homepage (Google.com). I followed the steps (pasted below) several times. I put it to about: blank and restarted firefox, I even put then rebooted my whole machine... still no

  • Script using AppleScript GUI does not

    Before we go too complicated, I'm starting to get a basic copy/paste using keyboard shortcuts to work. In theory, if I can copy a value of cells in another cell using keyboard shortcuts, I can use keyboard shortcuts, I need more complex scripts. Can

  • Problem importing Sony EX1

    I recently bought an iMac 27 running 10.10.5 Yosemite. I have FCPX 10.2.3. I installed the update to version 2.0.4 Pro video Formats. All I want to do is get up a race and I thought I was set up. I have connected my Sony EX1 and with FCPX open, I tur

  • Pavilion g6: not wireless access

    My wireless connection will not display.  It shows no connection available when there are and the system seems not yet looking for a wireless connection.  I tried the Recovery Manager to download the Qualcom and Realtek LAN driver again.  Again I hav