50027: Invalid format mask for given datatype.
hi ,
i have a non database Number Item maximum length is 8
when i try to put
NNNNNNNN0.99 as a format mask
i got the following error
50027: Invalid format mask for given datatype.
i want this field to view it's value Such as
0.55when there is no integer no before the decimal point
Can anyone help please?
Form Ver Is Form6i
Edited by: ayadsufyan on Apr 25, 2013 3:58 AM
ayadsufyan wrote:
hi ,
i have a non database Number Item maximum length is 8
when i try to put
NNNNNNNN0.99 as a format mask
i got the following error
50027: Invalid format mask for given datatype.
i want this field to view it's value Such as
0.55when there is no integer no before the decimal point
Can anyone help please?
Form Ver Is Form6i
Edited by: ayadsufyan on Apr 25, 2013 3:58 AMtry
099999.99Hope this helps
Similar Messages
-
Date format Mask for CHAR datatype
hi
i want to assign a format mask like 'dd/mm/yyyy' to a field which has char datatype can i ?The quickest answer to your question is to try it! :-) If you click on the Format Mask property of your Text Item and then press F1 Forms will display the Format Mask Help information for this property. All of the valid combinations for a Text Field Format Mask will be displayed.
To answer your question, you can put a format mask on a Text Item that can enforce the basic format of 'DD/MM/YYYY', but you could get data like: 99/99/9999. You would have to write code in a When-Validate-Item trigger that would ensure the user has entered a valid date.
Hope this helps.
Craig... -
I want Change format mask for all fields that type's number
Such as
if :parameter_value = 1 then
all fields format mask = ' 999,999,990.000' ;
else
all fields format mask = ' 999,999,990.00' ;
end if;
RegardsSo, i have bad news for you : you'll have to rebuild again.
Meanwhile i have excellent news for you : there's an online tool made by Johannes Henseler called Sidecar xml which builds the necessary xml file for you, sort of what you find in the Digital Publishing Folio Editor website, but saves it in your Folio folder.
Next time you import all your folder (with that file), it will place all the necessary information, and even reorder the articles.
Build once, play many times. -
Can you specify format mask for date or timestamp columns
Hi,
Recently when I'm developing a PL/SQL application, I find that any format mismatch between data in table and format mask specified in to_date/to_timestamp function will cause exceptions. However, I'd like to make my application more robust and immune to this kind of problems, and know exactly which format mask to use for exactly what columns in db table.
Is there a way in a table column to specify the format mask for date/timestamp columns such that I can know exactly what format mask to use when doing conversion? Also I don't want to depend on NLS_DATE_FORMAT specification, don't want to make a long case statement to check for every date format allowed by Oracle.
Many thanks.As per my knowledge it can't be possible
casuse if you entered '12/11/2007' date
how oracle know that in date 12'th is the month or 11'th.
The person who entered that date will also have confusions in future.
either you have to fix one date format for your whole application (application configuration).
or you have to store the date format in other column of the table.
In case you set the date column to varchar and store all the dates without format then
in future you may face problems in future while fetching the records, searching etc.
Regards
Singh -
JQuery format mask for date columns in tabular form
Hi,
How can I apply jQuery format mask for date columns in a tabular form?
Thanks.
AndyOK, I realized I didn't choose the default type as "Pl/SQL Expression", now it's working correctly.
Thank you very much! -
Hi All,
i have developed New Form for the German Client,In tht form i have one column for percent there the user will give 20,90 %.If i click Calculate button the calculation has to done based on that.
Format Mask should be like 50,4 instead of 50.4
If any one is having the code for that plss send me or let me know the process,
help me in this issue..bit urget
Regards
prasadHave you tried setting profile option ICX: Numeric characters ?
But very careful when you set this, better to set it at user/responsibility level. -
Hi guys.
I have a report in which I want to give format to a number, but I'm getting an issue with the 0 (zero).
The format mask I'm using is "999,999,999.99", but when I got a 0 it is printed like ".00" and I want to print it like "0.00", in any other case I want to print the number like "123,456,789.00"
Hope somebody can help me.
regardsuse "999,999,990.00"
-
Download Formatting Mask for BLOB column
Hi All,
IR Query : select "ROWID","FILE_NAME",dbms_lob.getlength("DATA_FILE") "DATA_FILE",
"DOC_SIZE",PROPOSAL_OWNER
from "#OWNER#"."APXTER_IMP_HDR"
I am using BLOB Download Format Mask on FILE_NAME column
using the following FORMATTING
DOWNLOAD:APXTER_IMP_HDR:DATA_FILE:ROWID::::::attachment:Download
After applying the changes, I counter the error
The number of display columns in the report reached the limit. Please click Select Columns under Actions menu to minimize the report display column list.
Thanks,
SombitHello,
Here you can find a tutorial about blob:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
I have a demo here - it shows how to display an image in case the file is image. Otherwise, it displays download link:
http://apex.oracle.com/pls/apex/f?p=63066:1
workspace: somefeto
user: test
pwd: test
Application 63066
Also, there is a packaged application : Sample File Upload and Download that shows you, how to do it.....
you can find it on your workspace.. or here if you wish:
http://apex.oracle.com/pls/apex/f?p=10540:3:15582111009947::NO
workspace: somefeto
user: test
pwd: test
Regards,
Fateh
If you believe that my answer was helpful to you or correct, then please mark the answer as helpful or correct ... -
Formatting mask for marketing project
Sir ,
We have implemented SAP CRM 2007 (6.0) . Marketing Plan , element , Campaign Management & element id's are generated automatically by system .
But we have created Formatting mask and Campaign ID should not be generated automatically but End user will create Marketing & Campaign ID according to formatting mask .
Please guide how to stop automatic numbering and
iD will be created by user according to formating MASK . what settings i have to do ?
Regards,
Anupsir ,
campaign and marketing id's are generated automatically . i dont want to use auto numbering
now i have created formatting mask . i want to use formatting mask . so please guide me how can i use it .
that will replace existing numbering system.
Regards,
Anup -
Dynamic Format mask for attribute in a JTable
I've a JClient app.
I need to define format and color of a field at runtime depending on some row informations.
I've the same problem in a Form and In a JTable.
Could someone suggest how can I do that ?
TIA
TullioFormat and other UIHints (ControlHints) are not looked up per row but are considered like static metadata for a given row/object type. So, there's no one chokepoint in Bc4J to override the control-hint apis like label/format/tooltip etc.
In DataBinding side, you can override
public Object getAttributeFromRow(Row row, AttributeDef def)
and
public void setAttributeInRow(Row row, AttributeDef def, Object value, boolean handleException)
methods that perform the format/unformat implementation on a particular control-binding. -
hi guys
i am developing custom form in forms 6i
my problem is i have lattitude , longitude colums in my form so i have to take the values of those in degrees and minutes format can any one help me out in thisWhat about something like the following with a NUMBER datatype:
999"°"999"'"Francois -
Format Mask for TexInput Field
Hi All,
I have one requirement of making format for string which to be entered into text This should work like Password field but main thing need to implement is that entered alphabets (Eg. 123456789) should not replace all alphabetes with special characeter (Eg. *********). Instead of this replacement, I need to replace only starting few alphabetes. For example, when we enter string "123456789", while entering this string TextInput field should replace string by string "******789".
That means user can not see some starting alphabetes when he key in whole string.
Please let me know if anybody has done this ever or has some idea.
Help is greatly appreciated.
Thanks,
ArvindI am sorry.
By mistake I have raised this thread in Database forum.
I wanted to raise in OAFramework. -
How can I convert a date format such as "20140730" using TO_DATE()??
I have tried to create a calculated dimension with ToDate function but it seems Lumira didn't support with that specific format.
Thanks,
RaymondHi Raymond,
I understand your concern about the date format. Are you getting blank cells when using the year first, such as "yyyyMMdd"?
Try to use this formula below when creating a calculated dimension (replace {Date} with the correct dimension if different):
ToDate( {Date} ,"dd/MM/yyyy")
It should convert it to a date just fine that way, and then you can right-click on the column and change it to whatever you prefer using "Display Formatting". I'm not sure why this is happening after I did some testing, but I'm sure it will be fixed.
If you want to use Tammy's method, it's also very simple. Just right-click on the column, "Convert to Text" and set number of digits to keep to 0. Then convert to date using the first option in the drop down and change display formatting to whichever you prefer afterwards. -
Format mask for Numeric and Data data
1)Is there any way to suppress timestamp for 12:00:00 value from a date column with TO_CHAR? except that value we should display time value for date column, like this
01/12/2009 01:15:01 , 01/12/2009 12:00:00
this should be like
01/12/2009 01:15:01 , 01/12/2009
2) Can I display "0." decimal infornt of numeric value? I used to_char('0.1','9999990.99') , but its displays leading spaces How can I toggle fm for numeric values ?
Thanks,
Hesh.
Edited by: Hesh on Jun 23, 2009 12:27 AMA slight change to Michael's query (corrected a small typo)
SQL> WITH test_tab
2 AS (SELECT SYSDATE date_col FROM DUAL
3 UNION ALL
4 SELECT TO_DATE ('26/06/2009 12:00:00', 'DD/MM/YYYY hh24:MI:SS')
5 FROM DUAL)
6 -- end test data
7 SELECT date_col,
8 TO_CHAR (
9 date_col,
10 CASE
11 WHEN TO_CHAR (date_col, 'hh24:mi:ss') = '12.00.00' -- typo error '.' instead of ':'
12 THEN
13 'dd.mm.rrrr'
14 ELSE
15 'dd.mm.rrrr hh24:mi:ss'
16 END
17 )
18 dt
19 FROM test_tab
20 /
DATE_COL DT
23-JUN-2009 13:29:42 23.06.2009 13:29:42
26-JUN-2009 12:00:00 26.06.2009 12:00:00
2 rows selected.
-- corrected query --
SQL> WITH test_tab
2 AS (SELECT SYSDATE date_col FROM DUAL
3 UNION ALL
4 SELECT TO_DATE ('26/06/2009 12:00:00', 'DD/MM/YYYY hh24:MI:SS')
5 FROM DUAL)
6 -- end test data
7 SELECT date_col,
8 TO_CHAR (
9 date_col,
10 CASE
11 WHEN TO_CHAR (date_col, 'hh24:mi:ss') = '12:00:00'
12 THEN
13 'dd.mm.rrrr'
14 ELSE
15 'dd.mm.rrrr hh24:mi:ss'
16 END
17 )
18 dt
19 FROM test_tab
20 /
DATE_COL DT
23-JUN-2009 13:29:44 23.06.2009 13:29:44
26-JUN-2009 12:00:00 26.06.2009
2 rows selected.
SQL>Regards,
Jo -
Urgent Format mask for the number field
I have a number column which holds very big numbers. I want the numbers to be displayed with commas separating every three digits with two decimal places displayed.
Example:
stored number is 7878787998989809809078787909.08
to be displayed as 7,878,787,998,989,809,809,078,787,909.08
Thanks in advance
Regards,
Madhuselect to_char(7878787998989809809078787909.08,'999,999,999,999,999,999,999,999,999,999,999,999,999,999')
from dual;
7,878,787,998,989,809,809,078,787,909
Maybe you are looking for
-
Yesterday, I "successfully" installed Flashplayer v.11. However, it has not been working as I am often asked to install it when trying to look at a video, etc. sent to me via email. So, today, I uninstalled it. Then I disabled Norton Internet Secu
-
Can Shuffle play while charging on Apple USB Power Adapter?
Hi, We would like to purchase a shuffle (2nd gen) to play continuously music on hold to our company's telephone system. The Phone system's audio-in jack is compatible. I've connected my 1st Gen iPod shuffle to the phone system, and it plays fine. We
-
Safari 5 Crashes on Launch for Users With Network Homes
I have just upgraded 2 Macs to Safari 5, on both machines it crashes immediately on lauch when the users (who have networked home directories) launch the app. A test local user can run Safari 5 with no problems. The Internet Plug-Ins directory for us
-
Hi, Any idea on how to download "LION" OSX for iMac? My iMac is only capable of updating until "LION" (not MOUNTAIN LION) and i'm currently on LEOPARD. Thank you
-
Disable iCloud on a stolen device?
How do i disable iCloud on a stolen device? The thief still see which music and app i'm buying on the others devices. Consider that i disable location services (no format through find my iPhone) and i can't change the password beacuse if i ask a new