REPORT WITH CHANGING ITEM ON THE SAME COLUMN
Hi to all,
i'm trying to build a report with different item in the same column.
Is that possible in any way using other Oracle technique?
i'm not doing anything specific here, only i would like to know if the following possibility exist or not and how can i let apex render the htmldb_item fields 'dynamically'.
Using this CODE inside a PL/SQL function body returning sql query I obtain the following report content. Such the code of htmldb_item.fields is written, as a field value the HTML_ITEM is not rendered, so only the description of them appear in the report.
Does somebody know some tricks to make it work?
Thanx a lot
1 2 LAST_CALL htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,'dd/mon/yyyy') VALUE
21 1 AGE htmldb_item.text(4,FLD_VALUE,10,10) VALUE
create or replace FUNCTION FNC_GEN_GUI_ITEM(ITEM_TYPE NUMBER) RETURN VARCHAR2 AS
STRHTMLDITEM VARCHAR2(4000);
BEGIN
CASE ITEM_TYPE
WHEN 1 THEN STRHTMLDITEM:=' htmldb_item.text(4,FLD_VALUE,10,10) VALUE ';
WHEN 2 THEN STRHTMLDITEM:=' htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,''dd/mon/yyyy'') VALUE ';
END CASE;
RETURN STRHTMLDITEM;
END FNC_GEN_GUI_ITEM;
MY TABLE AS FOLLOWS:
CREATE TABLE "NEWPROJ"."DINFIELDGUI"
( "ID" NUMBER NOT NULL ENABLE,
"FLD_TYPE" NUMBER,
"FLD_NAME" VARCHAR2(4000 BYTE),
"FLD_VALUE" VARCHAR2(4000 BYTE),
CONSTRAINT "DINFIELDGUI_PK" PRIMARY KEY ("ID"));
Message was edited by:
Marcello Nocito
Hi to all,
i've solved, is very simple using decode inside the select:
SELECT
ID,
FK_HTMLDB_ITEM, DECODE(FK_HTMLDB_ITEM,1,HTMLDB_ITEM.DATE_POPUP(3,rownum,VAL,'dd-mon-yyyy'),2,HTMLDB_ITEM.TEXT(3,VAL)) VALORE
FROM TESTID
my table is:
CREATE TABLE "DEV"."TESTID"
( "ID" NUMBER NOT NULL ENABLE,
"FK_HTMLDB_ITEM" NUMBER,
"VAL" VARCHAR2(4000 BYTE))
Bye Bye
Similar Messages
-
How to export 2 different report with a link at the same time
Hi,
Do anybody know how to export 2 different report with a link at the same time. I currently create a report which link to another report. But when I want to export the 1st report I also want the 2nd report also be exported.
Thank you very much.
Best Rgds,
SL VoonExport all the three components individually.
It will generate 3 script files. Now run them from SQL>
null -
2 Classic Reports with edit fields on the same page
Hi All, need your help.
I am trying to have 2 classic reports on one page with edit fields like date, list values, text
I have noticed that the element indexes are the same f01_0001 have both first elements from both reports.
This is making my code go crazy.
Also i have a problem with Date Picker, if i select it as a column type for a first element in second report the icon shows up in the first report.
I think this is because of indexing, but... Classic Date Picker put the icon on second report but when i select the date, the values is populated to first column in first report
Does anyone have a solution for this problem! (for example change the indexing for second report)
DB is 11.2g
Apex is 4.2.0.00.27
Thank you,
Andrei
Edited by: aracila on Feb 20, 2013 9:03 AMAre these tabular forms, ie updteable.
If so, you can only have one per page
Gus -
Report Template Help - Vertical report with multiple rows on the same line.
I am tearing my hair out trying to figure a way to do this. I want a vertical report, but with the rows across the page rather than down it.
e.g.
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5
ROW1 ROW2 ROW3 ROW4 ROW5Has anyone managed to do this?Use a custom named column report template. The template could generate either:
<li> a table with one physical <tt>tr</tt> row, with your "columns" being the logical "rows" of the report rendered as the <tt>td</tt>s within the row
<li> a list of lists using CSS to render them side-by-side via <tt>float</tt> or <tt>inline-block</tt> (Some examples of similar techniques) -
More tha one report with row selector in the same page,
I want to have 2 reports in my page, the two reports must have a row selector.
1/ In the first report, some pl/sql is executed when the user click in a row, so I am using :
for i in 1..wwv_flow.g_f01.count loop
my pl/sql using wwv_flow.g_f01(i)
end loop;
2/ In the second report, the user will check rows in order to delete them.
HTMLDB automaticaly gives f01 to the column "row selector" for any report in the page : how can I manage this please ?
Thanks for any help!
Jina.See
http://htmldb.oracle.com/pls/otn/f?p=24317:54
The region query is
select
htmldb_item.checkbox(1,empno,'onClick="highlight_row(this,#ROWNUM#);"') chk,
ename, job, sal, comm
from emp
The Javascript function highlight_row() is "stolen" from the page HTML DB generates when it puts the builtin row selector. Put the function in the region header. The function is
<script type="text/javascript">
function highlight_row(checkBoxElemement,currentRowNum) {
if(checkBoxElemement.checked==true) {
for( var j = 0; j < checkBoxElemement.parentNode.parentNode.childNodes.length; j++ ) {
if (checkBoxElemement.parentNode.parentNode.childNodes[j].tagName=='TD') {
if(rowActive=='Y') {
rowStyle[currentRowNum] = rowStyleHover[currentRowNum];
} else {
rowStyle[currentRowNum] = checkBoxElemement.parentNode.parentNode.childNodes[j].style.backgroundColor;
checkBoxElemement.parentNode.parentNode.childNodes[j].style.backgroundColor = '#ededd6';
rowStyleHover[currentRowNum] = '#ededd6';
} else {
for( var j = 0; j < checkBoxElemement.parentNode.parentNode.childNodes.length; j++ ) {
if (checkBoxElemement.parentNode.parentNode.childNodes[j].tagName=='TD') {
checkBoxElemement.parentNode.parentNode.childNodes[j].style.backgroundColor = rowStyle[currentRowNum];
rowStyleHover[currentRowNum] = rowStyle[currentRowNum];
document.wwv_flow.x02.checked=false;
</script>I have no idea how that Javascript works, it seems to be doing some DOM black magic, but it works! :)
Hope this helps -
Interactive Report - sort strings/numbers in the same column
Hi all,
I have an interactive report and have a column value.
It has type varchar2 in Database.
Problem: There are existing numbers and chars in this column.
Now I want to sort as numbers as chars.
Now it's like this:
10
2
23
3
no
yes
I want like this:
2
3
10
23
no
yes
How can I receive this???
All suggestions are welcome.without regexp option:
select vc
, case when instr('#1#2#3#4#5#6#7#8#9#0#',substr(vc,1,1)) = 0 then 1 else 0 end sort_column
from
select '10' vc from dual union all
select '2' from dual union all
select '23' from dual union all
select '3' from dual union all
select 'no' from dual union all
select 'yes' from dual union all
select 'yas' from dual
order by 2,lpad(vc,'9',0) --First sort on numbers, then on characters -
Datagrid scrolling problem when different items are in the same column
I have a datagrid which I am populating with different items (LinkButtons, Images, Labels). However when there are different types of items in the same column and when i try to scroll everything gets messed up (Images get overlapped with each other or the labels get overlapped with images).
I am overloading the "IDropInListItemRenderer" to create different types of items in each cell and I am overloding the "updateDisplayList" function
Any ideas as to why the items get messed up during scrolling? Is there some other preperty of IDropInListItemRenderer that should be overloaded?Hi Subeesh Arakkan,
Thanks. This is the exact problem that I have. Althought my overloaded functions are a little different and Im trying to resolve it. But htis is a good lead.
Thanks,
Prashanth -
Report with multiple dimensions in Row and Column with EvEXP
Hi
We are currently running BPC 7.0 SP3 and try to create the report(or schedule) with more 2 x 2 dimensions in the row and column.
e.g.
row dimension : Outer row is Entity, Inner row is Account
column dimension : Outer column is Time, Inner row is Category
We created the report with 2 x 2 dimensions like above e.g. with EvEXP and EvNXP, NOT EvDRE
based on default dynamic template:Template13.xlt(Nested Row, 2 x 1 dimensions defined by EvEXP and EvNXP formula).
However, when expanding the dimension with double click these dimensions or change CV of the report with 2 x 2 dimensions defined by EvEXP and EvNXP formula,
error occurs on EvEXP and EvNXP formula and can't retrieve the result correctly.
[Question]
Can't we create the report with more 2 x 2 dimensions in the row and column using EvEXP and EvNXP function ?
We understand that we can make the report with more 2 x 2 dimensions in the row and column if using EvDRE.
Thank You in advance
KenyaThank you for your advice.
I understand that we should use EvDRE when creating the report with multiple dimension in the row/column because EvEXP have some erros, poor performance, etc.
Then, we have two questions.
1)
>plus they had some errors in the designs.
what kind of errors they have as an example?
2)
>If you must build the EVEXP and EVNXP, I would suggest building the template from scratch
We built the simple template with just 2 x 2 dimension from scratch.
But this report doesn't work well when double-click the dimension or changing CV...
Would you please check the following template?
<https://sapmats-de.sap-ag.de/download/download.cgi?id=RCZE1ME4YSORY3DCDO4NNMANZLBL1L5ZBUOB2F71YVNVS8XDJW>
It would be greatly appreciated if you could give me your advice for the template.
Thank you again
And my best regards,
Kenya -
Hi All
I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
Suppose lets consider there are A,B,C,D,E,F,G,H columns.
Now i want to create one form with the fields A,C,E.
When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
Please help me on this as it is very urgent from me..
Thanks in Advance
Sowjanya GHi,
According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
In the workflow, you can add condition and actions as below:
If current item: C equal to Test1
Set E to Test2
Then the value of the filed E will be changed based on the value of the filed C.
In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Form with report, where some items in the form have been given values.
Hi, greetings:
I have a question that maybe silly but annoying to me. I need to provide a form with report, where some items in the form have been given values automatically, and these items (display only) are supposed to show given values in the form automatically.
I used the APEX form with report. The update and delete worked well. But I cannot show automatic values when insert. By default APEX insert form makes every item null; I tried to give value for two items: P5212_USERKEY, P5212_DAILY_VER_DATE with process before header, after header, after regions and before footer, and computation, or set values of these two items in the branch when user hit create button (submit). It never worked out, the two items always displayed null value, and when I insert, I got "ORA-01400: cannot insert NULL into ("TBSBI"."DAILYVERPRODNOTE"."USERKEY")", since I have set up constraint in database that these two columns should not be null.
Could anyone help on this? any suggestion would be appreciated.
SamIf you have made these values 'Display Only' they would by default not save the session state. Accessing the page items will always return NULL. Did you change the 'Save Session State' option to 'Yes'?
-
Can you change the factor on each item in the same pricelist!
In the pricelists, if you go in them you'll see it shows the item code, item description then base price, factor and then the price. But can you make that factor different for each item in the same pricelist? In the database it stores the factor for each item.
Any answer is appreciated.First-of-all you should know that you are not supposed to override SAP Business One data in the database through SQL...
In the application the factor column is read-only in case it is displayed.
This indicates that the factor is not expected to be different per item. Instead, if you change the item price, the "Manual" flag gets automatically checked.
I.e. either you use the factor for the price list for the item as well - or you specify a manual price.
These are the scenarios expected by the applications logic.
If you change that (violating the rules not to use SQL for writes), you do that at your own risk and risk unexpected behavior. -
SSRS 2012
Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
Starting from the 4th row, the dataset contains data to be displayed.
I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
How can I accomplish the this requirement? (this must be applied for all the columns)
ThanksHi Fasttrck2,
Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
Details information below for your reference:
Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the specific column, specify the Available values and default values by select "Get
values from a query", finally using the expression as below to get the specific value you want:
Expression(Backgroud Color):
=IIF(Parameters!Para.Value(1)="1221","red","yellow")
If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
Any problem, please feel free to ask.
Regards
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
I have just upgraded to Mavericks and have been using Time Machine on an external disk with Snow Leopard. Can I continue to backup with Time Machine on the same external disk or do I need a new disk since the operating system has changed?
Hi there,
I found that Time Machine in Mavericks will sort it all out for you. You shouldn't need to buy another backup drive, unless you have insufficient space left and can't afford to delete whats on there. It should just work fine. -
I am having trouble getting a numbers spreadsheet to hold different formats in the same column. A column with a date formatted heading will not convert to $ for the cells below. Any suggestions would help.
Hi Wayne,
Thank you for this response. I have tried this but when I start enterring $ amounts some, such as $6.00, go in OK others such as $4.00 appear as a date ie 4 Oct 12.
Kind regards
Paul -
Store xml data with difference dtd in the same xmltype column?
Hi, all!
I want to know, whether i can store the xml data with difference DTD in the same xmltype column.
thank you for your help
rabbitAs long as the column is not based on an XML Schema
Maybe you are looking for
-
Package javax.mail not found in import.
hi, i am trying to develop a mail application using jsp, i have jaf1.0.1 and javamail API and the application was working fine on weblogic but when i tried to do the same thing on Apache server the Package javax.mail not found in import. is occuring,
-
My phone is frozen after being connect to i tunes via my desktop all my screen has now is aN i tunes logo with a usb cable underneath it. restarting my phone doesnt help nor does holding power and home keys at same time. anyone able to help ?
-
DFM@LMS4.0.1: lots of Voltage meassage from 10GE ports
Hello, We got suddenly a lot of Voltage faults in DFM from 10GE ports at our VSS Core. Communication is not affected. All other devices show voltage in a valid range and the VSS before this night as well. An "shut / no shut" of the interface doesnt h
-
somebody can tell me, what are, g_it_wa_sort-spos AND g_it_wa_sort-group for? I need to do a special sorting. Check this sample. If i have FIELD1 INVES-002 FIELD1 INVES-002 FIELD2 INVES-002 FIELD2 INVES-002 and i use g_it_wa_sort I
-
Weblogic Platform SP4 Install - Console Navigation Tree not functional
hi Just did a full install of WLP SP4 on Win XP Pro SP2 Starting WLS and using the console in both an ex-SP3 domain and a newly created (and empty) SP4 domain, the console navigation tree isn't working. The console HTML pages are fine. i.e. clicking