Problem with interactive report
Hi all
I use Apex 4.2
I have an interactive in which I activated the filtering and sorting.
When I click on one of the column in the interactive report, saying: "LAST NAME", it shows me the filtering and sorting options drop down.
The poster also available name drop extracted from the query, but it shows me some range of name pronounce A - C only.
I have family with starting with another letter also names, but those names are not displayed.
For some columns displays the values of A to E, but not the full list.
How to display the entire list in this fall down.
Kind regards
Jean-Louis Patel.
Hi Alice,.
Because of interactive report performance, it loads only a few filters.
If you change the column definition for the column, under set the Filter Type of column to one of the other options like 'User defined list of values to exact match filter' from the list of values. You can then specify the query used to generate this list. You could use something like what listed below to grab the first 20000 records.
Select *.
from (select name
WCP
em order by name)
where rownum<=>=>
But don't forget, it will always affect your performance of interactive report page.
Or alternatively, you can use this link:
http://tpetrus.blogspot.in/2012/05/interactive-report-filtering-in-apex.html
-Sunil Bhatia
Tags: Database
Similar Questions
-
4.2 - column link works only with interactive report (IR)
Greetings-
I have a screen with an interactive report (IR) and a tabular report on it. There is a radio button used to switch between them, of course, both of them have conditional logic based on this button. If the tabular report is the default value, everything works fine. If the interactive report is the default, then the 'link' on the IR used to display single details comes in white.
Note that if the IR is by default, but you switch to tabular and then back to IR before trying to put in place the single record view, fine. It's almost as if something is not be instantiated unless the table view is loaded.
The option button and the two reports are in the same region.
Anyone has any idea on this?
Thank you
Scott
Published by: DenverScott on April 30, 2013 09:14
Published by: DenverScott on May 2, 2013 05:31OK, I looked inside. It is a common problem, but you have reached a particular example of this, because it seems that you need not the value of P2_REPORT_SELECTOR in your SQL for IR.
BUT do you it because you have on your health.So, there are two simple ways to solve this problem. As I mentioned previously.
1. you must fill in the field "Page elements must send" in the IR with P2_REPORT_SELECTOR
I did it.
What it does it does the value of P2_REPORT_SELECTOR available in persistent session state so that the AJAX call can seen that the condition is met and that the report should be displayed/rendering.2. the other option is a calculation on P2_REPORT_SELECTOR who rule on 1 when P2_REPORT_SELECTOR is set to null. I left this calculation, but it set to never right now. It's the same effect net because calculations save values to persistent session state.
Without the value of P2_REPORT_SELECTOR to persistent session state, the value is only in memory during rendering. That's why the page renders correctly. BUT so that the report to switch to the display of the page one needs to know the value of P2_REPORT_SELECTOR and the value was NOT in permanent session state, therefore not available for the AJAX call, which updates the State.
Same thing when VC has been sent, it saves the value of P2_REPORT_SELECTOR in persistent session state. Same as switching the button radio.I hope this help out you.
-Jorge -
Problem with the report and the system of axis 2d
Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.
What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).
With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.
I tried everything, but I could not remedy
I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)
Any help will be appreciated, thanks in advance
Ierman
I'll post my code here:
Dim Xscale, Yscale
XScale = Array (0,25,0,5,49)
Yscale = Array(-0.2,0.2,-0.2,10,4)
Call PicDelete()
Call GraphObjNew ("2D-Axis", "2DAxis1")
Call GRAPHObjOpen ("2DAxis1")
D2AxisTop = 1D2AxisBottom = 70
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_1")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale (0)
D2AXISYEND = Yscale (1)
D2AXISYORIGIN = Yscale (2)
D2AXISYTICK = Yscale (3)
D2AXISYMINITICK = Yscale (4)
Call GRAPHObjClose ("2DYAxis1_1")
Call GRAPHObjOpen ("2DXAxis1_1")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale (0)
D2AXISXEND = Xscale (1)
D2AXISXORIGIN = Xscale (2)
D2AXISXTICK = Xscale (3)
D2AXISXMINITICK = Xscale (4)
D2AxisXTxt = ""D2AxisXColor = 'black '.
D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_1")
Call GraphObjNew("2D-Curve","New_Curve")Call GraphObjOpen ("New_Curve")
D2CCHNX = "[1] / [1]" "
D2CCHNY = "[1] / [2]" "
D2CurveColor = "red".
Call GraphObjClose ("New_Curve")
Call GRAPHObjClose ("2DAxis1")Dim Xscale1, Yscale1
Xscale1 = Array (25,50,0,5,49)
Yscale1 = Array(-0.2,0.2,-0.2,10,4)
Call GraphObjNew ("2D-Axis", "grafic")
Call GRAPHObjOpen ("grafic")
D2AxisTop = 40D2AxisBottom = 37
D2AxisLeft = 1
D2AxisRight = 1
Call GRAPHObjOpen ("2DYAxis1_2")
D2AxisyScaleType = "manual".
D2AXISYBEGIN = Yscale1 (0)
D2AXISYEND = Yscale1 (1)
D2AXISYORIGIN = Yscale1 (2)
D2AXISYTICK = Yscale1 (3)
D2AXISYMINITICK = Yscale1 (4)
D2AxisYTxt = "" ' testo asse label y
Call GRAPHObjClose ("2DYAxis1_2")
Call GRAPHObjOpen ("2DXAxis1_2")
D2AxisxScaleType = "manual".
D2AXISXBEGIN = Xscale1 (0)
D2AXISXEND = Xscale1 (1)
D2AXISXORIGIN = Xscale1 (2)
D2AXISXTICK = Xscale1 (3)
D2AXISXMINITICK = Xscale1 (4)
D2AxisXTxt = «»D2AxisXColor = 'black '.
D2AxisXTickAuto = 1
D2MTickLineWidth (1) = 0.1
D2MTickLineType (1) = "solid".
D2AxisXTickSize = 60
D2AxisXTxtAutoCo = 0
D2MTickColor = "red".
Call GRAPHObjClose ("2DXAxis1_2")
Call GraphObjNew("2D-Curve","New_Curve1")Call GraphObjOpen ("New_Curve1")
D2CCHNX = "[1] / [1]" "
D2CCHNY = "[1] / [2]" "
D2CurveColor = "red".
Call GraphObjClose ("New_Curve1")
Call GRAPHObjClose ("grafic")Hi lerman,.
Here is an edited version of your code that works on my computer. A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels. The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.
Brad Turpin
Tiara Product Support EngineerNational Instruments
-
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.
-
Problems of interactive report PL/SQL - current function or Collections
Hello
I have a report where I want either to limit the return by date or return the set. PL/SQL has not worked in the interactive report (is it available in 3.2?) then my second idea (2 reports, one for each option) didn't work as you can have more than one IR on a page. Looking here I found people of other leaders here for collections and here for common functions.
OK I finally got the thing of collections (did not know that "function_returning_query" would be replaced by your code) but I'm not sure, it can be used in my situation? I want it to be dependent on a LOV on the page with my code predicted as:
If the value of: P5_DAYS would need to go somehow, can it be passed as a parameter?DECLARE q VARCHAR2(30000); BEGIN q := 'select UPD_ID, PROJECT,DATABASE,REF,DESCRIP,STATUS,PERSON, TO_CHAR(INS_DATE, ''HH24:MI DD-MON-YY'') AS INS_DATE from TBL_ENV_LOG'; IF :P5_DAYS != 1337 THEN q := q || ' where TBL_ENV_LOG.INS_DATE >= TO_TIMESTAMP(SYSDATE - :P5_DAYS)'; END IF; q := q || ' order by TBL_ENV_LOG.INS_DATE desc'; return(q); END;
Is there another way to do this? A lot of hidden fields is boring :/
Edit: I've used a CASE statement for a column before, could I use it for all queries?
Mike
Published by: Gerd on October 14, 2009 10:45This should however?
SELECT UPD_ID, PROJECT, DATABASE, REF, DESCRIP, STATUS, PERSON, TO_CHAR (INS_DATE, 'HH24:MI DD-MON-YY') AS INS_DATE FROM "#OWNER#"."TBL_ENV_LOG" WHERE (TBL_ENV_LOG.INS_DATE >= TO_TIMESTAMP (SYSDATE - :P5_RAD) AND:P5_RAD != 1337) OR (:P5_RAD = 1337) ORDER BY TBL_ENV_LOG.INS_DATE DESC;
(I have not checked this very well, but you get the idea)
See you soon
Ben
-
Problem of interactive report performance through data link
Hi gurus,
I have an interactive report that retrieves values from two joined tables, all two places on the same remote database. It takes 45 seconds to complete (refresh) a page after the issuance of a search. If I take the actual selection that is generated by the apex (the one with count (*) ()...) and run it from sql environment, it takes 1 or 2 seconds. What on Earth consumes the rest time and how to speed this up? I would like to awoid, create and maintain local if possible materialized views.
Concerning
SAMOHello
APEX should normally return the full result for the use of paging (where you put something in the sense to see the x - y of z), it changes, or the maximum number of lines can greatly affect performance.
The site led indicator would need to refer in the name of the view, but can be a little finicky with that sort of thing. The suspicion of materialization only works for requests under weighted (in a ' WITH bla AS (SELECT / * + MATERIALIZE * / * FROM etc. etc.)). They tend to materialize in any case and its better not to use advice like this for production code unless there is absolutely no other choice, but just sub factoring without advice can often have a profound effect on performance. For example
WITH a AS ( SELECT c1, c2, c3, c4, c5 FROM schema1.view1) , b AS ( SELECT c1, c2, c3 FROM schema1.view2) SELECT * FROM a, b WHERE a.c5 = b.c3
Can produce a different plan or even just sub factoring one of the outside tables can have an effect.
You need to try things here and experience and keep watching the execution plans. You must also replace fetch of row of toads to be all 9 to get a real idea of the performance.
Let me know how you go.
See you soon
Ben
http://www.munkyben.WordPress.com
Don't forget to mark the answers useful or correct ;)Published by: Munky on September 29, 2009 13:41
-
Apex 4.2.5: Problem with region report width to 100% in 26 theme
For one of my interactive reports, I chose the width 100% region report, but it is not displayed in full width on my computer screen portable 16:9.
Y at - it no additional parameters to fix?
Other areas of work.
Kind regards
-Wilfried
Depends on the parent area / page.
Do you know if the content inside a table? If so, check the width of the td tag.
-
Using ROWNUM with interactive report
Hi guys,.
I want to use #ROWNUM # to add the attribute 'id' to 'tr elements '. I can do that for classical report by changing the template. But I can't change the model for IR (interactive report). I add < tr #HIGHLIGHT_ROW id # = "#ROWNUM #" > to the report model classic section 'before each Row.
But I can't do that for IR. You have an idea?
Kind regards.You don't really have the code. From your code, it seems as the parameter 'el' is the DOM of your TR element, and therefor there is no need your long selector chain.
Just do the DOM element in a jquery object and start from there:$(el).children("td[headers='STARTNOTIFICATIONID']").text()
-
Problem with interactive buttons
Hi all
I seem to have trouble with interactive buttons.
InDesign CS5 - Version 7.0.3
I create a document with 2 pages (Pages face is checked).
Add a text box to each page, Page it says "1" text box and two page says '2 '.
Text box on page two I right click and select Interactive | New hyperlink Destination - Type: Page, Page: 2, Zoom adjustment: fixed
On the Page, one I add a sample since the button panel button.
I select the button and then display the button panel.
I delete the default "Go To URL" action and add a 'Go To Destination' action using the event to "on release".
When I preview the page in the "Preview" Panel, I click "Play" and that he can see the first page and the (large) button, but when I click on the button, nothing happens.
Changes of mouse I have the mouse on the button, the button state changes rolling State... everything seems good, but it is not actually exercise the action of going to the next page.
I tried the export in PDF and ensuring that 'Include bookmarks' and 'Référence' is checked so that ensuring that 'create PDF containing the tag' is checked, but the exported pdf file does not work the action!
What I am doing wrong? It seemed so easy when I watched some video tutorials on how to do it.
Any help would be appreciated.
Thank you
Andy
You export to PDF (Print), by the sound of it, and the buttons do not work in Print PDF. Try to export to PDF (Interactive).
And ID update for 7.0.4
-
Problem with interactive PDF on MAC does not not on PC
I'm an interactive PDF that will be sent to many people.
The PDF file contains links that open other PDF files. These all work perfectly on Mac. When on a PC the half opened, half don't. I don't know much about PC at all, they use acrobat pro V9.
Has anyone encountered this problem? and know a solution?
The files are always kept at togther connects so broken arnt
Thank you
Grace
Thank you. Solved the problem, I Redid the folder with the links, that worked.
Something went funny obiously in the folder!
-
Problem with output report layout
Hi friends,
This isn't problem Oracle D2K. ;)
I did a report in Oracle PL/SQL. And, when I spool the data he fragments he came out in several lines. Despite I took in charge of the issues.
Now, let me explain->
I used a function in pipeline and store the result using the command of the coil.
What I found strange, this is the type of object that is a clob data type is split in fact lines after 80 characters as in the case of string, it continues to 4000 characters.
Now, in my solution, ordering channels made big role as all the lines indicate a different meaning and so pinched the data accordingly.
I did a small test in that regard, and I am paste here that - because I am not allowed to post here my original due to the policy of the company code.
Why is this it is break line after 80 characters? Alternatively, where I'm missing?scott>select * from v$version; ----------------------------------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod PL/SQL Release 10.2.0.3.0 - Production CORE 10.2.0.3.0 Production TNS for 32-bit Windows: Version 10.2.0.3.0 - Production NLSRTL Version 10.2.0.3.0 - Production Elapsed: 00:00:00.18 scott> scott>create table clob_dummy 2 ( 3 cola clob 4 ); Table created. Elapsed: 00:00:04.40 scott> scott>insert into clob_dummy values('&clb'); Enter value for clb: Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdj dbs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgsdklghlahgkh lahgkas lhks kglaks gksh a old 1: insert into clob_dummy values('&clb') new 1: insert into clob_dummy values('Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio po 1 row created. Elapsed: 00:00:00.08 scott> scott>commit; Commit complete. Elapsed: 00:00:00.01 scott> scott>select * from clob_dummy 2 ; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd Elapsed: 00:00:00.27 scott>set long 400000 scott> scott>set lin 2000 ---- As you can see i've set the linesize to 2000 scott> scott>set serveroutput on scott> scott> scott>select * from clob_dummy; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgs dklghlahgkh lahgkas lhks kglaks gksh a Elapsed: 00:00:00.11 scott> scott> scott>select length(cola) res from clob_dummy; RES ---------- 199 Elapsed: 00:00:00.08 scott>insert into clob_dummy values('&clb') 2 ; Enter value for clb: ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhkl hkddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehglegighsihdlk eltiweyt ilhdhgehgisehbkd old 1: insert into clob_dummy values('&clb') new 1: insert into clob_dummy values('ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhld 1 row created. Elapsed: 00:00:00.03 scott> scott>commit; Commit complete. Elapsed: 00:00:00.08 scott> scott>select * from clob_dummy; COLA -------------------------------------------------------------------------------- Enter value for clb: gfhjtuioep mnhjkie rt-hlospd. ngktio pokdnebtt, gkhohphpdjd bs wmqksxnd - kfnfdkdldkdkdkdkdkdkdkdkdbdsjgdvj h geg.jv ehh shgghsga wshkwlsgs dklghlahgkh lahgkas lhks kglaks gksh a ssjfsjgskjhghsgskgkksl hgeldhldlkskhdlk dklhkdlkhlkdlhdkfhldkhkhdkhkdhkdhkdkhklh kddkhdkhdkl djhlkdkhdhkshlkd dkhdkhldsjhkslhjd eutywe 398863694 i230e ehgd ehgle gighsihdlk eltiweytilhdhgehgisehbkd Elapsed: 00:00:00.11 scott> scott> ----- Still it is breaking the line after 80 characters.
But when I changed the varchar2 data type, it is good way.
May I know what is the reason? Then I fixed using the clob data type? Or will I have to change to varchar2? Because, I need only single record line (any size is - this - but of course oracle time) when I wrap the output to a file.
Please share your thoughts with me.
Thank you.It may be related to longchunksize SQL layout * more. Have you tried a similar to your set linesize value assignment:
set longc 2000
It can also be bound to the version of SQL * more you use. I notice some differences between sqlplus (command line version) and sqlplusw (the windows gui version)
-
Problem with the report as a button link
Apex 3.2
I had a relationship with a column of link to another page.
The user wanted a button instead of one of the standard icons, so I change the link text to
< button type = "button" > Clean < / button >
If I use firefox, then this link works very well, but in IE, nothing happens when I click on the button.
Gus
Hello
Perhaps this example help
https://Apex.Oracle.com/pls/Apex/f?p=39006:35
I created request report
SELECT empno, ename, job, APEX_UTIL.PREPARE_URL('f?p=&APP_ID.:37:&APP_SESSION.::&DEBUG.::P37_EMPNO:' || empno,NULL,3) AS linkurl FROM emp
Then I change the LINKURL Link Text column
Link attributes
class="hideMe508"
Target URL and URL # (sharp right)
Kind regards
Jari
-
I got in trouble for days.
I have an updated report updated
It works well and data are saved using a process pageselect p.system system ,p.config config ,apex_item.display_and_save(9,p.jobname) jobname ,apex_item.display_and_save(3,p.parameter) || APEX_ITEM.MD5_CHECKSUM(p.parameter,p.value_char,p.value_number,to_char(p.value_date,'dd.mm.yyyy'),p.param_set) || apex_item.hidden(2,rownum) parameter ,p.value_char value_char_current ,APEX_ITEM.TEXT(4,p.value_char,20,128) value_char_new ,case when p.parameter in ('OBJINCID', 'HISTTRANSFERID') then '<span style="color:#000000;font-weight:bold">'||p.value_number||'</span>' else to_char(p.value_number) end value_number_current ,APEX_ITEM.TEXT(5,p.value_number,10) value_number_new ,case when p.parameter = 'TRANSFERDAY' then '<span style="color:#000000;font-weight:bold">'||to_char(p.value_date,'dd.mm.yyyy')||'</span>' else to_char(p.value_date,'dd.mm.yyyy') end value_date_current ,APEX_ITEM.DATE_POPUP2(6,p.value_date,'DD.MM.YYYY','15','10','style=""',null,null,null,null,null,'both',null,'MONTH_AND_YEAR') value_date_new ,apex_item.display_and_save(7,p.param_set) param_set ,apex_item.display_and_save(8,p.param_type) param_type from etl_job_param p, etl_job_config c where p.config = substr(:P285_CONFIG,instr(:P285_CONFIG,'_')+1) and p.system = :P285_SYSTEM and p.system=c.system and p.config=c.config and p.jobname=c.jobname order by jobsequence
What I have to do is set the value of column value_number_new to null if another pass has a certain value.declare v_count_failed number := 0; v_count_updated number := 0; v_count_failed2 number := 0; v_count_updated2 number := 0; begin for i in 1 .. apex_application.g_f02.COUNT loop --{ if wwv_flow_item.md5(apex_application.g_f03(i) ,apex_application.g_f04(i) ,apex_application.g_f05(i) ,apex_application.g_f06(i) ,apex_application.g_f07(i) ) <> apex_application.g_fcs (i) then --{ p_sup_mnt_apx.pr_230_update_params( :P285_SYSTEM -substr(:P285_CONFIG,instr(:P285_CONFIG,'_')+1) ,apex_application.g_f09 (i) ,apex_application.g_f03 (i) ,apex_application.g_f07 (i) ,apex_application.g_f04 (i) ,apex_application.g_f05 (i) ,to_date(apex_application.g_f06 (i),'DD.MM.RRRR') ,apex_application.g_fcs (i) ,v_count_failed ,v_count_updated); v_count_failed2 := v_count_failed2 + v_count_failed; v_count_updated2 := v_count_updated2 + v_count_updated; --reset variables v_count_failed := 0; v_count_updated := 0; --} end if; --} end loop; :P285_COUNT_FAILED := v_count_failed2; :P285_COUNT_UPDATED := v_count_updated2; END;
So I replaced
with,APEX_ITEM.TEXT(5,p.value_number,10) value_number_new
It appears correctly, but database update fails.,case when p.parameter in ('OBJINCID', 'HISTTRANSFERID') then null else APEX_ITEM.TEXT(5,p.value_number) end value_number_new
If I put the old code and just manually delete the data in the form and save, then it works.
Please help, it drives me crazy
Gus
Published by: Gus C February 6, 2013 03:24It should work for you now. It allows the management of exceptions.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
http://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
I have a report that uses a custom model.
Light blue 15 theme it worked fine.
I changed my theme to 21 scarlet and copied the model, but is no longer functions, that is to say the highlight is ignored
My report is
All the passes are passes standard reportselect owner, table_name, partition_name, subpartition_name, to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') update_time, to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss') previous, to_char(latest-previous,'dd.mm.yyyy hh24:mi:ss') duration, case when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 120 then 'CC0000' when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 90 then 'FF0000' when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 60 then 'FF6600' when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 30 then 'FF9900' when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 20 then 'FFCC00' when (to_date(to_char(latest,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss')-to_date(to_char(previous,'dd.mm.yyyy hh24:mi:ss'),'dd.mm.yyyy hh24:mi:ss'))*24*60 > 10 then 'FFFF00' else 'FFFFFF' end BG_COLOUR from ( select da.owner, da.table_name, da.partition_name, da.subpartition_name ,(da.stats_update_time) latest, nvl((select max(stats_update_time) from DBA_TAB_STATS_HISTORY where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS')) and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time < (da.stats_update_time)),to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss')) previous from ( select owner, table_name, partition_name, subpartition_name, stats_update_time from DBA_TAB_STATS_HISTORY where (owner like ('%ADMIN') or owner in (select username from dba_users where default_tablespace='USERS')) and stats_update_time >= to_date(:P840_START_DATE,'dd.mm.yyyy hh24:mi:ss') and stats_update_time <= to_date(:P840_END_DATE,'dd.mm.yyyy hh24:mi:ss') order by stats_update_time asc) da)
My model is
Model name column Type (model line)
Custom class 1 template
Line Template1
Any help appreciated<tr style="background-color:#8#;"> <td style="background-color:#8#;" class="t15data">#1#</td> <td style="background-color:#8#;" class="t15data">#2#</td> <td style="background-color:#8#;" class="t15data">#3#</td> <td style="background-color:#8#;" class="t15data">#4#</td> <td style="background-color:#8#;" class="t15data">#5#</td> <td style="background-color:#8#;" class="t15data">#6#</td> <td style="background-color:#8#;" class="t15data">#7#</td> </tr>
GusGus C wrote:
I changed the template with your code, but still no formatting.
It's the source of the page
Owner | Table Name | Partition Name | Subpartition Name | Start Time | End Time | Duration |
---|---|---|---|---|---|---|
DWHADMIN | CPO_LOAD_STATISTIC | - | - | 10.01.13 21:00:37 | 10.01.13 21:00:04 | +000000000 00:00:33.346524 |