report Classic select value of the element to set another point/region on the same page
1.I have classic in the area of form, reportthe user must select online (single or multiple) box/radio classic report these lines to set another region (query are same with selected element only). but when we save the values selected as a delimited values (1:2:3:5) in an item (P9_TO_MOVE_ITEM).
How can get the report? I mean the where condition. If any other way to do it?
workspace: ram_r & d
username/password: aramani/apex
application: https://apex.oracle.com/pls/apex/f?p=29288:9
Hi, thanks. its working fine.
1. add values as shuttle (P9_TO_MOVE_ITEM) items in the form box, that will store in 1:2:3:4 of database column values
Then add the new report with the following classic area.
WITH delimited AS (SELECT REPLACE(:P9_TO_MOVE_ITEM,':', ':') vals FROM DUAL) SELECT * FROM emp, delimited WHERE INSTR (':' || delimited.vals || ':', ':' || deptno || ':') > 0;
Tags: Database
Similar Questions
-
Definition of child page value to the Parent page text field
Apex 4.1.
I have a form of the apex. When the user clicks a button on this page, it redirects to another page and the user can select a value from a list of values (Group of Radio buttons) and when the user click on the "Done" button on the second page, I'm again redirect to the front page and what needs to happen is the selected value in the second page should be set to a text field in the first page (parent). How can I do this, I tried the following,.
(1) on the second page (list of values), I added a process to get the selected value and set it to the field of the 1st page (Page Item)
(2) I created a branch to redirect to the first page when the user hit "Done" button and in the branch options, I gave the order of the day of the 1st page (at what value need to be defined) and the value selected in the second page.
(3) in both methods, after redirection back to (1) parent Page, I checked the value of this particular text field page element, and it had the value selected in page 2. but still, it was did not update the user interface.
Really grateful if someone can help on this.Apex-EPA,
Some things could happen...
1. your text field still has its source type by replacing the value and is overwhelming everything you set the value on.
2. on your second page, you do not use the branch that you think that you use to return to the first page.
3. your branch to the first page is clear the cache on the first page.Here is an example of this work: http://apex.oracle.com/pls/apex/f?p=43401:35:0
See you soon,.
Janet Tyson -
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
-
display 2 lov on the same page?
I can: on the proposed transfer screen, when the employee leaves the company, the LOV will not show LOV resigned employee used: select name d, r id emp1oyee where superior (status) = 'ACTIVE' order by 1Table:employee ID Name Status 1 emp active 2 emp2 active 3 emp3 terminated 4 emp4 terminated ....
do not know how: need to show the name employees resigned using the report link. The report link is back to the same page that created the assignment. How I accompolish cela by displaying the laid off employee name not the ID?
Ex: p10 (shape) has the lov with active employees. P11 has a report of all project assignments. When I jump from the link provided in p11 P10, the recovery must display the name of the (unidentified) employee the same topic is complete.
I use APEX V4. Can you help me? Thank you.
MunsharMunshar,
Ah, I've got get it now.
My thought would be to change your LOV code to something in the sense of the following:
select name||' ('||status||')' d, id r from employees where id = :P10_ID and upper(status) <> 'ACTIVE' union all select name d, id r from employee where upper(status) = 'ACTIVE'
This should give you what you are looking for.
-David
-
Delete and stay on the same page!
Hi guys,.
As we detail in the following image:
http://www.9M.com/upfiles/PlT97853.PNG
I have a report and a form on the same page. When press on delete I want to remove the checked boxes and refresh 'DOWNLOAD' region, or stay on the same page.
NOTE: 'Action' button Delete is - submit page.
I hope my question is clear and look forward for assistance.
Thanks in advance,
FatehHello
Can you please create a branch under after instruction processing, you can see the same page itself. So, after the removal of the process, it will come to the same page.
Hope this could help you.
Thank you & best regards
Srikkanth.M -
Hi all
I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.
It will work.
Probably not the greatest solution well.
-
DVT:pivotFilterBar - how to get the selected values of the filter
Hi all
I have a question: how to get the selected values from the pivot table filter bar programmatically?
I tried to use
but to the edge of the side DATA INCORRECTESdeclarations page, it seems that it will return the cached values.pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);
Environment: JDev 11.1.1.3.0 without tasks.
Thank you
MiroslawHello
You can retrieve the value selected in the PivotFilterBar through the PivotFilterBar model, instead of dataaccess:
Download the template of the bar pivot filter instance
QueryDescriptior queryDescriptor = (QueryDescriptor) pivotFilterBar.getValue ();retrieve a list of criterion, each of them is used to fill each lov in the pivot filter bar
ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion ();
ListcriterionList = conjunctionCriterion.getCriterionList ();
for (int i = 0; i)<_criterionList.size(); i++)="">
AttributeCriterion = (AttributeCriterion) criterionList.get (i) criterion._selected is the currently selected value
Selected object = criterion.getValues () .get (0);System.out.println (_selected);
}Hope that helps,
Chadwick -
Select literal values in the same column
Hello
like the practice:
Select 'A', 'B', 'C' for double
will select these values in their own column on the same line, is there a simple way to select these values in the same column on lines without first their insertion into a table?
Thank youSQL> select 'A' x from dual union 2 select 'B' x from dual union 3 select 'C' x from dual ; X - A B C
A bit complicated:
SQL> select chr(ascii('A')+level-1) x 2 from dual 3 connect by level <=3; X - A B C
Other:
SQL> select regexp_substr('ABC','[[:alpha:]]',1,level) x 2 from dual 3 connect by level <= length('ABC'); X --- A B C
Max
http://oracleitalia.WordPress.comPublished by: Massimo Ruocchio, February 12, 2010 17:55
added a secondPublished by: Massimo Ruocchio, February 12, 2010 17:58
Added the third -
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!
SamSo, 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
-
State of color lines based on a value in the same row
I would like to color report lines based on a value in the same row.
For bolting with the table 'EMP ':
I would like job = MANAGER and Red work = CLERK to be green etc etc.
The other example I found was the possibility of a single color either the nail or the default color.
I'm looking for a way to do multiple colors.Hello
In the model line, you can use #1 #, 2 # #, etc. to indicate where a field in the report should be released. It doesn't have to be clear - that is to say, you can use it in style tags if you wish.
So take a query such as:
SELECT EMPNO, ENAME, DEPTNO, DECODE(DEPTNO, 10, 'green', 20, 'red', 30, 'cyan', 'white') BG_COLOUR FROM EMP
You get the column 1 = empno, 2 = ename, 3 = deptno and 4 = bg_colour. In the model line, you can then do:
Before defining lines (implements the table):
<table> <tr><td>ID</td><td>Name</td><td>Dept</td></tr>
After setting (farm table) lines:
</table>
Model 1 (used for all lines) line:
<tr style="background-color:#4#;"><td>#1#</td><td>#2#</td><td>#3#</td></tr>
Then, for each row, the color that has been calculated by using the DECODE function is used in the style tag for color the background of the whole line.
How to determine the colors, it's you. I used DECODE here, but you can use a field on the DEPT table to hold and use it in your SQL statement.
Andy
-
How to find the value dated the same day in the last year
I want to know how to find the value dated the same day in the last year.
I use now, there is the function with the year and the result is
Year Rev There are Rev 2011 3000 2012 4000 3000 2013 2000 4000 2014 5000 2000 It works but it's not that I want. I'm trying to add the column date (Ex.20140101) in my report but it'snot work.
I want to show:
Date Rev There are Rev 20110112 200 20120112 100 200 20130112 300 100 20140112 500 300 If use (< degree >, < time_dim >. < date >, 365), it works but does not correct 100%
Please help me...
Thank you very much
Check this link cool - bi.com
-
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#")
-
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.
JeremyIts 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.
-
Multiple values for the same column in the columns of diffétent in the same row?
Hi all
I wonder how you can display different values for the same column in different columns on the same line. For example, using a CASE statement, I can:
CASE WHEN CODE IN ('1 ', ' 3') THEN COUNT (ID) AS 'Y '.
CASE WHEN CODE NOT IN ('1 ', am') THEN COUNT (ID) AS "N".
Yes, that will produce two columns but will produce null values to empty and also two separate registers.
Any ideas?
Thank youAre you sure that this code works for you?
Select ID ,CASE WHEN MODE_CODE IN ('1', '3') THEN COUNT( No) END as "Fulltime" ,CASE WHEN MODE_CODE NOT IN ('1', '3') THEN COUNT( No ) END as "Other" From table group by ID
I guess the code above fails because MODE_CODE is not in your group by?
My suggestion would be to put the CASE in the COUNT:
Select ID ,COUNT(CASE WHEN MODE_CODE IN ('1', '3') THEN No END) as "Fulltime" ,COUNT(CASE WHEN MODE_CODE NOT IN ('1', '3') THEN No END) as "Other" From table group by ID
CASE expressions return no. when the respective conditions are true and NULL otherwise.
COUNTY will have non-null values.
Maybe you are looking for
-
my connection on my IMac page does not expire... It remains on
my connection on my IMac page does not expire... It remains on
-
How do the smaller letters in the mail?
When I go to the emails, all the letters are so large that only about 4 or 5 mails can be there at the same time.need to know how to make them smaller.
-
Where the documents are stored?
I scanned a document using my Canon application and selected the option to save as a PDF on my mobile device. I can not for the life of me find where it is stored - is not in iBooks or any other PDF reader that I have on my iPad. Any ideas, please?
-
Audio fades in and out on m9400t
The noise began fading in and out while watching television on my Media Center m9400t. Has anyone seen cela or have any ideas on a fix? I use the audio material deault Realtek, no optional sound card. Message edited by Big_Al12 on 04/13/2009 06:22M
-
Satellite A500 - updates causing blue screens
Hi all An update happens, I get blue screen every time crashes, System Restore to a previous point, but then wants to redo the updates? I'm going along in circles No idea what to do? Thank you