Format Mask for Germany
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
prasad
Have you tried setting profile option ICX: Numeric characters ?
But very careful when you set this, better to set it at user/responsibility level.
Similar Messages
-
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 AMayadsufyan 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 -
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! -
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... -
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. -
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. -
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 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 -
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 <c:out value="${bindings.MyDate}"></c:out> the format mask for the date is applied and it looks good, but when using
<c:forEach var="Row" items="...">
<c:out value="${Row.MyDate}"></c:out>
</c:forEach>
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 <html:form> ? Since it works using <c:out value="${bindings.MyDate}"></c:out> inside a html:form.
Maybe you are looking for
-
Since updating to the latest version of Firefox the Adobe Flash player pop up continually pops up whether the page needs flash player or not. It even shows for a text page. It is very annoying
-
Hi, I need help with my problem: Simply I have a java class (made with Eclipse) where . In the main method I call to the constructor where I try to connect with a MySQL Data Base, this is my code, and my exception: package es; import java.lang.reflec
-
Add unidentified members to Essbase outline automatically on load
We are using FDM to map and import data files to Essbase. Due to the number of members in each Essbase dimension, and since all of the source members are identical to the target members, most of the FDM mappings are taken care of by single "like" map
-
Windows system drivers are 32 bit...but OS is 64 bit
Satellite C855D-S5230 For the last 4 days the time it's taking me just to get on a browser is close to 1/2 hour. Prior to that it was easier. Most programs are not responding. I get frustrated and shut it down, only to log on in a 'safe mode'. I'
-
Modification, ReportSet sumbission
How to modify an existin report? How to submit a Report set in ADI? if we can, is there a way to specify file name with directory path? Is there any way we can access the ADI forms so that we can program the controls and sumbit it programmatically on