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
Tags: Database
Similar Questions
-
Customize the Action menu in the interactive report
To change the word 'Action' in the menu of the interactive report.
Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.
This isn't in known issues in the Apex 5!
Someone knows how to set an image or other text to the menu Action interactive report?
Anderson.Ferreira wrote:
To change the word 'Action' in the menu of the interactive report.
Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.
This isn't in known issues in the Apex 5!
Someone knows how to set an image or other text to the menu Action interactive report?
Why do you need to change?
Follow the instructions in 'Translating Messages used internally by Oracle Application Express' to create a custom text for the message of the APEXIR_ACTIONS system. Available for translation/customization internal messages are listed in these tables.
-
Initial value for the interactive report
I have an interactive report that has a where clause condition clause: where =(:P50_employeeName) used.
(: P50_employeeName) is a a list of selection without value null. When the page loads the selection list displays the value employee1, but the interactive report is empty. It's not until I select another value within the selection list becoems active report. How I can so when page loading the interactive report shows instead of being blank? I can't the values of hard employee-coding as each user can see only the user in their Department.
Hello
Since I don't know all your table structure, it was just a quick sampling of the approach.
I guess that your LOV would have the correct where clause to control its content, and you can add additional conditions to the IR where clause as well.
Here is an example of one of my IR where clauses
the case when: P200_DEPARTMENT = 0 then 1
When: P200_DEPARTMENT <> 0 and: P200_CREW = 0 and: P200_DEPARTMENT = c.crewdeptkey, 1
When: P200_DEPARTMENT <> 0 and: P200_CREW | " <> 0 and: P200_CREW = c.crewkey, 1
end if 0 = 1
Kind regards
Brad -
Filter column position of the interactive report
Hi all!
First of all, sorry my English.
I have a problem with filters standart on the interactive report column heading. Version 4.0.2 APEX. It is interactive report based on the view. Nothing unusual - behavior and the default templates. I have also the region of filter on the page, and after user-press "apply" button my package variables to session state of filter. View used these values. It is worked and filtered interactive report. But when I try also to use the filters on the heading of the column that is nothing past. I have try the column type: report Standart column and display text. I have try the Filter Type column: by default based on the Type of column and the list defined by the use of... Contain. Nothing, as no filter exists at all. Filtering with worked as usual action buttons. I think that this problem in a SEPARATE implicit in this filter. I know that there are quantitative limitation of DISTINCT values with column header filter, but I have nothing in the filter. And even I have type the value and press ENTER, nothing happened. Columns with Date type is fine, but String and number does not.
There is no work around? Thank you.
Solved within "parameterized" view, remove and replace with SELECT with params.
-
Contains no column 5 added to the interactive report apex
Hi, I added a column in the query to the interactive report region and it does not appear in the designer of the Page, as it is not available when running in the list of columns through the action of the report menu.
In the 4 apex when the query was changed directly a message was generated with the details of the new or modified columns, but the Apex 5 when I change the query and save, nothing happens.
How to view the new column?
Thank you.
carlosjch wrote:
Thanks fac586, I already tried to use view of the component, when I modify the query the new column is added, a message appears: area update. No details of the new column appears in the message. The result is the same, the column is not available after that.
What happens if you create another IR with the new query?
-
Filter delete automatically the interactive report
Hello world
We are seeing the question in the filter APEX. I applied the action filter-> filter. the filter is applied as expected. then we are navigate current page to another new page. When we return to the old filter page, we are not able to get the filter.
For example: we have the "amount" column I applied a quantity of filter > filter 0 on page 1, then page 2 accessing we. When we return to page 1 we are not able to find the amount > 0 filter
Let me know how to solve this problem.
Kind regards
Sushant
Hi LnTInfotech,
LnTInfotech wrote:
Hi Sunil,
Thanks for your information, but in my case, we do not save the default (primary) report. We have to got to page 1 to page 2 with any filter and return back to page 1 need to show the same filter.
Kind regards
Sushant
Are you compensation/reactivate the interactive link (button, breadcrumb) report? Reference: a link to the interactive reports
As clearing (CIR) /resetting (IRB) interactive report leads to clear the filters applied to the interactive report in the session active.
Note: Filters / other attributes of the action menu applied to the interactive report are specific session, user may choose to save it as a saved report interactive and developer can choose to save as the main report.
For more information about interactive reports see the Oracle APEX documentation and tutorials available on Oracle Learning Library like this:
I hope this helps!
Kind regards
Kiran
-
When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?
You use listener EA3 ADR?
-
Calculations in APEX 4.2 on the interactive report and the update form
Hello
I know that people have asked similar questions, but I was not able to do this work. I'm doing some fairly simple math (addition, multiplication) in an application. I have 2 fields (VALUE_A, VALUE_B). I can get the addition and multiplication work in the interactive report, but I also need that it works correctly in the form of update. I also need update form to work dynamically so that if the values are changed, the correction calculated response is shown immediately on the update form and then reflected in the interactive report. I tried the dynamic action, with and without javascript without result. Any help would be appreciated.
Request Express 4.2.6.00.03
model application:
https://Apex.Oracle.com/pls/Apex/f?p=82162:
username: guest
password: Peanut123
Thank you
Rachel
ADD dynamic action
After refresh of region
Set value
ELEMENT the VALUE to change
check the fire on the load
To source, use expression JavaScript
If ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2")! = null)
{
parseInt ($v ("P2_TEST_1")) + parseInt ($v ("P2_TEST_2"));
}
ElseIf ($v ("P2_TEST_1")! = null & $v ("P2_TEST_2") == null)
{
parseInt ($v ("P2_TEST_1"));
}
ElseIf ($v ("P2_TEST_1") == null & $v ("P2_TEST_2")! = null)
{
parseInt ($v ("P2_TEST_2"));
}
on the other
{ 0; }
That add another dynamic action on change POINT P2_TEST_1 and set even with the same expression JavaScrit action. but NOT fire on the load
Do the same for the ARTICLE P2_TEST_2And the same for A times B but change + to *.
Here, I did samples for you with this code.
-
How to add the action button for each column in the interactive report
Hi all
I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:
1. to execute some stored procedure in need of that particular line item values
2. returns a (id)
3. go in another page in the application by passing the value out of the procedure (id).
and I'm not find the way to do it. I tried now means:
1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need
2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...
and I'm stuck...
I just forms and global report and probably still think the "wrong" way .
Any help would be appreciated!
Thank you!!!
user3253917 wrote:
Please update your forum profile with a real handle instead of 'user3253917 '.
I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).
So, in order to give him:
1. the user must be able to choose the order in which I would copy (at page 4), select it,
2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)
3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.
Any solution will be highly appreciated! Thank you very much!!!
In simple terms:
- Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
- On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
-
ToolTip for the interactive report column data item
I have a report that includes the column (CURRENT_UNIT). I would like to be able to add a "ToolTip". I did it before using a classic report by the following (borrowed from another one of the APEX):
Add this CSS
{a.rapxxx}
position: relative;
z index: 24;
{text-decoration: none}
a.rapxxx:hover {z-index: 25; background-color: #ff0}
a.rapxxx span {display: none}
duration of a.rapxxx:hover {/ * poster only over time: hover state * /}
Display: block;
position: absolute;
top:-20px;
Left: 20px;
Width: 20em;
border: 1px blue solid dark;
text-align: center;
background-color: lightyellow;
color: Blue;
}
And on the SHAPE of COLUMN layout, add this:
< a href = "#" class = "rapxxx" > #CURRENT_UNIT # < span > #UNIT_NM # </span > < /a >
But when I try it on the interactive report, I don't get the hover tooltip. The href attribute is displayed correctly, just, I don't get the value of the span.
Can someone help me please?
Using APEX 4.2.3
Internet Explorer version 9
Thank you
-Seattle
Oh, if the column is not a link, just the URL target value #.
-
How can I rearrange the columns in the not displayed section of the interactive report.
Hello
My interactive report contains 185 columns and requieres users to build its reports with some columns, but he gets lost between this amount of columns, it would be easier if the columns in the do not display the interactive report section would be automatically sorted, is it possible?
Thank you very much
Hi Eva,
A solution would be to order the column names in alphabetical order. You can create a dynamic JavaScript action to manage the sort.
The shuttle of the attribute IR "Select columns" have the ID "apexir_SHUTTLE_LEFT" or hidden columns and 'apexir_SHUTTLE_RIGHT' to the displayed columns.
The function that you create might look like:
var options = $('select#apexir_SHUTTLE_LEFT option'); var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get(); arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; }); options.each(function(i, o) { o.value = arr[i].v; $(o).text(arr[i].t); }); var options = $('select#apexir_SHUTTLE_RIGHT option'); var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get(); arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; }); options.each(function(i, o) { o.value = arr[i].v; $(o).text(arr[i].t); });
You need to find the right timing for dynamic action to run, I suppose the click on the button "Select columns" would do the trick.
Kind regards
Vincent
-
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;
-
Move the 2 values to 2 elements in the interactive report via a url
Hello
I have it here's the url to pass the 2 values to 2 elements in the interactive report via a url
apex_util.prepare_url ('f? p = & APP_ID.:0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code, '1 year') in the form of url
The second value is not passed in, P000_DATE the interactive report item. "1 year" is the option in the selection list on . I also tried below and a combination of IREQ_, etc., but no worked
apex_util.prepare_url ('f? p = & APP_ID.:0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code,'| 1 year "")
Some advice on this one?
Thank you
Alexander
The code doesn't seem right for me
apex_util.prepare_url ('f? p = & APP_ID.: 0 00 :'||: APP_SESSION |':000:P000_STATUS, P000_DATE :'|| ccodes.code, '1 year') in the form of url
Ilyalieude modifierlereglement like this.
apex_util.prepare_url ('f? p = & APP_ID.: 0 00:' |: APP_SESSION |) ": 000:P000_STATUS, P000_DATE:' |" ccodes.code | 1 year") in the form of url
Kind regards
-
How to increase the size of the column in the interactive report
Hi, I use apex 4.2 and 25 theme...
I found no option to increase the size of the column in the interactive report. When as usual report, I can do it,
Please guide me to achieve.
Thank you
Nihar NarlaNihar Narla wrote:
Hi, I use apex 4.2 and 25 theme...I found no option to increase the size of the column in the interactive report. When classic report, I can do
This can be done using CSS. Create a rule like this in CSS Inline property page:
.apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] { width: 10em; }
where alias_de_colonne is the alias of the column in the report query and the width measurement, that's all you need.
-
By using the search field of the interactive report
Hello
I want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.
How can I do this?
ConcerningEve wrote:
HelloI want to use the search field of the interactive report to set this value in a page item, use it to pass this value to another feature.
How can I do this?
Concerning
Create a dynamic action as follows:
Event: Before updating
Selection type: Region
Region:Real Action:
Action: Run the JavaScript Code
Code: $s ('PX_YOUR_ITEM_NAME', $v ('apexir_SEARCH'));Click on create
When it is created, change the dynamic action and define the scope of the event on the dynamics
Maybe you are looking for
-
Photosmart 6510: AirPrint
I'm used to be able to print from my iPhone. Since I installed a new router that I have not been able to print from my iPhone. When I hit the key apps I get "Server Conection error:-1.» problem connecting to the server. The printer is connected to
-
cannot import bookmarks & c of the opera. Have followed the instructions but the window which should display the choice for import is empty
-
I just installed my EA4500 router and it is deceptively simple. My only question is it shows two available wireless connections: that guaranteed I've implemented and another network of the same name that says 'comments' and is NOT secure. Is there a
-
Error code: has detected the error 80244019 Windows 7 updates
Today 26 Nov 15 just after I started the PC, a message flashed on my screen upwards, it was too fast to read. Alerted, I then checked the updates only to find code 80244019 error came. (My preferred option is to check the updates, and install myself
-
Smartphones like blackBerry manually add an IMAP account
Como add manualmente una cuenta imap - Alguien sabe como add manualmente una cuenta IMAP in hub, no puedo hacerlo con el sistema automático del hub porque al ser una cuenta IMAP una empresa, da error, por ese reason I need hacer el paso has pasom onl