Classic report - add the column "select box"?
I have a classic report and you want to add a column with a check box so that the user can select several lines and perform an action on all of the lines (delete selected, for example). Looks like it should be easy and maybe integrated features, but I don't find it. Is there a standard way to do this?
Steve
APEX 5.0
Hello
to add a box to your classic report using apex_item.checkbox like this API function:
select APEX_ITEM.CHECKBOX(p_idx=>1, p_value=>DEPTNO) as select_dept, DEPTNO as DEPTNO, DNAME as DNAME, LOC as LOC from DEPT
You can access the values checked (for example in a process page)
declare v_deleted_depts number := 0; begin FOR i in 1..APEX_APPLICATION.G_F01.count LOOP v_deleted_depts := v_deleted_depts + 1; delete from dept where deptno = APEX_APPLICATION.G_F01(i); END LOOP; :P1_DEPTCOUNT := v_deleted_depts; end;
P1_DEPTCOUNT (hidden) is just for later interaction with this procedure - for example, you want to present your users with a message of success and error custom as "Deleted & P1_DEPTCOUNT. departments. »
Maybe you would like to add an option to check all checkboxes at once. If so, read this blogpost Blog of Carl Backstrom: September 2007.
Kind regards
Pavel
Edit: don't forget to toggle the leak key for special characters not your column "checkbox.
Tags: Database
Similar Questions
-
How to avoid the total general of the classic report when the column break is installed in the Apex
Hi all
I develop application using Oracle Apex 4.2.0.
I created the classic report Page.
That I have summarized a column by selecting the check box check sum for the column.
His shows the Grand Total.
Then I chose the columns to break to the first column.
His show the total groupwise and total as well as great as image below.
My requirement is
Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.
How to do this?
Thank you
Su.GI
Su.GI wrote:
Hi, thanks for your response.
I use theme - productivity Application - issue 26
-Standard model
Report - report of Standart for classic report model.
The above CSS code where I want to use in the page or report or model region.
Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:
#static-region-id .uReportStandard tr:last-child td { display: none; }
where
static-region-id
is the ID specified for the region. -
Balloon classic report in the column header
How can I create a ToolTip on the column header in a classic report?
Hello
Here is an example
http://dbswh.webhop.NET/HTMLDB/f?p=blog:read:0:article:1902000346637155
Kind regards
Jari -
ADF Skinning - change the Boolean select box image
Hi guys. Can someone help me? -I am try to my skin ADF application, and is one of the steps that I intend to change the Boolean select box image by using the skin. Is this possible? I use JDev 11.1.1.6 (and can not improve it until due 11.1.2.x our runtimes is 11.1.1.6) and skin with project in 11.1.1.5 11.1.2 editor format
My file of trinidad - s skins.xml:
I'm trying to add inside the AMPSking.css next file strings (the images are copied to the project):<?xml version="1.0" encoding="windows-1251"?> <skins xmlns="http://myfaces.apache.org/trinidad/skin"> <skin> <id>AMPSkin.desktop</id> <family>AMPSkin</family> <extends>fusionFx-v1.1.desktop</extends> <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id> <style-sheet-name>skins/AMPSkin/AMPSkin.css</style-sheet-name> <bundle-name>resources.skinBundle</bundle-name> </skin> </skins>
- but nothing happens: image box does not change. I have not marked questions to window status for the .css file and in the window properties of selectors nothing are marked as incorrect. Image files are also presented in the file system - both are .png files 16 x 16 pixels, size about 3K each.af|selectBooleanCheckbox.powerButtonCheckbox af|selectBooleanCheckbox::unselected-icon { content: url("images/af_selectBooleanCheckbox/icoPowerOffGrey16d.png"); } af|selectBooleanCheckbox.powerButtonCheckbox af|selectBooleanCheckbox::selected-icon { content: url("images/af_selectBooleanCheckbox/icoPowerOn16r.png"); }
Thanks for any help...
Published by: obereziuk on 08.08.2012 09:52Hello
The icons you (selected and unselected) would apply to immutable SBCs.
Check out the demo of counting
http://jdevadf.Oracle.com/ADF-iPad/faces/components/skinningKeys/selectBooleanCheckbox.JSPX
Arun-
-
Bug? Interactive report includes the column excluded research
Apex 3.1
I've created an interactive report with a query that includes a 'expensive' column (a function call). To improve performance, I want to exclude this search/filter column.
I unchecked everything under "allow users to"... (filter) on the column attributes page. The column is no longer in the drop-down list under the microscope in the interactive report, but the column ("element_groups" in my example below) is always included in the SQL that is generated when the user makes a search via the "All columns" option (default):
In my view, the column should be excluded from "All columns" research when the column was set to prevent the user from filtering on it.select "CMPCODE", "CODE", "NAME", "SNAME", "ACCOUNTTYPE", "ELEMENT_GROUPS", count(*) over () as apxws_row_cnt from ( select * from ( select ae.cmpcode, ae.code, ae.name, ae.sname, ae.accounttype, string_util_pkg.join_str (cursor(select distinct grpcode from accounting_element_group where cmpcode = ae.cmpcode and code = ae.code order by 1), ',') as element_groups from accounting_element ae where ae.elmlevel = :p852_elmlevel ) r where ((instr(upper("CMPCODE"),upper(:APXWS_SEARCH_STRING_1)) > 0 or instr(upper("CODE"),upper(:APXWS_SEARCH_STRING_1)) > 0 or instr(upper("NAME"),upper(:APXWS_SEARCH_STRING_1)) > 0 or instr(upper("SNAME"),upper(:APXWS_SEARCH_STRING_1)) > 0 or instr(upper("ACCOUNTTYPE"),upper(:APXWS_SEARCH_STRING_1)) > 0 or instr(upper("ELEMENT_GROUPS"),upper(:APXWS_SEARCH_STRING_1)) > 0 )) ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT) order by "CMPCODE","NAME","CODE"
The same problem is reported here:
Is this a bug? Fixed some 3.2 Apex? Apex 4? No work around?
-Morten
http://ORA-00001.blogspot.comHello
Yes, it is a known problem.
It seems that it is fixed on the Apex 4.0.2.00.06
http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/402-patch-189110.html#CHDIHDIBKind regards
Jari -
Can I add the column to the playlist to my music list in itunes?
I consult my entire list of music, and I'd like to know what category of playlist I created that the song is in. Can I add the column to the playlist to my music list?
I use an older iTunes. You cannot create a column for playlists, but you can right click on individual tracks and is one of the elements to display the items in the lists of reading in which it is contained.
-
How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?
I have the simple mxml code
<mx:DataGrid id="DGG"
editable="true">
<mx:dataProvider>
<mx:Object scheduledDate="4/1/2006"/>
</mx:dataProvider>
</mx:DataGrid>
<mx:Button id="SetBut"
label="Set Array as Data Provider"
click="SetDP(); AddBut.visible = true;"
x="100.5"
y="164"
width="211"/>
<mx:Button id="AddBut"
label="Add a column!"
click="AddCol();"
x="100.5"
y="194"
width="211"
visible="false"/>
<mx:Script>
<![CDATA[
import mx.controls.dataGridClasses.DataGridColumn;
import mx.collections.ArrayCollection;
[Bindable]
public var MyAC:ArrayCollection=new ArrayCollection([{scheduledDate: "4/1/2006", homeTeam: "Chester Bucks"}]);
public function SetDP():void
{
DGG.dataProvider=MyAC
}
public function AddCol():void
{
MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
DGG.columns.push(new DataGridColumn("Umpire"));
}
]]>
</mx:Script>I want to add lines to my datagrid table how do such thing?
How to add the column to Adobe flex mxml or actionsctpt mx:DataGrid?
(You can place this code in a Flash or AIR application - it compiles without error, but will not add any columns =)
Change this:
public void SetDP (): void
{
DGG.dataProvider = MyAC
MyAC.addItem ({scheduledDate: "05/04/2007", homeTeam: "long hitters Valley", umpire: "Amanda Hugenkis"});
}
public void AddCol (): void
{
var dgc:DataGridColumn = new DataGridColumn ("Umpire");
var ca:Array = DGG.columns;
CA.push (DGC);
DGG.columns = ca;
}Dany
-
Master the detailed report, complete the columns based on selection LOV
Hello
When creating a master form / retail, I chose "Edit in detail in tables on the same page." The form has a "report of the region" to select the list of employees.
The EMPNO column is filled with "Popup LOV (named LOV)". It works very well.
My requirement is, after selecting an employee, I want other retail JOBS & SAL table fields to be populated with the information of the employee for selected EMP table and must be posted immediately. Is this possible to do? If not, what other solution available to achieve the same functionality?
I tried this in Oracle.
workspace: test_ws_anand
user: anandgp
password: cable123
Watch ""list of skills "on the main menu. "
Thank you
-Anand
Hi Anand,
On the change of employee (employee selection) call Ajax via javascript and set the returned salary and job field.
Here you have two values to return: wages and employment, you can generate json and parse the json in javascript and set the values for the specific field...
Please see the sample code below
Step 1: Create the Ajax application process
Please check Procces Ajax, see line 7 How to assign a value to the variable sent by ajax call
Declare L_JSON_STR varchar2(4000) := null; P_SAL number ; P_JOB varchar2(50); lc_emp_no VARCHAR2(20); Begin lc_emp_no := WWV_FLOW.G_X01; -- code to fetch the salary and commission into p_sal and p_job variable based on selected employee; SELECT sal , job INTO p_sal , p_job FROM emp WHERE empno = lc_emp_no; -- build a JSON string to return L_JSON_STR := '{ "SAL": "'||P_SAL||'", "JOB": "'||P_JOB||'" }'; SYS.HTP.P(L_JSON_STR); End;
Step 2: Create the javascript function
First, you must extract the rowid for which you want to define the work and wages, see line 6, 7, and 8
Step 3 : from selection of employee call the function onchange="javascript:f_fetch_emp_dtls(this);"
Hope this helps you,
Kind regards
Jitendra
-
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.
-
Hello
I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.
When I look at firebug code I saw that all the tables but the first, the break line is included in the last line of the previous table, so I can see how it did not work for the holidays since.I have tow questions.
1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.
2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.
Example of a question can be seen at apex.oracle.com at home
Thank you
Brad
Roadling wrote:
Hello
I am migrating an application from 3 APEX APEX 4.2 on a thing I noticed with the classic reports when I put them in the model 23, it's that the first section break has break notch under the headings of columns for this section of line while the remaining lines properly have it display above the headers on the subsequent sections of group.
1. is it really intentional because it seems not terribly elegant and my users to zero immediately above as a perceived bug.
The Standard report template definition in issue 23 contains
thead
andtbody
elements:Before the column header
Column title template
#COLUMN_HEADER# After the title column
After the lines
#EXTERNAL_LINK##CSV_LINK#This is intentional, the best practice for marking up HTML tables. What is not expected is the problem that arises when this model is used with the break of repeat titles on break formatting option. The repeated headings result table consisting of soup of tags containing several poorly constructed tbody and thead, which is not valid elements.
2. is there a reasonable job around always use headers repeat on break? I have multiple reports on the same page in places so switch to interactive reports is not a quick fix for me in this case.
Create a copy of the report model Standard in Standard (break formatting) for use with reports of the break, remove the
thead
andtbody
definitions of template tags and the breakdown of the reports to use the new model of change. (Or, if you use mainly break reports using the Standard template, keep the tags in the copy and remove them from the original in order to minimize the number of reports, you need to change.)Personally, I would create a report model of line custom to break complex reports in order to be able to have complete control over the structure and presentation.
-
R12 payment process Request Status Report add additional columns to the XML data.
In 11i, we had modified the preliminary report of payment to include additional columns (distributions of invoice). R12, this report is obsolete and Oracle introduced a new report 'Payment process Request Status Report'. This query uses BI Publisher to generate the release of the final report. I can't edit the template for the output XML to the report has not
contains data for distribution invoice account. We need to know how we can modify the XML data to include additional columns.
For the disbursement of funds (payment instructions file) process, Oracle provides extensibility IBY_FD_EXTRACT_EXT_PUB package to build the custom XML element structure that can be added to the extracted XML payment generated by the Oracle payments. Do we have something similar to this report? Are there other options available?
Thank youHello
The same "IBY_FD_EXTRACT_EXT_PUB" package also works for the payment request process status report. Please add the logic to get the distribution data in this package, and you'll see the new XML tags in this report also.
I hope this helps.
Serge -
Report does not follow the order of the columns Select
Hi all
Apex 2.2 on 10gXE
I still encounter this problem, the report display column does not follow the sequence of the select column from the source of 'region '.
It is very painful by clicking the arrow up/down one by one in the 'attributes of report"especially if the columns in the view are very much like 40 columns.
Is there a fix/patch or other tips for this bug?
Thank you very much
Published by: 843228 on May 24, 2011 22:32But if I use modified the query, the edition/search/default propagation sheet / buttons disappeared.
These can be copied or moved to the new report area.
So, there is no work around in apex 2.0? and this problem is solved in the apex 4.0?
There is no workaround in 2.x, nor is there a solution to 4.0 because there is no problem: APEX works as expected.
Apex 4.0 can run in 10gXE my free database?
Yes.
Can you give me docs on how to change it please...
Upgrade of Oracle Application Express in Oracle Database 10 g Express Edition (XE)
(Update your forum with a handful profile better than "843228".)
-
How to download the columns selected in obiee
Hi all
Available in obiee which allows to download the selected columns of a report to an excel download all feature.
Regarding
Prads.. And if you don't, you go to the Page Options > change the dashboard, click on the properties of the report, and select report links...
Oh, and anyway, you can download "selected columns"; you will need to download the entire report. If you insist on a report that includes only some of the columns, you can build column selectors where the user can select the columns they want to see in the report, and then when they select the "Download" link, the report will only have the columns...
Visit this link:
Re: How to add new columns by using the multiple selection
Edited by: David_T on June 25, 2010 10:19
-
Creating classic report to the stored procedure.
How can we create a report based on a stored procedure out parameter.
Can someone please help.
Thank you
Nani.
Nani4850 wrote:
Out parameter is a multi-level object type.
I found a way to sort of basis a report on the parameter OUT procedure. The approach is:
1. call the procedure in a process before PL/SQL areas, convert the object returned in an XML document and store in a collection XMLType column:
declare k_rate_query varchar2(255) := 'RATE_QUERY'; l_rate_type_code number; l_rate_query rate_rec; l_xml xmltype; l_seq_id number; begin l_rate_type_code := to_number(:p1_rate_type_code); api_pkg.rate_query(l_rate_type_code, l_rate_query); l_xml := xmltype.createXML(l_rate_query); if not apex_collection.collection_exists(k_rate_query) then apex_collection.create_collection(k_rate_query); end if; select seq_id into l_seq_id from apex_collections where collection_name = k_rate_query and n001 = l_rate_type_code; apex_collection.update_member_attribute(k_rate_query, l_seq_id, 1, l_xml); exception when no_data_found then apex_collection.add_member( p_collection_name => k_rate_query , p_n001 => l_rate_type_code , p_xmltype001 => l_xml); end;
2. use a SQL/XML query on the XML collection in the region report source:
select rq.* from apex_collections ac , xmltable( '/RATE_REC/RATE_TBL/RATE_REC_TYPE' passing ac.xmltype001 columns action_code varchar2(20) path 'ACTION_CODE' , rate_key number path 'RATE_KEY' , rate_type_code varchar2(5) path 'RATE_TYPE_CODE' , program_key varchar2(12) path 'PROGRAM_KEY' , rate number(8,5) path 'RATE' , effective_date date path 'EFFECTIVE_DATE' , current_yn varchar2(1) path 'CURRENT_YN' , non_current_dt date path 'NON_CURRENT_DT' , non_current_by_id varchar2(4) path 'NON_CURRENT_BY_ID' , non_current_reason varchar2(400) path 'NON_CURRENT_REASON') rq where ac.collection_name = 'RATE_QUERY' and ac.n001 = to_number(:p1_rate_type_code)
-
Custom classic report sorting of columns
I have a classic report in version 4.2.5 which displays the following values in a column:
9 (4)
33 (17)
When I click on the column header and make a descending sort of the 9 just before the 33 because it deals is a string. JQuery Data Tables can correctly sort numbers with $, (, commas, etc...) Do the same with a classic report of APEX is anyway?
https://DataTables.NET/examples/basic_init/table_sorting.html
Please update your forum profile with a real handle instead of 'user10730448 '.
Maybe you are looking for
-
Download the bootcamp without bootcamp drivers
Hello Recently, my Windows will not start and now I have to repair Windows Installer. But here's the problem, the internet in the region of the SEA is currently slow because of broken VGA cable and driver download time is very long. Apple have altern
-
Mavericks will install on MacBook Air 2008
Hi all I bought a MacBook Air, which seems to me to be a 2008 model. Its installed with Leopard 10.5 which seems to be old and things like iTunes and QuickTime are old and obsolete because Leopard is too old for me to install the latest version. I fo
-
Manual definition of the value axis scaling to a script for two or more axes file
Hi all I've been using tiara for only a few days so I apologize if it's something really easy to do, but I just can't understand it. I am trying to manually set the value of 'End' for the axis is scaling of a parcel in a "report". I figured out how t
-
good afternoon. o meu pc esta com problemas na recepçao of rede wireless. FIZ o tests of speed a net sales of casa com 2 coputadores e o meu gift between 0.5 a 1.5 Mbit/s while o outro between 8 to 15 Mbps. also ja entei outas redes e com o problema
-
Cannot access a DLL copied to a services of cRIO-9081.
Hello Problem: In a simple test, I can't access a DLL copied to a services of cRIO-9081. -J' created a project of LV, in which the target of cRIO-9081 OR has been added. -J' created a VI on the target, in which I want to test working of the modules i