Master / detail on the same page
HelloI tried to get master form Assistant / retail to generate a master / detail on the same page without success.
Basically, I wanted something similar to what Patrick Wolf was here:
http://Apex.Oracle.com/pls/OTN/f?p=12820:3:2557510002062602
Y at - it statement somewhere that show how to set up a master / detail on the same page?
Thank you
Hello
OK - you must:
1 - create a report page - Let's say the report will build on the DEPT table and the SQL for the report is:
SELECT DEPTNO, DNAME FROM DEPT ORDER BY DNAME
2. when the page has been created, create a new un nouvel element element hidden page called, say, P50_DEPTNO and add it to the region of report
3. now create another part of report on the page - this time for the EMP table and filtered by P50_DEPTNO. The SQL code of the report would be:
SELECT EMPNO, ENAME FROM EMP WHERE DEPTNO = :P50_DEPTNO ORDER BY ENAME
4. you can make this conditional region on P50_DEPTNO is not not NULL so that the latter is hidden until a Department has been selected
5. now, change the State of your Department and go to the tab report attributes change DEPTNO column and go to the section of the link column. Add in the following settings:
Text link: (select one of the predefined options that are displayed as links in this box - eg DEPTNO)
Page: (enter the current page number - for example, 50)
Reset pagination: (check this)
Point 1 (name): P50_DEPTNO
Article 1 (value): #DEPTNO #.
Then click on apply changes
6 - Finally, add a branch on the page. This should simply point to the same page - leave all other settings at their default values.
Now, launch the page and click on the link for any Department. You should get: http://htmldb.oracle.com/pls/otn/f?p=45958:50
Andy
Tags: Database
Similar Questions
-
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,
ChrisChris,
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
RichardP.S., the report shows only enough columns to recognize records. the screen displays all records
-
Detailed form Master in Apex - creating main records and details at the same time
I m trying to create a master form / retail.
The master is a simple standard form and below on the same page there is a tabular presentation containing the details.
I am facing a problem when you try to save a new record from the master at the same time with new details.
If I create a new record of the master and at the same time create detail records for this master (on the same page), when I submit that the foreign key of the details field is not filled in. So only one master record gets inserted into the table and record line is not inserted.
When I have everything first create a master without a detail and edit this master and then add details so everything's allright (since the primary key field is filled out at the time).
I just need to confirm that whether in the APEX form master detail, can save master and line record at the same time or is it as master must be registered the 1 and then line must be enterd and saved?
Please let me know, if this functionality can be achieved in the APEX.Hello
There was an error in the process of pl/sql, you referenced f01 (F01. COUNT) in the loop condition and which should have been f03, also you have assigned the wrong field to what should have been P3_DEPARTMENT_ID
I fixed that. Also, I'm not 100% sure but I think in order to use the table in the column must be of type text or something (and not hidden), but I can't check now because of lack of time.
A few mistakes during the presentation, but they are still due to constraints on the other fields.
FOR I IN 1.APEX_APPLICATION. G_F03. COUNTY
LOOP
APEX_APPLICATION. G_F03 (I): =: P3_DEPARTMENT_ID;
END LOOP;
Concerning
Bottom
-
How to display two dept details at the same time in the form of master-detail
Hi Experts
In Forms 6I, using the Scott schema, table DEPT & EMP has created a simple form of master-details relationships.
Currently when user Dept Block shows all lines dept and EMP block display data based on the selection of deptno.
It's only a deptno both.
If the user in the No. 10, block EMP Dept will display all the data related to 10
If the user moves to 20 Deptno, block EMP will display all the data related to 20.
And so on.
But our requirement, what happens if we want to see the 10 and 20 at once (both several deptno)
Thank you
Thanks for your information.
In fact, our requirement is only to display data, he own be no matter what update of data/insertion.
So below and working for our requirement
- Remove relationship
- Additional box on master block.
- Write code cursor on the box selection - which will fill/clear data block information based on the checkbox selection on block Master.
-
Branch to the same page with different session variables
Hello guys,.
Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.
hope someone can help me.
Kind regards.
-shashikahk-
is there a way to add the following buttons and pre
If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).
Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:
Get the value of the primary key next or previous
Some of the hidden objects, such as Pxx_ROWID_NEXT.
And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID
(if you do not use rowid as the primary key, another name will be generated).
-
Urgent! Master - detailed with the option/Hide search
Hello
I developed a page OFA master / detail with the option/Hide.
in my search option, I have main and detail columns.
How can I control query vo level of detail.
For example. If I pass point not in the search option as well as customer, I could get only this line item for this CUST.
I created the main query parameters and I'm passing param values in a methos to AM.
When I click on show details his exception throw.
Can someone help me please how to do this. Its urgent...
Thank youHello
Error is due to the original Version of details may not get the value of the bind variable when judicially.
Check your steps with this link http://apps2fusion.com/at/51-ps/333-oa-framework-master-detail-region-mandatory-steps.
If still you face the same thing then let us know.
Kind regards
GYAN -
Staying in the same page continue editing after creating a button
Hello
I have an apex generated form based on a table and there is a trigger for the primary key.
When the user comes to the page, they can fill in the fields and click on the button create.
Right now, create will take them to another page and they use another link to return to this form on this page to change the row in the table
What I really want is that after you have filled a few items and clicking on the button create, I want the user to stay on the same page
to continue to fill in the other fields for this record, but the button create must disappear, and instead, the 'save' button appears.
If anyone can help? Thank you.
SuniHello
1. you must remove the process that erases the data (clear your Cache).
2. create a page process that will get the primary key of the newly added in the hidden primary key record filed... (* You can take the help of the form of the master / detail, created by the wizard... it does the same thing..) When you click on send, it retrieves the newly added primary key, and the long-form becomes visible *)
Kind regards
Shijesh -
How to create an action link that goes to a section that is 'hidden' in the same page
Hello
OBIEE 11, I have a dashboard page that has section 1 as a guest, 2 which shows an analysis that contains a chart and article 3 that shows the details of the graph. I have an action to link this graphic article 2 connection to the details in section 3. However, I would like my report to the do not appear in article 3 as long as you press the link of action. Is there a way to 'Hide section 3 until you press the link action?' Thank you!
Hello
Try to avoid the double-display: How to create an action link that goes to a section that is 'hidden' in the same page
Felipe_Idalgo meets the other post (and he posted the best answer to your needs), in order to continue the other thread instead of opening another.
-
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.
-
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#")
-
is there a way to code with several people at once on the same page?
In my class today, we were tasked to build a web page and it works a lot better if we could all work together both on the same pages.
Your best option is to use a svn like github to create a repository and have contributors to fork your repository (and the code on the same page at the same time). While contributors send shooting you pray that you can use to merge code contributed in your master repo.
-
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
-
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:
Thanks in advance!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 -----------------------------
Pls set the property (page protect the patient details and framework that contains two sub total) to yes.
-
Adobe muse opening window in the same page
Hello would like to know if I can get muse to open another window in the same page as the image below, let's say the small box is a picture of a product and when I click on the Details button, a window should appear with decription in the same page.
Thanks in advance
Yes, use the ToolTip Widget's Composition.
-
He cannot get two changers of AS2 to work on the same page.
Hello.
I really like this particular scroller, I used at the bottom of the page here:
Now I need to use two instances side by side on another page and may not have to work.
I tried:
- With same code twice in the frame 1 unchangend.
- Have two instances of the code, but with him renamed all instance names and variables in the code.
- Having each scroller in their own video, then add the two at the scene.
- Have a master fla with background and import two separate sovereigns with each their own scroller - they work independently, but when they import on the same page one of them will not work.
Here is the AS2, I use:
Scroller on the left:
fscommand ("allowscale", "true");
bar.useHandCursor = dragger.useHandCursor = false;
space = 20;
friction = 0.9;
Speed = 4;
y = dragger._y;
Top = main._y;
bottom = main._y + mask_mc._height - main._height - space;
dragger.onPress = function() {}
Drag = true;
this.startDrag (false, this ._x, this._parent.y, this ._x, this ._parent there + this ._height, this ._parent .bar ._height);
scrollEase();
};
dragger.onMouseUp = function() {}
this.stopDrag ();
Drag = false;
};
bar.onPress = function() {}
Drag = true;
If (this ._parent ._ymouse > this ._y + this ._height - this._parent.dragger._height) {}
This._parent.dragger._y = this ._parent ._ymouse;
This._parent.dragger._y = this ._y + this ._height - this._parent.dragger._height;
} else {}
This._parent.dragger._y = this ._parent ._ymouse;
}
scrollEase();
};
bar.onMouseUp = function() {}
Drag = false;
};
moveDragger = function (d) {}
If ((dragger._y == y + bar._height-dragger._height & & d == 1) |) (dragger._y == y & & d ==-1)) {
clearInterval (myInterval);
} else {}
dragger._y += d;
scrollEase();
updateAfterEvent();
}
};
up_btn.onPress = function() {}
myInterval = setInterval (moveDragger, 18, -1);
};
down_btn.onPress = function() {}
myInterval = setInterval (moveDragger, 18, 1);
};
up_btn. OnMouseUp = down_btn.onMouseUp = function () {}
clearInterval (myInterval);
};
MovieClip.prototype.scrollEase = function() {}
dragger.onEnterFrame = function() {}
If (Math.abs (dy) == 0 & & drag == false) {}
delete this.onEnterFrame;
}
r = (this._y-y)/(bar._height-this._height);
DY = Math.round(((top-(top-bottom)*r)-main._y)/speed)*friction);
main._y += dy;
};
};
Right scroll
fscommand ("allowscale", "true");
bar2.useHandCursor = dragger2.useHandCursor = false;
space = 20;
friction = 0.9;
Speed = 4;
y = dragger2._y;
Top = main2._y;
bottom = main2._y + mask_mc._height - main2._height - space;
dragger2.onPress = function() {}
Drag = true;
this.startDrag (false, this ._x, this._parent.y, this ._x, this ._parent there + this ._height, this ._parent .bar2 ._height);
scrollEase();
};
dragger2. OnMouseUp = function() {}
this.stopDrag ();
Drag = false;
};
bar2.onPress = function() {}
Drag = true;
If (this ._parent ._ymouse > this ._y + this ._height - this._parent.dragger2._height) {}
This._parent.dragger2._y = this ._parent ._ymouse;
This._parent.dragger2._y = this ._y + this ._height - this._parent.dragger2._height;
} else {}
This._parent.dragger2._y = this ._parent ._ymouse;
}
scrollEase();
};
bar2. OnMouseUp = function() {}
Drag = false;
};
movedragger2 = function (d) {}
If ((dragger2._y == y + bar2._height-dragger2._height & & d == 1) |) (dragger2._y == y & & d ==-1)) {
clearInterval (myInterval);
} else {}
dragger2._y += d;
scrollEase();
updateAfterEvent();
}
};
up_btn2.onPress = function() {}
myInterval = setInterval (movedragger2, 18, -1);
};
down_btn2.onPress = function() {}
myInterval = setInterval (movedragger2, 18, 1);
};
up_btn2. OnMouseUp = down_btn2.onMouseUp = function () {}
clearInterval (myInterval);
};
MovieClip.prototype.scrollEase = function() {}
dragger2.onEnterFrame = function() {}
If (Math.abs (dy) == 0 & & drag == false) {}
delete this.onEnterFrame;
}
r = (this._y-y)/(bar2._height-this._height);
DY = Math.round(((top-(top-bottom)*r)-main2._y)/speed)*friction);
Main2._y += dy;
};
};
If need be I can download the fla files, but I see no option to attach a file
Thanks in advance!
ggaarde
You are welcome
Maybe you are looking for
-
Click on the links on the web sites to open two windows / a homepage that lands on top
Hello recently (last days), I noticed that clicking on links opens two windows: one being the homepage (using BING) and I have to close this tab to access my expected page.Do not remember having this problem in recent years. Have you checked the defa
-
Cannot restore the iPad 2 9 error message
When I start my iPad 2, I get an image that tells me to connect it to iTunes. When I log in, it says that the iPad can not be updated and must be restored to factory settings. After a while, it shows iPad Recovery Mode. waiting on ipad answer. When i
-
Hello I just updated my HP flow 8-10 Windows and using its only basic drivers and display performance is really bad. No acceleration at all. Can I use Windows 8.1 drivers? When will Windows 10 drivers available? I tried install the Intel update utili
-
What are some of the requests of users likely to be assigned to an officer IT worked at the Department of STI?
-
need a product key for Vista Home Basic
I upgraded a basic family xp on a Vista Home Basic, but the product key on the Tower didn't work, who can I get it for free? s. o. s.