Interactive report - this month
Hellois it possible to set a default interactive filter to display records for this month only? It is an application of timesheet and it would be very nice to have it done automatically instead of setting a manual filter each month.
TNX
You can specify it directly in the interactive repeort request you...
Select * from table_name where to_char (myDate, "mm") = to_char (sysdate, 'mm')
Kind regards
Shijesh
Tags: Database
Similar Questions
-
create table test
(
The user ID number,
created_on date
)
Insert into test values(1,'03/11/2014');
Insert into test values(1,'03/27/2014');
Insert into test values(1,'04/14/2014');
Insert into test values(1,'02/20/2015');
Insert into test values(1,'02/27/2015');
Insert into test values(2,'03/10/2014');
Insert into test values(2,'03/19/2014');
Using http://www.Oracle-and-apex.com/plugin-month-picker/ in report interactive apex:-
I want the answer which is the maximum date of the month and year
for a specific user for the month selected
For example if I chose March 2014
as input is 03-2014
so it should display
username created_on
1 27/03/2014
2 03/19/2014
Help, please
oracle 11 g r2 database version
Apex Oracle version 4.2.4
ReemaPuri wrote:
create table test
(
The user ID number,
created_on date
)
Insert into test values(1,'03/11/2014');
Insert into test values(1,'03/27/2014');
Insert into test values(1,'04/14/2014');
Insert into test values(1,'02/20/2015');
Insert into test values(1,'02/27/2015');
Insert into test values(2,'03/10/2014');
Insert into test values(2,'03/19/2014');
Http://www.oracle-and-apex.com/plugin-month-picker/ in report using interactive apex: -.
I want the answer which is the maximum date of the month and year
for a specific user for the month selected
For example if I chose March 2014
as input is 03-2014
so it should display
username created_on
1 27/03/2014
2 03/19/2014
Help, please
oracle 11 g r2 database version
Apex Oracle version 4.2.4
Based on the information provided:
select userid , max(created_on) from test where created_on >= to_date(:p1_month_picker, 'mm.yyyy') and created_on < add_months(to_date(:p1_month_picker, 'mm.yyyy'), 1) group by userid
However, I suspect that the information provided is not the full story...
-
Disable "Save report" does no effect in an interactive report
Hello
When I turn off the checkbox "Save report" in the attributes of a report interactive report, this has no effect. The menu item "Save report" is displayed when I press the button 'Actions'.
Is this a bug or I missed something?
Kind regards
ArndtHello Arndt,
After that you clear the check box 'Save the report', if you run the application when you are connected to the workspace, then you will see always the menu item "Save report" when you click on the "Actions" button Run the application from outside of the workspace, then you will not see the menu "save report".
When the "Save report" check box is disabled, you will see a * next to the menu item "save report" when you run the application from the workspace.
Thank you
Machaan -
In passing a filter in an interactive report + hiding a filter of the end-user
Hello
I'm passing a predefined filter in an interactive report, this report opens with records, filtered to a specific value.
The user selects the value in a previous page, then, when he press the 'next' button, the interactive report opens with documents related to his selection only.
But! The filter is displayed in the search bar, and end users can delete it.
I need to disable or hide the filter, so that the user will not be able to remove it!
Thank you very much for the review!Looks like you shouldn't make it an IR filter but just pass on a hidden element and add a where clause clause that limits this value - this way, your users can filter even more by using all the features of IR, but inside where the clause you have in backstage.
-Sharon
-
Is this too much to expect in Apex 5.01?
I have an application which records people entering an area.
The idea is to scan badges and save time and the date of that entry.
This is accomplished with a simple form based on the table of the newspaper.
In a subregion of the form, I would have an interactive report that shows to all those who have entered sort by date and time entry descendant who visited today is obvious.
I join the attendant to be able to use the interactive report to be able to select a particular line that could be recovered and placed in the main form to change (a bit like the model of interactive report with a link to a form where updates can be made.)
I can create the report form and the subregion and that seems to work very well for journal entries, but I don't have a clue as to how I would go on the use of the report for access to update data in the form section.
I would be eternally grateful if someone could point me in the right direction!
Is this something that is hard to do in Apex?
Thank you!
Mason
Masong says:
Is this too much to expect in Apex 5.01?
I have an application which records people entering an area.
The idea is to scan badges and save time and the date of that entry.
This is accomplished with a simple form based on the table of the newspaper.
In a subregion of the form, I would have an interactive report that shows to all those who have entered sort by date and time entry descendant who visited today is obvious.
I join the attendant to be able to use the interactive report to be able to select a particular line that could be recovered and placed in the main form to change (a bit like the model of interactive report with a link to a form where updates can be made.)
I can create the report form and the subregion and that seems to work very well for journal entries, but I don't have a clue as to how I would go on the use of the report for access to update data in the form section.
I would be eternally grateful if someone could point me in the right direction!
Is this something that is hard to do in Apex?
Not at all. Try to use the wizard to create a Page to create a form on a Table with report based on the table of the newspaper (choose Normal for page mode and Interactive for the implementation of the report). When finished, separate report and pages of form will have been generated. Go to the report page and copy the region interactive report on the page of the form. The report page can then be deleted if it is not required.
-
Yellow triangle warning icon in interactive report Apex 5.0 - what is - this?
I have a very simple application with a few interactive reports. The application was developed in 4.2 Apex using the theme of productivity Applications. It has been upgraded to Apex 5.0 and I spent so that it uses the new universal theme. During the execution of the IR, the first column in the report contains an icon in the shape of a yellow triangle with an exclamation point inside, just the one in the middle of a frame surrounding the data in the report. I have no idea why this icon is there and assume it's some kind of warning icon. The report works very well and there is no message any indicating why the column with the icon is there. The Advisor gives no clue either so can someone tell me what it is and why it is there? Demand for production still works with the original theme 5.0 Apex and does not suffer from the same problem. Here is a link to a screenshot showing what it looks like
http://i.imgur.com/6jSEBu3.PNG
Thank you
Steve
Hi Steve,.
I think it's the model of the region:
Jos
-
Ideas for work around ORA-06502: character string buffer too small on the interactive report
Hello
It comes to Apex 4.2. We try to create an interactive report. The report is for something similar at a follow-up time. We try to concat a comments column as the sum of the hours. For example,.
Select TASK_NAME, sum (HOURS), to_char (XMLAGG (XMLELEMENT(E,E.COMMENTS ||) ' : ')). Extract ('//Text ()'). GETSTRINGVAL()) USER_COMMENTS of...
This query works fine if we seek only to a window of 1 week. The question that we live, when we expand the scope of the query to include data from 3 months, we hit ORA-06502 interactive report. If we remove this column from the interactive report, then the report works very well.
Anyone has any ideas on how we might be able to work around this problem? I'm guessing we're reached the limit of 32 k on the report. Ideally, we would show just the last X number of comments and then have a link to show all comments
Any help would be appreciated
Thank you
Mike
ListAGG raises an ORA-01489 for varchar2 > 4000 bytes
OP has an ORA - 06502--> IR is running within a limit of 4 k / 32 k.
quick fix: wrap USER_COMMENTS ListAGG in a substr (..., 1, 4000)
Longer solution, use a subquery to modify comments based on ROW_NUMBER() (IE after the nth line, change the null)
with -- simulating data t as (select task_id, sysdate - lv as date_entered ,round(dbms_random.value(1,24)) hours , '-*' || lv || '.' || task_id || '*-' as user_comments from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000) ), -- modify data modified_data as ( select task_id, hours, date_entered ,case when row_number() over (partition by task_id order by date_entered desc) < 5 then user_comments else null end USER_COMMENTS from t) select task_id, sum(hours) total_hours, listagg( user_comments ) within group (order by date_entered desc) || case when count(*) >= 5 then '! MORE COMMENTS !' else null end as user_comments from modified_data group by task_id;
-
LOV POP classic report not in an interactive report
My version of oracle application Express for Oracle 11g
Dear Forum
We need a CLASSIC report where I can define what information will my report.
For example:
My report contain
ID NAME DATE
In the Drag and Drop layout, I created two cause of gatherers of data I need to choose between Date_picker_1 and Datepicker_2 information. two of them correspond to this DAY
In my area source classic report, I write something like this:
SELECT id, name DATE where between: Date_picker_1 and: Datepicker_2 can Ichoose months but nothing happen.
I know you can do this, but my boss in the interactive report don't ' like interactive report (I don't know why) so my problem is in the classic report.
Danny Lima
Ecuador
PD: I'm not speak English very wellHey Danny,
It works now, one thing lack you submits the value of items in session state.
Edited your dynamic action and added a real action Run of PL/SQL Code with sequence 1 before the refresh action
Thank you
-
Limit lines in an interactive report by USER ID or NAME
I'm fairly new to Apex and very vey would appreciate your help. We currently use Aplicaiton Express 3.2.1. I'm trying to limit the display of the lines in an interactive report by USER ID in my APP_USERS table, which contains the following columns:
APP_USERS
NAME
RID
E-mail
ROLE
The table my interactive report based on includes the following columns:
SC_TABLE
MONTH
NAME OF THE USE
LM_NAME
ETC... (numberical data columns)
I use an authentication scheme that verifies users RID when you access my application of our work network.
The process of information flow is the Manager of the line between data in a form and chooses his name in a LOV based on the APP_USERs table. Once submitted they can access the interactive report.
My goal here is that, when a line Manager accesses the interactive report only the emplooyes rows that match their name in a column of the report OR their identity card of the APP_USERs iarereturned. So no superiors can see or modify other hierarchical employee information.
I played adding SQL statements in the report area > Condition section but have not been able to come up with something that works. Any suggestions on how to implement this or tutorials you know that might help.
Thanks for your help,
Edited by: Ewaver February 11, 2012 15:21Ewaver wrote:
My goal here is that, when a line Manager accesses the interactive report only the emplooyes rows that match their name in a column of the report OR their identity card of the APP_USERs iarereturned. So no superiors can see or modify other hierarchical employee information.
I played adding SQL statements in the report area > Condition section but have not been able to come up with something that works. Any suggestions on how to implement this or tutorials you know that might help.
This is known as Fine grain Access Control (FGAC) and is normally implemented using views or private virtual database (CAE) of Oracle functionality.
If you are allowed to use an Enterprise Edition database and to apply these restrictions, through the entire application, or across multiple applications, then use of private virtual database (DPV), with the VPD security attribute in APEX application security attributes to set the settings in your application. (A somewhat outdated article on the use of VPD with APEX is available.)
Should you not use EE, then you can roll your own VPD use parameterized views, once again using the security attribute VPD to set the context of the application.
I'll put up a demo application. How can I make sure that you have access to my demo app?
Create a developer of guest account in your workspace and after the workspace name and identification information sign in here.
-
Apex 4.0 how use the interactive report filter feature?
Hi all
Sorry for the nub question, but if there is a way to create and save 'report' with the filter condition using a function?
What I want to do is to create an interactive table called TASK report.
Table has two columns I want to use for filtering:
FDate - DATE - date
TDate - DATE - to date
Then, I need to create multiple saved reports:
last week the tasks = where FDate between sysdate - 7 AND sysdate...
last month tasks = where FDate between ADD_MONTH(sysdate,-1) AND sysdate...
but,
Interactive report filter does not accept sysdate or calls to functions ADD_MONTH.
Is there an easy way to configure this feature?
TIA
Thomas
Sorry for the double post...
Published by: thomaso on August 6, 2010 12:04Hi Thomas,
Take a look at the type of filter 'Row' in the interactive reports filter dialog box. This allows more dynamic filters, such as those involving SYSDATE or ADD_MONTHS calls. See also the next thread for some more details on this:
Re: Interactive report - line conditional highlighting date function
It will be useful.
Anthony.
-
Creating interactive reports Hyperion installation assembled lack?
Hello
Trying to install interactive of the Enterprise Performance Management suite version Reporting 11.1.2.4.0, downloading programs Client of EMP and the EPM System Release file1 system installation, File2 and File3 File4 on this download Hyperion Foundation Services downloads page as well as part 7 and Oracle HTTP Server since this Oracle Hyperion Interactive Reporting downloads page. I extracted them all in the same folder and when I go to install the components of interactive reporting is grayed out and I get the following errors:
EPMINS-01047: the Assembly biplus_core_services is missing. The Assembly is needed to install a selected component.
Status: EPMINS-01016: impossible to install the selected component. Click help to see the possible reasons.
I was wondering what I am missing in my downloads? What download includes the bi_plus_core_services Assembly?
Part 4 should be biplus_core_services
Also I recommend to download the files from https://edelivery.oracle.com/
See you soon
John
-
Interactive report with alternating lines - 5 APEX
Heyho guys.
I got a task to set alternating line colors in my interactive report.
IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.
I searched current debates and following this thread:
https://community.Oracle.com/thread/912414?TSTART=0
I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)
I pasted the following in my page header:
< script type = "text/javascript" >
IT IS THE INTERLACING
function decorateDataGrids (strClass) {}
var tables = document.getElementsByTagName ("table");
for (var i = tables.length; i-;)) {
If (tables.className == strClass) {}
var gridRows = tables [i] .getElementsByTagName ("tr");
for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
}
}
}
< /script >
< style >
/ * THIS REPLACES THE DEFAULT STYLES OF THE APEX * /.
table.apexir_WORKSHEET_DATA tr.even td {}
background-color: #F1F5FA! important;
}
table.apexir_WORKSHEET_DATA td {}
background-color: #FFFFFF! important;
border: 1px solid #B3B3A7! important;
padding: 4px 8px! important;
}
< / style >And called in my link to my column ID text field via:
"< img src =" "#IMAGE_PREFIX #edit.gif" alt = "" onload = "decorateDataGrids ('apexir_WORKSHEET_DATA'); ">
If I start the page now, nothing happens.
In the thread, we talk about bad SEO of the IR:
"OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.
So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »
But I don't understand how I'm doing the right reference.
Someone at - it an idea to get this race?
Thank you
pleNn
pleNn wrote:
Heyho guys.
I got a task to set alternating line colors in my interactive report.
IM using Oracle 11 g Database XE with APEX 5.0.0.00.31 2.
I searched current debates and following this thread:
https://community.Oracle.com/thread/912414?TSTART=0
I followed the comments written there and I tried with javascript, they spoke aboud (I'm a newbie using javascript)
I pasted the following in my page header:
for (var j = gridRows.length; j-;)) {If (j %2) {gridRows [j] .className = "even" ;}}
}
}
}
And called in my link to my column ID text field via:
If I start the page now, nothing happens.
In the thread, we talk about bad SEO of the IR:
"OK here's why the code does not work." When you use getElementsByTagName, you get a collection, not a single item.
So when you make the comparison to see if the class of the table is an ApEx IR type, you need to reference the current table, not the entire collection. As follows... »
But I don't understand how I'm doing the right reference.
Someone at - it an idea to get this race?
It's all totally obsolete with respect to the 5.0 APEX where interactive reports have been completely redesigned and rebuilt.
To complete the full version number of APEX, always indicate what theme and browser (s) / version (s) you use when asking questions of shape/layout visual layout.
To go from rank (Zebra) when you use the universal theme distribution in interactive reports, see Re: interactive report - no line scratched?
-
Footer text region appearing to the right of the BAR INTERACTIVE REPORT SEARCH page
We are the migration of Express 4.2.1 application at Apex 5.0.2
We use the 22 Bluejay theme.
In my interactive reports, I the text entered in the regions 'Header and footer' > footer text, including 4 Apex, rendering at the foot of the report.
The Apex 5, the same text renders in a new column to the right of the search bar of interactive report.
Is it a question of model, or a builder bug?
I can't find where in the model I can adjust the positioning of the text 'Footer region'
Gus...
I worked on it a little more.
just to say that I use the Chrome browser.
I worked as designer of the Page view and impossible to find using the attribute "footer text".
I went to the view of the component and found help.
It is said...
Enter a footer area to display directly after the body content (that is, after
#BODY#
in the model of the region) or instead of #REGION_FOOTER #, where this substitution string is defined in the model.So I added #REGION_FOOTER # div AFTER the body...
#BODY #.#REGION_FOOTER #.Hurrah! the footer is now in the right place...
Also, I noticed that if I placed an HTML element
in the text, footer text would be in the correct position without having to change the model.Gus...
-
On the interactive report currency symbol
Hello
I have an interactive report where I showed the book sterlling £ as currency symbol for sal column. By default sing it currency appears as $. To replace it, I used the below stated as a front page header:
run immediately "alter session set NLS_CURRENCY =" £"';"
SAL, column, I gave the below format:
FML999G999G999G999G990D00
It works very well and shows £ sign with number of salary on each line. The problem starts when I navigate to the next page, because it starts to show $ instead of £ unless I refresh the page.
Can anyone suggest a solution for the problem please?
I don't want to use TO_CHAR to set the currency symbol, because I want to keep the SAL column as a number so that I can sort my data on SAL and I can also group this column.
Thank you
Zoro
Hi 3140196,
3140196 wrote:
Please change your userid of "3140196" recognizable username. Reference: Video tutorial how to change username available
I have an interactive report where I showed the book sterlling £ as currency symbol for sal column. By default sing it currency appears as $. To replace it, I used the below stated as a front page header:
run immediately "alter session set NLS_CURRENCY =" £"';"
SAL, column, I gave the below format:
FML999G999G999G999G990D00
It works very well and shows £ sign with number of salary on each line. The problem starts when I navigate to the next page, because it starts to show $ instead of £ unless I refresh the page.
Can anyone suggest a solution for the problem please?
I don't want to use TO_CHAR to set the currency symbol, because I want to keep the SAL column as a number so that I can sort my data on SAL and I can also group this column.
Rather than use a use "before the" process page header"in the Application-> the shared components->-> Session-> Code PL/SQL to initialize the security attributes database as follows:
Reference: Currenty symbols using setting mask in the shape of FML in Apex.oracle.com
Kind regards
Kiran
-
To update the database by using selection lists in an interactive report
I use the Application Express 4.2.6.00.03.
I have an interactive report in two columns with a selection list in the second column. The generated query the report is
Select pn.project_name,
(Select APEX_ITEM. SELECT_LIST_FROM_QUERY(2, PN.) Batch, 'SELECT status_name d, r from RES_STATUS order by sequence batch', NULL, 'NO') of double) STATUS
of res_project_name_detail pnd, pn res_project_name
where pn.project_name_id = pnd.project_name_id
Now I need to find a way to change the database to reflect the changes made to a select list that appears in the second column (batch) as they are made. Are there any suggestions as to how this could be done? I have experience of limited Java script if a solution that I can use directly would be great.
Martin
Reference SebastianR
created a small example
https://Apex.Oracle.com/pls/Apex/f?p=28281:16:16619647501605:no:
WORKSPACE:-REEMATEST
username:-test
password:-test
application 28281
page 16
hope this helps you in some way
Maybe you are looking for
-
No ringing, call facetime with ipad
-
Hello I regularly encounter a problem where copy/paste doesn't work and drag and drop stops working as well. The console displays dozens of posts like this: Finder [315]: CFPasteboardRef CFPasteboardCreate (CFAllocatorRef, CFStringRef): Lock timeout
-
Portege R200: I can't select the resolution of 1680 * 1050 on external screen
Hello When you use an external monitor with my R200, I can't select the screen's native resolution (1680 * 1050). According to Intel, the Toshiba support page display driver is old (version 6.14.10.4267) and I need to install the latest version (6.14
-
Portege M400 - need to restore CD English
Hello I just got myself a nice M400 used - shame they aren't more shows like that in the new models. In any case, it comes with the original German recovery CD. All those who still have an English one that he would be willing to trade in Exchange for
-
How to CAN with Sbrio 9636 interface
Hello I use Labview 2011 and SBRio 9636 to communicate with controllers EPOS2 Maxon, who uses the CANOpen protocol for communication. Since then, SBRio has only library CAN shipped with it I just use it to monitor a network of communication already s