Keypad decimal on non-US locales

Hi there.
Quick question, is there a way to map the keypad decimal to a comma (or the decimal of the default locale) for all input on an application?
Also, how is this issue usually handled? If I use a jFormattedTextField with this format "#,##0.00", it will disregard the keypad decimal and only accept the comma key as a decimal.
Basically, I'd like to have MS Excel's behaviour as far as the keypad decimal is concerned.

Sorry for the bump. Can anyone shed some light over this problem? I'm surelly not the only one facing this issue.

Similar Messages

  • Numeric Keypad Decimal Character

    Although all our NLS% variables seem OK for our locale (Spain)
    we can't get in Forms 5 the numeric keypad decimal character as a comma ',' (as needed in our language) but as a dot, which breaks all our localiced masks ( eg 9G999D99).
    As our app. is data entry intensive, we need a way to use the numeric keypad, but keeping the locale conventions. It wasn't an iussue before the Euro, but now is a must
    Any hint how to change this ?
    Tx in advance
    Werner Llacer

    Hi
    Numeric keypad is controled from keyboard driver when your
    software use standard Windows control. We had similar problem
    and only solution that we found was to pach the file describing
    our keyboard. It is not very good because it is not fully
    correct and it is different in different Windows versions.
    Regards

  • Got multiple values for non null local custom field

    Hi,
    I get the following error message while saving a MPP from Project Professional to MS Project Server:
    Got multiple values for non null local custom field.
    I checked the MPP and found that there are fields with same alias as Enterprise field names. However, these fields are at a Task level, whereas the Enterprise fields are at a Project Level.
    I would like to know why this is happening and the resolution for this issue. I don't want to delete the local fields.
    Any help in this regard will be appreciated.

    Then try to find any inconsistencies in the project plans with the issues, like required values not entered. Also try to save the plan as XML format and save it back as an mpp file to see if it helps (be aware that any formatting will be lost).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to Export Non-Administrators Local GPO for import on a different PC

    How to export Non-Administrators Local Group Policy and import on another PC?
    All articles for exporting local GPO say to copy the C:\Windows\System32\GroupPolicy and C:\Windows\System32\GroupPolicyUsers folder to another PC however that only works for changes done to the "Local Computer" or "User" (if you
    alter the SIDs to match), respectively. It doesn't work to import Non-Admin Local GPO.
    There are several requests for this you can find when searching and no solutions provided.

    Hi,
    For manage local GPO, we could take use of the LocalGPO tool included in the SCM.
    LocalGPO allows you to manage the local group policy objects (LGPO) on non-domain joined computers. You can use LocalGPO to backup the LGPO from a stand-alone machine. You can also use it to apply the settings from a GPO backup to other computers, this includes
    GPO backups created by LocalGPO, SCM, or the Active Directory Domain Services GPO backups created with the Group Policy Management Console.
    Here is a good article talking about it:
    SCM v2 Beta: LocalGPO Rocks!
    And here is a thread for reference:
    Using LocalGPO.wsf for standalone PC's
    Best regards
    Michael Shao
    TechNet Community Support

  • PDF Forms: problem with keypad "decimal dot" when filling "number" fields

    Ok, here's my problem :
    I've created a form with fields. My client want to input in those fields amount of money. So I've created fields formatted with the "Number" category. 2 decimals, "1234,56" separator style, not currency symbol. So far, so good!
    When testing out the form, here's what happening :
    On the computer that I've created the form (iMac, Acrobat Pro and Reader, french canadian keyboard layout and system)
    Using the keypad, I can input numbers, with the "decimal point" from the keypad no problem.
    But when the client is trying to to the same on his PC (and the same is happening with my PC at home, Acrobat Pro 9.2, french canadian keyboard layout and system), I CAN'T use the "decimal point" keypad key to input numbers (like 43,25). It's just not working (error sound). I can however use the "dot" on the keyboard near the "M" key, but the client don't want to do that.
    Why is it working on the Mac, but not on the PC's!?
    So far, the only workaround that I've found is to set the "money" fields categories to "none" instead of "number.

    It is a little bit tricky, but you might have to add your own formatting handler. You would proceed as follows:
    1. Set the Format to "none".
    2. Add the following script to a Custom Keystroke event:
    if (event.change.length > 0 && event.willCommit == false) {event.change = event.change.replace(/\,/gim, ".") ;
    3. Add the following script to a Custom Format event:
    event.value = event.value.toString().replace(/\./gim, ",") ;
    And that should take care of the situation.
    Note that i have not tested the scripts, and there may be a chance for bugs.
    The advantage of this solution is that internally, you will have the correct format for a number, so that calculations will be correct.
    Hope this can help.
    Max Wyss.

  • Non existing local user managed to RDP to windows 2012 target machine

    Hi,
    It seems the exact same issue as I see it here: http://social.technet.microsoft.com/Forums/en-US/91f09a4b-350f-47f8-814b-53b29d1a6306/windows-2012-rdp-login-credentials-are-not-used-on-remoteapp-connect-dialog-box?forum=winserverTS
    But I couldn't see any real/final answer.
    Can I get official response from MS about this issue?
    When we use the RDWeb, we use a non existing user to connect to some target 2012 machine and it actually works... it connects me to the target.
    How cab I eliminate it?
    Tx,
    shlom

    Hi,
    Thank you for posting in Windows Server Forum.
    For the user which you don’t want to provide the access of Remote Desktop to target machine, you can apply GPO setting for that user. Need to apply “Deny logon through Remote Desktop Service” GPO policy and add that user under that policy. You can
    find the policy under below mention path.
    Windows Settings/Security Settings/Local Policies/User Rights Assignments
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Import/Export Non-Administrators Local Policies

    Hey All - 
    I'm fully aware how to export/import Local Policies via the new Local Policy Tool with Security Compliance Manager. or with secedit, but I'm curious about importing/exporting the local policies for Non-Administrators.. Is it possible? I want to be able to
    modify it systematically (script, what have you), but I'm not really sure how to go about it.
    Thanks - 
    Chris

    Hi,
    If you want to create script to import/export group policy, I suggest you contact Script Center.
    http://social.technet.microsoft.com/Forums/en/category/scripting
    Group Policy Management Console Scripting Samples (Windows)
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa814151(v=vs.85).aspx
    Niki
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Niki Han
    TechNet Community Support

  • Query problem in non US locale and Buddhist Era

    I try to query a table with a sql statement. Then I use the result from previous statement to query again. But there's no result from the second statement??
    I think it's problem with Regional Options in the machine.
    I'm using w2k sp4.
    JDK1.5
    MySQL 4.0.18
    MySQL connector 3.1.6
    Locale Thai, Default Lang Thai
    Here is the code
    PreparedStatement ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS order by action_date asc");
    date1 = rs.getDate("action_date");
    cardNo1 = rs.getString("user_card_number");
    action1 = rs.getString("action");
    System.out.println("date1 : " + date1);
    System.out.println("cardNo1 : " + cardNo1);
    System.out.println("action1 : " + action1);
    ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS where action_date=? and user_card_number=? and action=? order by action_date asc");
    ps.setDate(1, new java.sql.Date(date1.getTime()));
    ps.setString(2, cardNo1);
    ps.setString(3, action1);
    System.out.println("date2 : " + date2);
    System.out.println("cardNo2 : " + rs.getString("user_card_number"));
    System.out.println("action2 : " + rs.getString("action"));from the testing, there's no result from the 2nd statement.
    Here is output from 1st statement.
    date1 : 2005-03-04
    cardNo1 : 1234123412341234
    action1 : test1The solution can be
    1. change the locale in regional options to en/US. or.
    2. manually convert date in Java code using the method below before setDate parameter in the 2nd statement.
         private Date convtDate(Date dInput) {
              SimpleDateFormat dfUS = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", Locale.US);
              SimpleDateFormat dfTH = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss", new Locale("th", "TH"));
              try {
                   return dfTH.parse(dfUS.format(dInput));
              } catch (ParseException e) {
                   return null;
    ps = cn.prepareStatement("select * from EBMS_FRAUD_ATTEMPTS where action_date=? and user_card_number=? and action=? order by action_date asc");
    ps.setMaxRows(1);
    ps.setDate(1, new java.sql.Date(convtDate(date1).getTime()));
    ps.setString(2, cardNo1);
    ps.setString(3, action1);
    ...Both solutions are not good at all. The 1st solution break the run anywhere concept. The 2nd solution is hardcoding. I think there should be a better solution.

    So you think that is the problem? I would suggest you change "think" to "know" there before proceeding. If your solution #2 actually works (you didn't say that) then the locale most likely is the problem. In that case you should contact the maker of your JDBC driver and report the bug.

  • BUG 3.0/3.1 Import data from CSV in non english local

    Hello,
    I have 3.0 on a German XP (NLS Decimal "," and Group ".") but with
    AddVMOption -Duser.language=en
    because of bug 9231534
    I try to import data from a delimited file that contains the number "123,23"
    When I use the Import Data Wizard it generates an insert with "12323.0". This import works, but gives me the wrong values, 12323 instead of 123,23.
    I have 3.1 with german UI and try the same import.
    It generates a correct insert "123.23", but on executing it fails, because it expects the german decimal separator, this is wrong for two reasons:
    The generated script has a dot as decimal separator and it would not make sense to use a comma, because this is the value separator in an insert script.
    To execute the script it should use the same NLS-Setting as for generating.
    Regards
    Marcus

    Hello,
    has anybody found a solution?
    Testcase: SQL Developer 3.1 on a German XP with default NLS Settings
    CREATE TABLE "TEST_TABLE"
           "NUM" NUMBER
          ,"VCH"  VARCHAR2(10 BYTE)
        ) ;Test file test_insert.dsv
    num;vch
    1;KL
    1,5;tz
    12345,45;ooImporting using the wizard inserts the first row correctly, for the others I get
    SET DEFINE OFF
    --Einfügen für Zeilen  1  bis  3  nicht erfolgreich
    --ORA-01722: invalid number
    --Zeile 2
    INSERT INTO TEST_TABLE (NUM, VCH) VALUES (1.5,'tz');
    --Zeile 3
    INSERT INTO TEST_TABLE (NUM, VCH) VALUES (12345.45,'oo');Beside the wrong umlaut in the message the insert statement itself is correct, because you cannot use the german decimal separator "," in the script. The bug is, that it should use the same NLS settings for generating and running the script.
    Regards
    Marcus

  • Number-to-text for non-English locale?

    Hi,
    I know you can easily display numbers as text in BI Publisher, but it works only for English version. Is it possible to add that functionality for other languages too? Without some dirty work in database?

    Hi,
    According to your post, my understanding is that you wanted to validate for non-english character on a single line text field.
    I recommend to use jQuery to attach regular expression validation. Please refer to:
    Using #jQuery to attach regular expression validation to a #SharePoint list form field
    In addition, for custom validations you can create your own Types. Refer to
    this[^] for creating custom field type
    More information:
    SharePoint Custom Field - Regex Validator
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • All Photos Showing in Catalog. None in Local Drive.  Trying to transfer to External HD

    I have LR 5 and my hard drive is getting full. I have an external drive and I want to transfer photos to it.  I know you have to use LR to do the transfer because if I use Explorer then LR would not know where to look for photos.  My problem is I have no photos listed in the Folders section of LR  Local Drive C:.   How do I get my photos in there so I can transfer ?  Or can I transfer them using Catalog ?

    My problem is I have no photos listed in the Folders section of LR  Local Drive C:.
    Photos should not be listed in the Folders section, only folders should be listed there. Are there no folders? If the folders are there, you can drag them to another drive. Generally, it is advisable to drag the top level folder to another drive and this will cause all subfolders under that top level folder to also be moved to the other drive.
    A better solution, in my opinion, is to move the photos to the external drive using your operating system and then re-connect in Lightroom as explained here: Adobe Lightroom - Find moved or missing files and folders

  • Decimal and non-decimal in Smartforms

    Hi all,
    I have a weird request on the form change. The change is to print the LFIMG value to 3 decimal point .000
    For example, if the value is 2,000.010, then print 2,000.010
    but if the value is 2,000.000 then print 2,000
    Could someone guide me how handle this request?
    Thanks in advance for the help.

    Hi Wong,
    I notice that this LFIMG is a quantity field. I had face that issue before, so this is my idea.
    1/ Try to discuss with you Functional consultant to take the standard of SAP firstly. it always isn't a good way to do that.
    2/ If your F tells you must do that:
    - Check the decimal setting of user in SU01
    - Write value base on this setting.
    You can refer below code:
    *&      Form  fg_decimal_notation
    *  Get decimal notation of current user
    *      -->P_USER     Current user
    *      -->P_DECIMAL  decimal notation
    FORM fg_decimal_notation USING p_user TYPE sy-uname
                                  CHANGING  p_decimal.
      DATA:
            lv_dec_notation TYPE usr01-dcpfm.
      SELECT SINGLE dcpfm
        INTO lv_dec_notation
        FROM usr01
        WHERE bname = sy-uname.
      IF sy-subrc = 0.
        CASE lv_dec_notation.
          WHEN 'X'.
            p_decimal = '.'.
          WHEN OTHERS.
            p_decimal = ','.
        ENDCASE.
      ELSE.
    *   If no record found we set the dec is ','
        p_decimal = ','.
      ENDIF.
    ENDFORM.                    "fg_decimal_notation
    *&      Form  f_convert_number
    *  Convert number to text with or without decimal
    *      -->PI_VALUE   Value
    *      -->PI_DECIMAL decimal
    *      -->PO_TEXT    Result
    FORM f_convert_quantity_to_text USING pi_value
                                          pi_decimal
                                          pi_unit
                          CHANGING po_text TYPE text30.
      DATA:
            lv_text TYPE text30,
            lv_string TYPE string.
    *-- write to external value
      TRY.
          WRITE pi_value TO lv_text UNIT pi_unit.
        CATCH cx_root.
      ENDTRY.
      CONDENSE lv_text.
    * Put sign to front
      CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
        CHANGING
          value = lv_text.
    * Move to string
      MOVE lv_text TO lv_string.
    *-- shift delete 0 in trail and decimal number
      FIND pi_decimal IN lv_text.
      IF sy-subrc = 0.
        SHIFT lv_string RIGHT DELETING TRAILING '0'.
        SHIFT lv_string RIGHT DELETING TRAILING pi_decimal.
      ENDIF.
    *-- move result to data
      MOVE lv_string TO po_text.
    ENDFORM.                    "f_convert_number
    Hope that help,
    Regards

  • [SOLVED] Non-actual local repository

    Hi, I had kernel.org as a main mirror and since it was down, pacman -Syu showed some error while downloading packages. So I stopped actualization, commented kernel.org (I have few other mirrors) and ran pacman -Syu again. Everything worked, system actualized normally but now, every time I run pacman -Syu, even if the system is actual (and I actualized it few seconds ago), it downloads package list from core, extra and community. It is hard to explain, but I show you example:
    [garret@sol ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    catalyst is up to date
    core 53.5K 2.5M/s 00:00:00 [#######################################################################] 100%
    extra 779.9K 3.4M/s 00:00:00 [#######################################################################] 100%
    community 453.9K 2.7M/s 00:00:00 [#######################################################################] 100%
    archlinuxfr is up to date
    :: Starting full system upgrade...
    there is nothing to do
    [garret@sol ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    catalyst is up to date
    core 53.5K 2.4M/s 00:00:00 [#######################################################################] 100%
    extra 779.9K 4.6M/s 00:00:00 [#######################################################################] 100%
    community 453.9K 3.2M/s 00:00:00 [#######################################################################] 100%
    archlinuxfr is up to date
    :: Starting full system upgrade...
    there is nothing to do
    [garret@sol ~]$
    So every time I run pacman -Syu, it downloads new package list from core, extra and community even if the local package list is actual. It is working, but it's little bit confusing. Does anybody know what to do with it?
    Last edited by garretraziel (2011-09-11 20:39:56)

    No, I tried some german mirror and it works without problem. So I think that it is problem on czech vpsfree mirror. Marking it as solved and patiently waiting for kernel.org to be up and running.

  • DateFormatSymbols and non support Locales

    Hi
    I am using the DateFormatSymbols class to get a list of the days of the week for various languages. As we know not all languages are currently supported by the JDK but I can supply additional languages using resource files.
    What my code does is to first instantiate a new DateFormatSymbols for a given locale. If the Locale is not support i then catch the MissingResourceException (as stated in the javadoc) and load days of week from a resource file.
    However this exception is never thrown and for unkown locales DateFormatSymbols just returns my OS default locale. Is this a known bug? or am i doing something wrong. Here's my code:
      String[] defaultDays;
      try
        DateFormatSymbols symbols = new DateFormatSymbols(new Locale("xx","xx"));
        defaultDays = symbols.getShortWeekdays();
      catch(MissingResourceException e)
      //unkown locale get weekdays from a resource file (hard coded for just now)
        defaultDays = new String[]{"s","m","t","w","t","f","s"};
      //display result
      for (int i = 0; i < defaultDays.length; i++) {
        System.out.print(defaultDays[i] + " ");
      }

    As a guess that exception is probably only thrown if it can't find something that it 'knows' about. Thus if it couldn't find the default locale resource then it would throw it.
    I suspect your only solution is going to be to keep a static list of what you are providing and use that first if that locale comes up.

  • BUG: SQL Developer 1.5.4 attempting to connect to non-existent local DB.

    For some time now I've been seeing SQL Developer 1.5.4 creating a "sqlnet.log" file in "sqldeveloper\sqldeveloper\bin" every time I used it. I've just done some testing and found that it is trying to connect to an XE instance on "localhost" after I close my last open connection. Here are the contents of the "sqlnet.log" file:
    Fatal NI connect error 12541, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=XE)(CID=(PROGRAM=C:\Documents and Settings\ehillma\My Documents\sqldeveloper-154\sqldeveloper\sqldeveloper.exe)(HOST=LMIT-4635)(USER=ehillma))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 15-APR-2009 08:58:41
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12541
    TNS-12541: TNS:no listener
    ns secondary err code: 12560
    nt main err code: 511
    TNS-00511: No listener
    nt secondary err code: 61
    nt OS err code: 0
    This is in SQL Developer 1.5.4, Build MAIN-5940, using Java(TM) Platform 1.5.0_17, on Windows XP SP2.
    Ed. H.

    Hi Frank
    This message means that the driver code is unable to locate a DLL to load up and use. Looking at the message I suspect that the DLL in question <jtds-dist>\SSO\ntlmauth.dll .
    There are a couple of ways of making the Java VM locate the DLL, assuming you are using windows then the easiest would be to add the directory <jtds-dist>\SSO to you path environment (replacing <jtds-dist> with the actual path to your JTDS distribution).
    Regards
    Rob Cooper

Maybe you are looking for

  • XFCE4 not working properly display X as cursor not arrow pointer

    Hi all I have recently installed arch and XFCE4 as my desktop environtment everything went well for a few days. But all sudenl 2 days ago thing appeared not working properly. Things displayed on my desktop are out of proporion mainly the X as cursor

  • Buggy issues with keyboard buttons.

    Getting constant issues with keyboard keys in Photoshop. Delete key does not delete layer, Fill layer (Option Delete) only works when I change tools. And it does this intermittently. It's very annoying! Anyone else have these issues? These are just s

  • How to build an intelligent group from a 'real' group in Apple contacts

    It seems not to be possible making the 'intelligent group builder' willing to accept a contact group as basis for a query. E.g. it only works with the total of the contact records. If true, this would limit the functionality to .... Please, tell me,

  • Os x not installing for me

    I bought 4yrs ago a imac g3 and it had Panther installed i love this old mac you cant kill it. Anyway I got a powerbook g3 from my friend and it had os8 i updated it to os9.2.x and want osx. now come the fun part Apple said osx 10.3 is supported for

  • Need to select number in varchar

    Hi I have a strring like (RAZOR_LADIES_TRPLE_100/CS) ...i want to select only 100 from it ..can we do that using locate function in 11g...i am unable to write proper syntax ..Any help will be deeply appreciated Regards Debo