Portal Form: Number Format Mask Accepted Values

Hi, i'm trying to format the way numbers are displayed in our forms, specifically instead of 50,000.00 we want 50,000 - without the .00.
I cannot find anything on format masks in the portal documentation, and the standard oracle masks I have looked up such as "NNNN" etc don't seem to be supported.
Trial and error has yielded a mask of : 99,999,999 which does get rid of the decimal, but introduces a problem where if the value is smaller than the mask it is shifted into the middle of the field (leading spaces are being added for every missing unit that is specified in the mask), but obviously if a smaller mask definition is used then larger numbers appear as ###### which is worse than the leading zero problem.
Where in the documentation can I find the accepted forms of numerical number format masks for use in portal forms?
Thanks..

Let me know if you find a solution to this. I even asked my Oracle instructor and she couldn't tell me how to setup a date format mask. This is what she gave me which doesn't work, but I'm not saying I'm the quickest race car at the track. lol
"Hi,
Try the following format mask "("099")""-"099"-"0999. They have an example of this on page 7-12. I'm not sure if OTN may have a listing of any Forms format mask. Search under Forms Developer and see if you find anything.
Take care,
L"

Similar Messages

  • How to ignore/remove number format mask ?

    Hi
    I have to import some numbers from the excel sheet, and that number has been saved along with the format mask like (9,999.99) (2,000.00,1,500,00,......)
    but that field in my table is a number filed and i have to equal that number with the number that exist in my table
    i have write that relation like
    mytable.filed1=to_number('excel_filed',9,999.000)
    but I does not work
    So what the solution for that
    Thank you

    Double post. See How to remove a number format mask ?

  • Is it possible to setup serial number format only accept 10 digits?

    Hi,
    I am using TestStand 3.0.
    Is it possible to setup serial number format only accept 10 digits?
    Also I want to input part number before start test. How to do this?
    Thanks,
    Ben

    It's the modelsupport2.prj in components\models\TestStandModels\
    There is also a preuutcallback.seq example in the shipping examples.

  • Number Format Mask in Forms

    Hi All,
    If I enter 99999 in the form it has to display 99,999.00.
    What is the format Mask that I have to use to make it dispaly in this way.
    Actually I tried 999,999,999.99 but this is leaving empty spaces...and If the number is bigger then It wont display that...
    Please advice.
    Thanks,
    Satish

    Once you have the number format, you can trim the left spaces.
      1* select to_char(99999,'99,999,999,999.00') result from dual
    sql > /
    RESULT
             99,999.00
    sql > select ltrim(to_char(99999,'99,999,999,999.00')) result from dual;
    RESULT
    99,999.00Thanks,
    Rajesh.

  • APEX cannot accept any other number format mask except 999G999G999G999G990?

    Hi, guys:
    Can anyone help me on this problem? I have a report with a column of number type, but I want to use accounting format mask such as <1234.56>, however. whenever I choose any other format model for this number column, I got the error message as "ORA-01481: invalid number format model", I can only choose Numeric format mask: 999G999G999G999G990
    Anyone could give me a hint on this? I am using APEX 4.1 and Oracle 11G R2. Here is my query for report
    select uh.descr, inv6.userkey, inv6.invno, inv6.amt-pa_temp.Subtotal_Payment over_short_amount
    from
    (select pa6.invoicekey, sum(pa6.amt) Subtotal_Payment
    from payments pa6
    where trunc(pa6.pmtdate)<=to_date(:P55_DP_VPF_PROD_DATE,'DD-MON-YY')
    and pa6.type not in (5)
    and pa6.invoicekey in (select pa5.invoicekey
    from payments pa5
    where trunc(pa5.pmtdate)=to_date(:P55_DP_VPF_PROD_DATE,'DD-MON-YY')
    and pa5.type=2
    group by pa6.invoicekey) pa_temp, invoices inv6, userhdr uh
    where inv6.userkey=uh.userkey
    and pa_temp.invoicekey=inv6.invoicekey
    and pa_temp.Subtotal_Payment<>inv6.amt
    and abs(inv6.amt-pa_temp.Subtotal_Payment)>1000
    order by 1Thanks a lot!
    Sam

    I found the cause. Thanks!

  • Applying date and number format mask

    I have specified a date format for an attribute and a number format for another attribute of an entity object using Entity Object Editor - Control hints for the attributes.
    The date format is:
    Format type: Simple Date
    Format: dd.MM.yyyy
    The number format is:
    Format type: Currency
    Format: 0,000.00 km
    When using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; the format mask for the date is applied and it looks good, but when using
    &lt;c:forEach var="Row" items="..."&gt;
    &lt;c:out value="${Row.MyDate}"&gt;&lt;/c:out&gt;
    &lt;/c:forEach&gt;
    the format mask is not applied.
    When it comes to the number format it is not applied no matter what I use.
    I have tried setting the format for the view object attributes as well but the result is the same. How do I make this work?

    Can it have something to do with &lt;html:form&gt; ? Since it works using &lt;c:out value="${bindings.MyDate}"&gt;&lt;/c:out&gt; inside a html:form.

  • Civil Identity Number Format Mask

    Dears,
    I Need to change the Format Mask for the Civil Identity Number In The People Enter And Maintain Form
    Any Idea How Can I Do That ?
    Thanks in Advance.
    BR,

    Thanks. I did an "on submit and before computation" process that did a SQL replace on the page item. The DML process then successfully inserted the value into the database.
    Alex.

  • Number Format Mask error

    If i am providing format mask is 9 and providing value as 5, then i am getting output as " 5", means a white space padded just before the output. so can any body inform me is this a forms 6i bug, or the output is something like this only.
    A white space is padding just before the output for any Format Mask.

    what is the maximum lenght of the value?
    select max(length(MODEBA))
      from POLK_A_CT
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select to_number(MODEBA,'999') MODEBA
      8    from POLK_A_CT;
    ERROR:
    ORA-01722: invalid number
    no rows selected
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select to_number(MODEBA,'099') MODEBA
      8    from POLK_A_CT;
    ERROR:
    ORA-01722: invalid number
    no rows selected
    SQL> with POLK_A_CT as
      2  (select '123' MODEBA from dual
      3   union all
      4   select '456' MODEBA from dual
      5   union all
      6   select '0987' MODEBA from dual)
      7  select lpad(MODEBA,3,'0') MODEBA
      8    from POLK_A_CT;
    MOD
    123
    456
    098
    SQL>

  • How to remove a number format mask ?

    I have to import some data form excel sheet. but the number in that sheet have been saveed as the following format mask 1,000.000(2,000.000,1,5000,00) as charchter
    but in may table that field is a number, so how can remove the format mask from the excelsheet?
    Thanks

    846640 wrote:
    I have to import some data form excel sheet. but the number in that sheet have been saveed as the following format mask 1,000.000(2,000.000,1,5000,00) as charchterI am wonder how to apply format mask in excel for the character cell.
    but in may table that field is a number, so how can remove the format mask from the excelsheet?So, while reading from excel how the values is coming in the variable i assume its coming with comma(,) than what happens if you try like below?
    variable_name:=TO_NUMBER(REPLACE(variable_name,',',''));
    -Ammad

  • Oracle forms- Number formatting in post query

    I have a column called num_value in a table.
    When the user retrieves the data in post query I need the following formatting
    For WBC if the value entered is 3 I want to show in the forms as 3.0 etc....
    So I have a decode statement
    Cursor C5 is select task_desc,decode(substr(task_desc,1,3),'WBC',to_char(num_value,'fm99.0'),
    'RBC',to_char(num_value,'fm99.90'),
    'HGB',to_char(num_value,'fm99.0'),
    'HCT',to_char(num_value,'fm999.0'),
    'PLT',num_value,num_value) as value,alpha_value
    from qc_task_poch_results A,QC_TASKS B
    where a.task_id = b.task_id
    and a.procedure_id = 1127
    and drive_id = 'DRV5528593'
    Begin
    Open C5;
    Fetch C5 into :qc_task_results_poch.num_value
         ,:qc_task_results_poch.alpha_value;
    Close C5;
    End;
    But I amm not getting the formatting.
    The column in the form is non database .
    When I run in toad, I get the right formatting.
    TASK_DESC|VALUE|ALPHA_VALUE
    WBC count|3.0|
    RBC count|2.33|
    HGB count|6.0|
    HCT Count|17.0|
    PLT count|56|
    Any help is appreciated

    You are formatting your data in your select statement not in Forms. Consequently, any format mask you may have on the Item where the data will be display will reformat your data to match the Item's format mask.
    Do you have the format mask property defined on the Item? What is the data type of the item?
    Craig...

  • Require a Number Format Mask to show leading zeros on decimals

    Hi,
    My users are complaining about the decimal point not being very clear when fractional numbers are shown. I need a format mask to show a leading zero for numbers between 0 and 1 (eg. 0.5) but not have a trailing point after whole integers.
    by example:
    10 should show "10"
    .5 should show "0.5"
    I have tried the following
    FM99990D99 which displays as
    10 as "10."
    .5 as "0.5"
    The whole integer of 10 then gets a trailing decimal point. Very ugly as the decimal is the exception to the rule which is why I need to highlight it.
    The user do not want a forced decimal place either as follows:
    FM999990D09
    10 as "10.0"
    0.5 as "0.5"
    The trailing decimal place is not a practical solution because 99% of numbers are whole numbers and the decimal just pollutes the screen with more zeros, making the numbers harder to read, resulting in more errors.
    I am looking for a format mask that shows:
    10 as "10"
    .5 as "0.5"
    I am using Oracle Forms which means I cannot set_item_instance_property for the records which have decimals. I need a single format mask for all options...
    Any help would be appreciated.
    Thanks,
    Tim.

    Thanks Francois.
    Looks like there is not a simple solution using a format mask alone.
    I have implemented a very similar solution to your suggestion. I have a character, non-base table field which I populate and dynamically set a format mask if the value is between -1 and 1 (and not zero).
    i.e.
    if :purchase.qty > -1 and
    :purchase.qty < 1 and
    :purchase.qty != 0
    then
    :purchase.qty__dsp := to_char(:purchase.qty,'FM999999990D99');
    else
    :purchase.qty__dsp := to_char(:purchase.qty);
    end if;
    Thanks,
    Tim.

  • Number format mask of text item is not applied

    Hello all,
    I want to format a number like 999G999G999G999G990D00
    Is specify the format mask under source of the item. But it is not applied and I don't understand why.
    See http://apex.oracle.com/pls/otn/f?p=53873:2 for example
    Btw. is it possible to set the format for all numbers in the application at once? I want to have a thousand separator in most cases.
    Message was edited by:
    Jacob_B

    Hello Jacob,
    Btw. is it possible to set the format for all numbers
    in the application at once? I want to have a thousand
    separator in most cases.I am using substitution strings for things like that. You can define some "global" substitution strings on page application definition.
    So you just have to put in the format (999G999G999G999G990D00 ) in there once and give it a name. Let's say NUMBER_THOUSAND.
    Afterwards you can reference it wherever you need the format e.g. this way:
    to_char(10000,'&NUMBER_THOUSAND.').
    This way you just have one place where to change the format model.
    Regards,
    Tine

  • Own number format Y-Axis (value divided by 1000)

    Hello everybody,
    in WebI I have a quite simple chart.
    In Y-Axis I show the values. How can I divide these values divided by 1000?
    I have found the advanced format menu. But don't know the syntax how to make my own number format for this.
    So for Example my value shown now is: 15.900.000 but it should be 15.900,00
    Any workaround is welcome. But I would prefer not to touch the Universe and stay in WebI.
    best regards Harry

    Hi Harry,
    There is no functionality to create a Custom Format Number and 
    Enhancement Request ADAPT01130144 has been created.
    Regards,
    Sarbhjeet Kaur

  • Solved: Pick Number format mask

    Hello,
    I'm trying to format all my numbers to a specific model:
    999G999G999G999G990D00
    I tried doing it like I did with 'PICK_DATE_FORMAT_MASK', where I define my format under
    "Application Attributes>Definition". I called it PICK_NUMBER_FORMAT_MASK'.
    It didn't work and i got the next error above my report:
    report error:
    ORA-01481: invalid number format model
    I also tried to define an application item with the value: 999G999G999G999G990D00
    but then I get the same error. If I paste my number format in my report column under Number / Date Format then it works perfect. But I can't change the global format of my numbers now.
    Can anyone help me?
    Thanks in advance.
    Regards,
    Oli

    <p>Oli,</p>
    <p>As you already discovered there is no PICK_NUMBER_FORMAT_MASK substitution variable like there is for date pickers. Perhaps this a nice enhancement request. However, there are some workarounds:
    <ul><li>
    <p>For reports, you can use your PICK_NUMBER_FORMAT_MASK if you convert the NUMBER columns into VARCHAR2 columns like this:<BR>
    <p>to_char(number_column,'& PICK_NUMBER_FORMAT_MASK.')</p></li>
    <li><p>Use ApexLib and extend the firefox plugin with your own numeric settings.</p></li>
    <li><p>You can use the user interface defaults (table defaults, column defaults) in the shared components section of your application.</p></li>
    </ul>
    <p>With kind regards,</p>
    <p>Jornica</p>

  • Break formatting and number format of SUM value

    Where can I put number formatting functio, which will format breaking sum values...like:
    to_char(#SUM_VALUE#,'fmt 999G999G999G990')....maybe this thread is somewhere posted, but I cannot find it.
    Next, how to exclude showing reports total at the end of report?
    Is there any working demo to see some hints...
    THX!
    Message was edited by:
    Funky

    Hello Damir,
    "Maybe a hint for feature releases to have an option to disable total report sum on column …"There is a relative simple workaround, which will allow you exclude or highlight (style) this total report sum line, as you can see in here - http://htmldb.oracle.com/pls/otn/f?p=22710:10
    In the Report Attribute page, I'm using the Break Formatting section first field "Display this text when printing report sums" - http://i10.tinypic.com/4ie8ck5.png .
    If you want to exclude this line, you should use the same color as your cell background. For the example page, the code is looking like this:
    <div id="FinalSum"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum','TR'); lastRow.style.color='#f7f7e7';</script></div>If, on the other hand, you want to highlight the line, or use any other CSS attribute style available, the code would look something like this:
    <div id="FinalSum1"><script type="text/javascript">var lastRow=html_CascadeUpTill('FinalSum1','TR'); lastRow.style.backgroundColor='#CCCC99';</script>Total Report Sum</div>    Regards,
    Arie.

Maybe you are looking for