Dollar sign in report column

Hi
I am displaying a report using an sql query. I want to display a numeric field (which is an amount) with a dollar sign. How can i do that
Appreciate your help
Thanks

Hi user585397,
go to the column properties of your report and there you will find a property called "Number / Date Format". Use the lov to choose a predefined format mask or just enter.
FML999G999G999G999G990D00The L is the placeholder for the current currency symbol. For more format mask example have a look at the Oracle documentation at http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements004.htm#i34570
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

Similar Messages

  • Elementary: what is the dollar-sign ($) in a column name mean?

    I periodically see dollar signs in column names in Oracle tables. For example, when I create a LOB, often times the LOB segment will end in a dollar-sign (or two). Sometimes when one of the developers creates an object, I see some of the field namess have dollar-signs at the end of them.
    What does the dollar-sign mean?
    What does two dollar-signs mean?
    Just curious...they seem to function as normal characters.

    They are just normal characters. But Oracle (and other vendors) will frequently use characters like $ that normal developers don't normally use in order to create conventions around table names.
    For example, Oracle provides a number of data dictionary tables that use x$, v$, and gv$ as prefixes. There is nothing inherently special about those prefixes. But they convey meaningful information to the users of those systems (x$ views are undocumented views, v$ views provide information about activity on the local instance, gv$ views provide information about activity on all the instances of a RAC cluster). And using those sorts of prefixes prevents confusion between application tables and Oracle tables. Lots of applications, for example, have a SESSION table. Having the V$ prefix for the Oracle-delivered V$SESSION table makes it easy to avoid confusion from having two identically named tables.
    Justin

  • Ability to left justify dollar sign in report

    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.

    user8769897 wrote:
    All,
    In my report, I have a field with a data format set to Currency. This, of course, places a '$' in front of the value, such as $1,234,567.
    However, I have a requirement to left justify the '$' in the report so that value is displayed as
    $ 1,234,567
    How can this be accomplished?
    Thanks in advance.You can acheive this by calling CSS class in the column properties. Refer to this link to get some ideas and how to get started ( http://obiee101.blogspot.com/2008/09/obiee-custom-css-style-class.html )

  • Displaying Dollar sign in ALV

    How to add the dollar sign infront of field with data type currency (CURR) ?
    Need to display the amount field in the ALV report.
    Please suggest any solution.
    Thanks,
    Khush
    Edited by: khush123 on Sep 22, 2011 11:49 AM

    Hi ,
    Take  another  character field  .
    Concatenate  currency field value  and  '$' and move to character field  and display  .
    This is Simple  way  .
    regards
    Deepak.

  • How to change currency sign in report

    How can I change the currency sign in report like from dollar to pound sign. Any help and advice will be highly appreciated.

    Sherry,
    I'm stumbling my way thru the same question. we need to print the currency symbol based on the country defined in the data. here's the not-so-short answer:
    we're looking into storing the currency symbol as a unicode value (NVARCHAR2 field) in the database by country and linking it to the data selected in the report. I have a select statement in the report sql that retrieves the correct unicode value per data row. the question then seems to become: do i want to display the field as a number with a format mask, or convert the whole thing to a string/char value?
    Keeping everything as a number, in the report format field Format Trigger, i create a mask for each field and call a function to do the following:
    v_format := q'{(}' || q'{"}' || p_currency || q'{"}' || v_format || q'{)}';
    this gives you a mask with the parenthesis for negative numbers, the currency as literal string, and the v_format (NN,NNN,NNN,NNN,NN0.00) for currency amounts. we vary the # of decimal places and pass that value into the function (just to make things complicated.)
    the 'uber complex' version of the function converts the number field to a string/char value. this allows you to change the decimal and separator values for an individual data row. we have not decided to implement this, but it works. you have to enter a 'bogus' character field in the report format and use srw.set_field to change the value at runtime. this keeps the value as a number in the sql for math, but a char to display. complicated. the function does this...
              v_format := '999G999G999G990';
              v_decimalplaces := MOD((p_decimalplaces * 10),10);
              IF v_decimalplaces > 0 THEN
                             v_format := v_format || 'D';
                   FOR i in 1..v_decimalplaces LOOP
                   v_format := v_format || '9';
                   END LOOP;
              END IF;
              CASE WHEN SIGN(p_value) >= 0
                   THEN
                        v_format := p_currency || TO_CHAR(p_value, v_format, 'NLS_NUMERIC_CHARACTERS = '',.'' ');
                        ELSE
                        v_format := '(' || p_currency || TO_CHAR(ABS(p_value), v_format, 'NLS_NUMERIC_CHARACTERS = '',.'' ') || ')';
                   END CASE;
    we would pass the values of NLS_NUMERIC_CHARACTERS to the function.
    the last 'hitch' is that not every UNICODE currency symbol displays properly. the euro (hex 20AC) is fine, but the korean won (hex 20A9) is not. the database character set is AL32UTF8, and the sql works fine in sql_developer. however, reports does not reliably display the symbol. i have a TAR into oracle at the moment, hoping for clarification. there seem to be many layers in oracle reports to get this to work (database character set, report server character set, font in developer, font on report server, etc.)
    let us know how it goes...an often asked, but rarely answered question (IMO). hopefully this gives you some ideas.
    thanks,
    john

  • Currency sign in report

    Hi,
    I have created an ageing report for AR in BW 3.1
    My report has two columns. One is Debit amount in Local currency and Debit amount in Group currency (USD)
    Though the amounts in both the columns is correct; it shows ERROR word in front of the amount in second column.
    for ex: 12443ERROR I want to display this as $12443.
    How can we add $ sign in this column in thid report?
    Pts for ans..

    Hi Pankaj,
    Local currency has several currency units, but grp currency is in USD.
    Values in report is coreect but it shows error word in front of the value.

  • How to pass report column value

    I'm trying to implement a AJAX report pull from one of the response on this forum. The report column calls the following javascript function below. The #COL2# values are dotted values like 10.2.3.5.6. The function passes values correctly passed if the values are without special characters. I tried to put the value 10.2.3.5.6 in escape(10.2.3.5.6), but didn't work. Any ideas to pass this value in javascript encode/decode way is appreciated.
    javascript:GetReport(#COL02#)
    thanks,
    Surya

    Hello Surya,
    >> I have put an example on APEX site …
    This is indeed the best and fastest way to get help.
    >> but the third version value "1.2.3" fails to display …
    String parameters should be encapsulated with single/double quote signs.
    Your first two rows could have been considered as numbers, so the systems let them pass. The third one – 1.2.3 – is not a number, but you didn’t mark it as a string.
    I changed your code to the following:
    javascript:GetReport_r1('#COL01#');And now it’s working as you need.
    General remark: I saw in your report page that you are using the “Generic Column Names”. Just so you know, this not is the optimal choice. If you don't have to use it, you should use the first option of “Query Specific Column name”. If you have to use generic columns, try to minimize the number as close as you can to the real number of columns, and not just to default of 60.
    Regards,
    Arie.

  • GridView collapses when continuing $$$ (dollar signs) string is in a cell.

    Dear anyone who concerns,
    I have made a GridView defining Columns -> Item Width to be fixed 110 px.
    But when continuing $$$ (dollar signs) string is in a cell,
    the string does not wrap and make the cell wider than 110 px
    so that GridView table's layout collapse in result
    when the page is shown in Internet Explorer 8.
    (when in Firefox or other browsers, the string wraps successfully)
    Would you please let me know the reason why above simptom occurs ?
    Thank you very much in advance.

    Hello,
    For issuses regadring ASP.NET controls, please post it to:
    http://forums.asp.net/
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is there anyway I can type a pound sterling sign?  I only have a dollar sign.

    Is there anyway I can type a pound sterling sign?  I only have a dollar sign.

    annfromnorthwood hills wrote:
    I found the answer in the "More like this" column - the figure three - which looks like a hash key types the pound sign.  Hope I do not need the hash key!
    It sounds like you are using the British keyboard layout when you have a US keyboard.  Go to system preferences/language & text/input sources and check the box for US and uncheck the box for British.  That way the keys will produce what it says on them.  £ will be at option/alt + 3.

  • Removing dollar sign in the Query

    Hi gurus,
    Can you please help me to remove dollar sign in the query when an amount is displayed...
    Thank you.

    Hi Bob
    "Display scaling factors" only worked for my 1-structure queries.  I have finance queries where the row is hardcoded with selections and formulas and the column are key figures and calculated key figures.  The "Display scaling factor" option doesn't remove the $ signs away from all cells.  Do you have any idea how I can get rid of them?
    Thanks,

  • GREP search for \$ Dollar sign doesn't find them all?

    Hello,
    OK-I was practicing my GREP yesterday and was working with escaping out characters. Since the $ could not be found, I assumed it needed to be escaped out \$. The odd thing is, when I say find next, it skips many of them in the document?
    Anyone know why?
    thanks!
    babs

    This has been reported before; it's an oddity of ID's implementation of GREP. Nobody knows why! (*)
    It only works reliably when you do not use the escape code \$ (you were, in fact, correct to try that first!), but instead use the Unicode notation for a dollar sign: \x{0024}.
    I've noticed some strange GREP-related behavior myself: at times, it seems "Find Next" can skip a *huge* quantity of text and finds something near the end of the file; but a next "Find Next" mysteriously jumps back to the previous find position, and continues from there as if nothing happened.
    (*) I'm pretty sure it's the Adobe engineers that are responsible for this. According to Peter Kahrel, Adobe didn't write the GREP module by themselves but chose to use a free programming library called "boost". Now boost is an extremely thorough piece of work that has gone through literally years of development and dozens, if not hundreds of programmers (probably unpaid as well, since boost is open source), and I cannot imagine something like this to slip through unnoticed.
    But ... for InDesign, the Adobe programmers had to add code to cater for InDesign's own special characters and codes -- stuff like the special characters and spaces, and text variables. It's not hard to imagine a programmer accidentally changing a line of code that did the, erm, "now search for \$" stuff.

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

  • Display an alert message through javascript when report column item is null

    Hello,
    I have a report column item which is an select list item and now i want to display an alert message when value is null, I mean no value is selected, this alert message should be fired when update button is clicked.
    Can anyone please help me with this issue.
    Thanks,
    Orton

    You could try something like this:
    declare
      x        INTEGER;
      err_ct  INTEGER   := 0;
    begin
      x  := 5;  -- number of rows displayed
      for i in 1 ... x (
        IF wwv_flow.g_f08(i)) IS NULL THEN err_ct  := err_ct + 1;
        END IF;
      end loop;
      IF err_ct = 0 THEN
         RETURN NULL;
      ELSE
        RETURN 'Nice error message: you must supply a value.';
      END IF;This would be used with a PL/SQL validation: Function Returning Error Text.

  • Cannot edit a field that is "Standard Report Column" when new row added

    Hi everyone,
    I have created a master-detail form from the wizard and within the detail report region source I have used apex_item.xxx API
    example;
    select C1, C2,
    CASE when C2 ='N' then
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'ENABLED', 'NO',null,null, 'f03_#ROWNUM#')
    else
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'DISABLED', 'NO',null,null, 'f03_#ROWNUM#')
    END C3
    from table;
    All columns C1,C2,C3 are defined as "Standard Report Columns".
    The results allows the column C3 field to be enabled or disabled for input depending on a condition.
    The problem is when you hit the default button "Add Row" to add a new row. The row is non-editable and is populated with null values.
    What I want is to allow input when a new row is inserted into the multi-row detail form.
    Can any one help?
    Is there a way to change the Display As field for the new row columns to "text field" from "standard report column" dynamically?

    I think you will need to use the old way of adding rows instead of the new one. I remember having headaches trying to get it working.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How can i define the width of report column in report region ?

    Hi,
    I have report region and i want to have a static width for each column ( not based on column name of column data ), how can i do it ?
    Thanks in advance ,
    Yoel

    Can you provide more details pls? I am also trying to change widht of report columns and I do not see anywhere in reports atrributes where it allows me to do that...Thanks so much!

Maybe you are looking for

  • SO raising-MWST

    Hi Gurus, While raising the Sales order : I am getting a Error message: "Mandatory condition MWST is missing" I have followed the steps from WIKI and I have also removed from V/08: Mandatory tick mark from MWST of RVAA01. Still the problem exists. ca

  • Trying to choose a gaming imac configuration--on a budget

    I'm looking to get a gaming imac, and I'm on a budget. I enjoy RTS games, as well as Diablo-esque games, etc., but not shooters, and was thinking about going the bootcamp route. Initially, I thought about the 20" intel double core with 2 gb and 256 m

  • How to expand battery life with iOS5 on iPhone 3GS, it's shorter than before?

    I upgraded to iOS 5 and since then the battery doesn't seem to last that long any more. Are there any settings I could change to improve that?

  • Iam getting an error cannot connect itunes store

    i cant connect itunes in my iphone 4s..iam getting an error "cannot connect itunes store".i can able to use app store in my phone..iam using wifi connection..whats the problem with my phone..i disabled restrictions in settings..but still i cant acces

  • Queue ADT using two stacks

    I am trying to implement a Queue ADT using two stacks that should still behave as a queue(FIFO). I understand this for the most part, but only being able to use push and pop methods because we are using the stacks is what is getting me stumped. I nee