Control Break appearance in Interactive Report
Hi guys,
I'm using a control break on 3 columns in my report, but when doing this Apex shows the columns comma-separated, like:
Column A: value, Column B: value, Column C: value
But I would like it to look like:
Column A: value
Column B: value
Column C: value
Is there any way of achieving this?
I am currently working with the test environment Oracle supplied us, because we are testing if we can use APEX at our company.
The version is Application Express 4.2.2.00.11 and it's running on Oracle 11g. Im using Firefox but it's just the same in IE.
Just ask if you need any more info.
Thanks for the answers!
NDG
Message was edited by: NDG123, reason: deleted second question
I thought it would be there but I still can't find it :s
The templates I'm using are the following:
Templates
PageOne Level Tabs - No Sidebar
RegionInteractive Report Region
And I can't find "Row Template 1" anywhere on that page "Interactive Report Region" =/
Similar Messages
-
Problems with Page Break in an Interactive Reporting report
Hello everybody,
Platform: Hyperion System 9.3.1.
I have serious problems in managing the 'page break' in an Interactive Reporting report.
The report shows sales data by store, with article and colour details and it is organized like this:
group 1: geographic area
group 2: country
group 3: city
group 4: store
columns: article, colour
facts: quantity, price, value
My client's request is to perform a page break at the store group level, meaning that apart from the first store occurance, any change in the store value shoul start a new page.
The requested result is like this:
page1: geographic area1
country1
city1
store1
data store1...
page 2: store2
data store2...
page3: store3
data store3...
I tried several combinations of using Break After and Break Before on the store group, with Keep Next / Keep Together and it was impossible to obtain the desired result.
If I use Break Before the result is as follows:
page 1: geographic area1
country1
city1
page 2: store1
data store1...
page 3: store2
data store2...
If I use Break After the result is as follows:
page 1: geographic area1
country1
city1
store 1
page 2: data store1...
store 2
page 3: data store2...
even if I specify 'Keep with next' or 'Keep together' for store group and the store data table.
Any help will be very very appreciated because I've been trying for weeks to figure out this issue.
DanielaFirst start without using any of the Keep with Next and Keep together.
Second. try putting the Page Break in the Group Footer. You do not need to keep it visible
Then you may want to repeat headers on Store in case the Store's Detail rolls onto next page
Hope this helps
Wayne -
Chart not appearing in Interactive report
Hi,
I have a nice interactive report. When I try to display a chart using the tools of the report, nothing appears. There is only a message, a kind of progression message saying "loading xml..... 100%", and then nothing appears.
I am using Application Express 3.1.0.00.32.
Thank you for your answers.
ChristianHi Dimitri,
Firs of all thank you for your patience. I do not oblige you to answer or whatever. it was kind of showing you the error.
There are date columns but they were not selected for the chart.
SELECT
a."FICHE_ID" "N°",
b."AGENT_ID" "AGENT_ID",
b."NOM" || ' ' || b."PRENOM" "Agent",
a."EQUIPE_ID" "EQUIPE_ID",
c."LIBELLE" "Equipe",
a."DATE_ACTIVITE" "Journée",
a."TOTAL_HEURES",
a."TOTAL_HEURES_EXCEPTIONNELLES" "H. excep.",
a."FICHE_CREE_PAR" "Fiche créée par",
a."DATE_CREATION" "Le"
FROM
"OBSERVATOIRE"."FICHE" a,
"OBSERVATOIRE"."AGENT" b,
"OBSERVATOIRE"."EQUIPE" c
WHERE
a.AGENT_ID = b.AGENT_ID
AND a.EQUIPE_ID= c.EQUIPE_ID
AND (a.total_heures IS NOT NULL
OR a.total_heures_exceptionnelles IS NOT NULL)
group by a."FICHE_ID" , b."AGENT_ID" ,
b."NOM" || ' ' || b."PRENOM" ,
a."EQUIPE_ID" ,
c."LIBELLE" ,
a."DATE_ACTIVITE" ,
a."DATE_CREATION" ,
a."FICHE_CREE_PAR",
a."TOTAL_HEURES",
a."TOTAL_HEURES_EXCEPTIONNELLES"
ORDER BY
a."DATE_CREATION" DESCThank you
PS if you want we stay here, no problem I you do not want to go further with this thread. -
Default Style Column Breaking in an Interactive report
In a normal SQL report there are two types of column break formatting:
1) Default Breaking Format e.g.
aaa 123
456
bbb 789
123
2) Repeat Headings e.g.
aaa
123
456
bbb
789
123
Interactive reports seem to only implement Repeat Headings . Is it possible to break columns in an IR report using "Default Breaking Format"? If so how?
thanks
PaulPJB wrote:
Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
Oracle Application Express (APEX)
As interactive reports lack the HTML Expression feature of standard reports, the simple way to do this unfortunately requires violating the separation of concerns and generating structural (a <tt>span</tt> element) and presentational (an in-line style sheet) aspects in the query:
select
⋮
, case
when trunc(calling_date,'DD') = trunc(sysdate,'DD')
then
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span style="color: #3399FF;">' || to_char(calling_date) || '</span>'
else
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span>' || to_char(calling_date) || '</span>'
end calling_date
⋮For number/date columns to be properly sortable, the leading edge of the column must be an HTML comment that provides the required sort order using character semantics, as shown here.
The Display As column attribute for such columns must be set to Standard Report Column.
This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
Other approaches involve using Dynamic Actions/jQuery/JavaScript, or using the built-in highlight as suggested above, then saving the highlighted report as the default. -
I just add a control break in the interactive report and I'd like to show each rows for each control break in a new page,
or just add some new lines for each control break.
Is there a way to do this?
Thanks.Looks like a javascript problem. Go to a javascript forum and ask.
-
In alv report can i use control break events? if no .whay?
Hi all,
in alv report can i use control break events? if no .whay?hi,
you can use control break statements in ALV report.
for example: if one PO is having more than one line item, that time you need to display PO only once. -
Break line - Interactive report
Hi,
The interactive report does not show the ||utl_tcp.crlf||, is there a way to make this line break shown on interactive report? is there any thing I can use to break line will be shown in IR?
thanks,
Fadi.nferreri wrote:
This good and all until you try exporting to CSV and see a bunch of <br> in your data. :(
Going to continue searching to see if there is another option... would like to get line breaks (char 10) working so it's nice in exports but interactive report columns dont allow for CSS formatting either.See +{message:id=10404268}+
But please: DO NOT post follow-ups to closed/ancient threads.
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread if it is closed.
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
<li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
<li>You have no ability to mark posts as helpful or correct.
Post your requirements as a new thread, including at least the following information:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Links to related posts and threads (using the methods in the FAQ) -
Hi,
Can anyone tell if there's a way to override the default behavior of Control Break?
In my report (a schedule), I have a column that holds the values for days (monday, tuesday, etc.).
I want to control break on that column but keep the resulting grups ordered in a natural order (monday first, tuesday second and so on).
I can write the sql that generates my report that way by using decode, but once I Control Break apex is applying a new order by clause on my report, destroying my order.
Any ideas on how to tell apex how to order for control break using decode, or how to disable ordering entirely when I use Control Break on a specific column?
Thank you!
Edited by: user2130586 on May 17, 2012 6:40 AM
Edited by: user2130586 on May 17, 2012 6:41 AMWelcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already).
When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s)
With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
When asking a question about "reports" it's firstly essential to differentiate between standard and interactive reports. Which is it?
I suggest you take advantage of the opportunities provided by apex.oracle.com and reproduce the problem there... -
Sum of the sql query after a control break
Hi all,
I need some help about getting the final sum of the sql query after doing a control break in a dynamic report, ( the control break make me the sum of each report but didn't leave me the sum of all the query)
Thanks in andvance for your help !!
EricHave a look at the text_io package:
http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
cheers -
Interactive report with control break displays no data, until control break is unchecked
Hello,
I have an interactive report that is base upon a collection. When one first access the page the report shows no data(no errors are given) and the control break box is red. Once the control break box is unchecked, all the data is shown. Furthermore, navigating to another page causes the same issue.
Any idea into how I can solve this issue will be appreciated.
Thank you,
Apex 4.2
Oracle 11g 2.0.3
Apache Tomcat
GuyenkoVincent,
The aggregates are applied to each control break group, or, if you don't have any, then they're applied to the full report. So, in your case the "count" (= count of non-null values for a column, same as in SQL) should mean there is 1 non-null value in each group.
Does that description match what you're seeing?
- Marco -
Control break on column displayed as link in Interactive Report
Hi,
If someone can help me, i'd greatly appreciate it!
I created an interactive report - one of the columns has a link attached to url specified in the Report Attributes/ link section.
When I use the control break feature in the gear icon, the report seems to be grouped by the url/link and not by the actual column value.
When I remove the link from the column - all is fine and the break does work.
This column must get displayed as a link. Is there any workaround for this problem?
Thanks,
Hindy
Edited by: hindyp on Dec 2, 2009 7:33 AMHi,
I don't know the details of the procedure, but you would have something like:
CREATE OR REPLACE PROCEDURE "print_model_change"
v_acctnum NUMBER,
v_model VARCHAR2,
v_rrcode NUMBER
AS
BEGIN
.. DO SOMETHING WITH v_acctnum, v_model, v_rrcode
END;This needs to be updated to something like:
CREATE OR REPLACE PROCEDURE "print_model_change"
v_manager_model NUMBER
AS
BEGIN
DECLARE
v_acctnum NUMBER;
v_model VARCHAR2;
v_rrcode NUMBER;
BEGIN
SELECT ACCTNUM, MODEL, RRCODE
INTO v_acctnum, v_model, v_rrcode
FROM .. your report's FROM statement plus ..
WHERE MANAGER_MODEL = v_manager_model;
.. DO SOMETHING WITH v_acctnum, v_model, v_rrcode
END;
END;and followed by:
GRANT EXECUTE ON "print_model_change" TO PUBLICto make it available
The existing code receives all the data it would need (presumably). The updated code receives the manager_model value and, using the same FROM clause that you have for your report PLUS a WHERE clause (or, if you are using a WHERE clause in your report, change this to AND), finds the data that it needs for v_acctnum etc. After it has that data, the rest of the existing code can be used unchanged.
Andy -
How to export interactive reports with control break
Hi to all,
I have this interactive report:
select "Work ID", MA01_WORK_GROUP_ID, "Relco",
"Data Esecuzione", "Stato"
from (
SELECT ma01.ma01_work_id as "Work ID", ma01.ma01_work_type_id, ma01.MA01_WORK_GROUP_ID,
MA01.MA01_START_DATE as "Data Esecuzione",
MA01.MA01_END_DATE as "Data Fine Esecuzione",
(SELECT ma07.ma07_system_id
FROM mobi_aes.ma07_work_system ma07
WHERE ma07.ma07_work_id = ma01.ma01_work_id
--and ma07.ma07_SYSTEM_TYPE_ID = 10
and ma07.ma07_SYSTEM_TYPE_ID in (10, 70, 90)
AND ROWNUM < 2) AS "ID Contatore",
(SELECT ma03_value
FROM mobi_aes.ma03_work_metadata
WHERE ma03_work_id = ma01.ma01_work_id
AND ma03_name = 'FORNITURA') AS "Fornitura",
(SELECT ma03_value
FROM mobi_aes.ma03_work_metadata
WHERE ma03_work_id = ma01.ma01_work_id
AND ma03_name = 'RELCO') AS "Relco",
MA93.MA93_DESCRIPTION as "Stato"
FROM mobi_aes.ma05_work_status ma05, mobi_aes.ma01_work ma01, mobi_aes.MA93_STATUS_TYPE ma93, ma11_planning ma11
WHERE ma01.ma01_work_id = ma05.ma05_work_id
and ma11.ma11_WORK_ID = ma01.ma01_WORK_ID
and ma93.MA93_STATUS_ID = ma05.ma05_STATUS_ID
and ma05.MA05_STATUS_ID in ('AS','CO','NI')
AND UPPER (ma01.ma01_work_group_id) = DECODE(:P103_WORK_GROUP_ID,'-1',UPPER (ma01.ma01_work_group_id),:P103_WORK_GROUP_ID)
and trunc(ma11.ma11_start_date) >= DECODE(:P103_START_DATE,'-1',to_date('01/01/1970','dd/MM/yyyy'),to_date(:P103_START_DATE,'dd/MM/yyyy'))
and trunc(ma11.ma11_END_DATE) <= DECODE(:P103_END_DATE,'-1',to_date('31/12/9999','dd/MM/yyyy'),to_date(:P103_END_DATE,'dd/MM/yyyy'))
), mobi_aes.ma51_work_type ma51
where ma51.ma51_work_type_id = ma01_work_type_id
and ma51.ma51_work_type_id in (7,50)
I set a control break on the "Relco" column, so APEX generates correctly more "sub-report".
I need to export into csv file every single "sub-report".
Is it possible ?
Does another solution exist ?
Thanks for all
FrancescoHello,
Getting the breaks in the csv export doesn't work unfortunately.
You would need to create your own procedure to get the correct csv.
There are many blog posts for that
e.g http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.sumneva.com/ -
Control Break of Interactive Report
can we dynamically change column of Control Break in Interactive Report ?
No.
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/ir_using.htm#HTMDB28335 -
Hide Interactive Report Control Break from page
I have a page with an Interactive Report. I have hidden the Search Box and Actions menu (based on users's request). I also want to hide the text on the page for the Control Break I created for the report (the part that shows the column name for the Control Break and the X icon next to it). Anyone know how this is accomplished?
Application Express 4.0.2.00.07
Thanks.This stuff seems to sit in a table with the following attributes:
class="control_panel"
id="apexir_CONTROL_PANEL"So you should be able to apply a style to hide that entire table, such as .control_panel{display:none} or #apexir_CONTROL_PANEL{display:none} -
Control Breaks in Interactive Report Throw off HTML Header Style
I created an APEX 4.0.0.11.23 page with an interactive report. Several columns are character strings with embedded spaces. At first, when the columns displayed they were wrapped around to as many lines as there were spaces. so I formatted it with this HTML header style:
$('td[headers="ADDRESS"]').attr("style","white-space:nowrap");
This corrected the problem but then the user requested two breaks on Column_A and Column_B. This threw the formatting off so I corrected it with this HTML header style:
$('td[headers="ADDRESS BREAK_COLUMN_A_COLUMN_B_2"]').attr("style","white-space:nowrap");
Now the lines wrap for some but not for all rows and there does not seem to be any pattern. So for instance the address for one particular row will look display in the desired format as:
530 EAST 144TH STREET
And another almost identical row will display as:
525 EAST 143RD
STREET
I thought there may be binary data in the column so I embedded the following code in the main SELECT query that drives the page”
Regexp_Replace(ADDRESS, '[^[:print:]]')
This did not help. How do I implement HTML header styles for interactive reports with multiple control breaks so that the address is formatted properly for every line? Is there a related report or page attribute that needs to be set?
BTW, the way I discovered the HTML header style for interactive reports with multiple control breaks by following this link which was provided in a related thread:
Re: Interactive Report Control Break disregards HTML Header style.
Edited by: Comet on Sep 27, 2012 11:00 AM
Edited by: Comet on Sep 27, 2012 2:32 PM
Edited by: Comet on Sep 27, 2012 2:33 PM
Edited by: Comet on Sep 27, 2012 2:34 PM
Edited by: Comet on Sep 27, 2012 2:35 PM
Edited by: Comet on Sep 27, 2012 2:36 PMSuggest you reproduce this on apex.oracle.com using the same theme, IR configuration and equivalent data.
What browser/version are you using?
Maybe you are looking for
-
every time a new message arrives in mail, a window pops up saying that os x needs my keychain password: how do I stop that infernal nuisance?
-
Parameter id for wbs element or cost center
Hi all, Iam designing a alv report where I should provide drill down details of the po when we double click on PO number.It is possible by calling the transaction ME23N. But I need to know whether I can do the same thing for the WBS element and Co
-
I need to know how to get CS5 on my new comp, my last two comps were stolen from me and I got them back destroyed, I need to use CS5 for my collage classes but I cant use it because I have to de activate on the other comps that have it, but they have
-
Hi All, I was wondering if anybody knew how profiling works in Java apps. How is the time computed. Is it based on clock cycles per execution or real time consumed during the excution. Also should a profiler output be affected by other apps running .
-
Creating Abstract datatypes from Create Type As Object
hi. I am define new type abstract datatypes as create type cust_address_ty as object (STREET VARCHAR2(25), CITY VARCHAR2(25), COUNTRY VARCHAR2(25)); then insert data into new created table when we run sql select command for * from following error occ