Changing case problem

I need to turn data entered by user in a form to upper case, but accents are displayed incorrectly if I set item property "case restriction" to upper.
The same happen if I run the following in Sql Plus:
SQL> select upper('Informações') from dual;
UPPER('INFO
INFORMAGUES
My nls_language seems to be set correctly:
SQL> SELECT * FROM NLS_SESSION_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
PARAMETER VALUE
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
Any thoughts?

Hi joep,
This question slightly related to another Q I answered earlier today. Pleas tak a look at this answer.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HFORCEKWTID=82263:5&HOID=50650000000800000016B20000&HExpertOnly=&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
I said slightly, not exactly!
What is going on (I suspect) is that you deleting or re-arranging enums and the definition of "string to value"s is not matching up with the case structure. This happens when a enum that is NOT a typedef is wired to the selector.
A typedef is a construct that can be used to DEFine a data TYPE. An example of a data type that you may want to define is the relationships between the strings and the numeric values in a enum.
By defining a type
def, LV will check to make sure the definitions of of strings to values will be consitant throught your code.
You can create a typedef by first selecting the enum control and doing a "right-click>>>advanced>>>customize".
Once in the control editor, change the drop-down menu on the tool bar from its default value of "control" to "Type Def.". Save the control, and answer yes to the replace question.
Then go back to your code and replace all of the non-typdef'd nodes etc with the control you saved.
Once you do this, LV should be able to keep all of your cases matched up. If you make a change that could cause incorrect operation, your run arrow will break alerting you to the issue (provided you do not define a default case).
I hope this help,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • "completion insight" and "change case as you type" won't work for sql file

    Hi there,
    Just updated to 3.1 on my Mac Lion. It's very likely a bug since it used the work with 3.0.
    I have a "temp.sql" file where I store several queries. I start SQL Developer, open "temp.sql", connect to a DB but "completion insight" and "change case as you type" won't work anymore.
    If I click in "Unshared SQL Worksheet", the new worksheet tab will work fine with completion and change case, but I want to use my temp.sql and save things there when closing the application.
    To reproduce yourself the issue:
    Open SQL Dev, connect to a DB (it will open a worksheet), do some queries and check that change case and completion are working, quit SQL Dev, but save the worksheet in a sql file before. Re-open SQL Dev and open the sql file. Connect to the same DB and try to change the queries or create another. Completion and change case won't work anymore.
    About
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.07.42
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_31
    Oracle IDE     3.1.07.42
    Versioning Support     3.1.07.42

    Well, it's partially working, if your sql file is big (like mine), say with more than 1000 lines, then, maybe because of memory usage, the automatic completion won't work as expected, though, sometimes, after a while, crtl-space would stil work.
    So, the problem may have been addressed, but I believe this feature can be definitely improved.

  • Applying keyboard shortcuts to Change Case Commands?

    Could someone check to see if they can do this as I can't do it with either CS5 or CS5.5.
    Open the keyboard shortcuts dialog box and under the Type menu, apply a keyboard command to Change Case>Title Case. (I used Control-T)
    At first, on my machine, the command was listed, but didn't apply to the selected text. Manually applying the command from the menu did work.
    Later, I couldn't get the shortcut to appear at all. I've rebuilt the preferences twice.
    Could someone see if they can do this. Then I'll know it's something on my machine.

    Is it perhaps the known "CS5 plugin installed on CS5.5" issue?
    (That can cause numerous problems because although it seems the older plugins work just fine, but it's not supposed to work.)
    ((Just to soothe the Conspiracy Theorists out there: it's not supposed to work because of many changes in the internal code of CS5.5. Usually, InDesign checks plugins for its own version number, but somehow that was bodged in the CS5.5 upgrade.))

  • Change Case in Column header when designing reports in BIDS

    Hi
    I have used a key short-cut to change the case of headers when adding them to the header of a Tablix, but I can't remember the key combination,
    Any help much appretiated
    Regards
    Andy
    CRM 4, SQL Server and .Net developer using C#

    Hi Andy,
    If I understand correctly, you want to know the shortcut key combination to switch the case of words in column headers of a tablix in Reporting Services Report Designer. As far as I know, there is no such key combination. In Microsoft Word/Outlook/PowerPoint,
    we can use the Shift + F3 to change case of words. However, this doesn’t work in SSRS Report Designer.
    To change the case of the words in column headers, you can either copy the text to Word and perform the case change there or use built-in functions such as LCase, Ucase, or StrConv to perform the case change by using expression. Here are the examples for
    the three functions:
    Expression: =LCase(“Sales territory country”)                           Result: sales territory country
    Expression: =UCase(“Sales territory country”)                           Result: SALES TERRITORY COUNTRY
    Expression: =StrConv(“Sales territory country”, vbProperCase)   Result: Sales Territory Country
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Change case in paragraph style option

    I use different types of headng styles in my document. I use ALL CAPS for my first level heading and TITLE CASE for second level heading and SENTENCE FOR third level heading. It will be helpful if I have change case options in paragraph sytle
    Upper case
    Lowera case
    Title case
    Sentence case
    in paragaph style just like "BASIC CHARACTER FORMATS".
    Thanks
    Regards
    arul

    I think that's the wrong paradigm.
    Styles are for changing the look of text -- not the content. the way change case works (in every app I've ever seen) is by changing the encoding of the text.
    FWIW. I have a utility in my "Style Utilities" which can change case based on style: http://in-tools.com/products/plugins/style-utilities/
    Harbs

  • Small caps in running heads - mixed case problem

    My running head is set to be small caps, and it picks up mixed-case text from the document. I want the head to be all 'lower case' small caps (or 'upper case', unless that really means ordinary caps) but can see no way to achieve this. Instead I get 'mixed case' small caps, if that makes any sense. If I select the head on the master page and then Type | Change Case, this has no effect on the appearance either on the master or the generated heads. How do I achieve uniform small caps where the source text for the running head is mixed-case? If small .indd attachments were allowed I would have attached one, but it got rejected despite not being llisted as a forbidden type.

    A few ways to do this:
    a script: http://jsid.blogspot.com/2005/09/script-of-day-changing-case-again.html
    or in your paragraph styles use OT small caps (assuming you're using an OT font)
    I also set up a keyboard shortcut, to Type > Change Case > lowercase
    you could probably do it with GREP too...

  • Changing case in a style ?

    In IDCS2, is there a way of using a style to change case of a piece of text, or would this have to be done by scripting?
    Anyone know, please ?
    Bran

    You're right, mate, and I realise in hindsight I was inspecific in the wording of my first post.
    What I was hoping to be able to do was toggle the case between lower, upper and title case, as needed.
    I'm out of my depth with scripting -- I wouldn't have a clue where to start. But in any event, am I wrong in thinking that, except in cases where the required change was regular and predictable, a script would have to be invoked manually anyway ? For my purposes, for ad-hoc sub-editing and formatting, I'm guessing it would be just as easy to use the menu.
    But thanks, jongware. I appreciate your comments.

  • Question for scripting gurus: GREP search, change case make Smallcaps

    I have no knowledge of scripting at all, but this question keeps coming up during training sessions: is it possible to (java)script this:
    - Do a GREP search \u\u+
    - Change case to lowercase
    - Apply SmallCaps (or: apply character style)
    this would allow to search for acronyms and change them to smallcaps (or, even better: apply a character style with small caps and tracking)
    I know it is easy for OpenType smallcaps (do a GREP search, change to OT smallcaps) but this doesn't really change case. And some fonts used aren't OT.
    Anyone?
    Would be VERY apreciated!!

    But Harbs is a seasoned scripter who knows he'll get flamed if one of his scripts "just does not work" ;)
    Well, now that you mention it, the script is not really foolproof. It's a quick and dirty script which I threw together very quickly. It's missing any error checking, some of the variables global, and it's not in a private namespace. These are all things which could cause it to "just not work" ;-)
    Here's a more foolproof construct... (and it'll work on the current story if selected, or the whole document if there's no story selected) It will create a new character style if one does not exist and work on character styles within style groups as well. I wrapped the whole script in an anonymous function to give it a unique namespace as well.
    (function()
    if(app.documents.length==0){return}
    var doc=app.documents[0];
    // Change the following to your style name!
    var character_style_name = 'Small Caps';
    try{var range = app.selection[0].parentStory}
    catch (err){var range = doc}
    //comment out next line if you do not want styles.
    var charStyle = GetCharacterStyle(character_style_name,doc);
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat="\\u\\u+";
    var finds=range.findGrep();
    for (var i=0;i<finds.length;i++){
    finds[i].changecase(ChangecaseMode.lowercase);
    //comment out next line if you do not want styles.
    finds[i].applyCharacterStyle (charStyle)
    //uncomment next line if you do not want styles.
    //finds[i].capitalization=Capitalization.smallCaps;
    function GetCharacterStyle(styleName,doc){
    var charStyles=doc.allCharacterStyles;
    for(var i=0;i<charStyles.length;i++){
      if(charStyles[i].name==styleName){
       return charStyles[i];
    return doc.characterStyles.add({name:styleName,capitalization:Capitalization.smallCaps});

  • The Strange Case of Change Case

    My company's name is MCS.  When I'm writing in caps, and then I want to re-use that text in sentence case I use Indesign's change case feature to change caps to sentence case.  When ever my company's name is in the copy, I always have to go back and re-write it as upper case.  I'm afraid that one day Ill forget to do it. 
    Is there a setting that I could choose so that this particular combination of letters is always written in caps?

    MagicToaster wrote:
    My company's name is MCS.  When I'm writing in caps, and then I want to re-use that text in sentence case I use Indesign's change case feature to change caps to sentence case.  When ever my company's name is in the copy, I always have to go back and re-write it as upper case.  I'm afraid that one day Ill forget to do it. 
    Is there a setting that I could choose so that this particular combination of letters is always written in caps?
    In Preverences > Autocorrect, enter the lowercase as wrong and uppercase as correct.
    Enable Edit > Spelling > Autocorrect - a check mark indicates it's enabled.
    An alternate is to create a text variable and insert it where needed. You can speed up inserting a text variable by using Quick Apply.
    Search Google for terms like "InDesign autocorrect tutorial," "InDesign text variable," and "InDesign preferences," without quotes, for details.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • Bug: Change Case as you Type

    For some reason the option "Change case as you type" (Preferences > Code Editor > Completion Insight) keeps changing. It will remain the same for a while but changes at some random point. Each time I restart SQL Developer it seems to go back to "+Lower Keywords, Upper Identifiers+".
    Here's the information about the current version that I'm using:
    Oracle SQL Developer 3.0.04
    Version 3.0.04
    Build MAIN-04.34
    OS: Windows 7 - 64bit
    Martin
    http://www.ClariFit.com
    http://www.TalkApex.com

    Try to set it right also at Preferences - Database - SQL Formatter - Oracle - Edit - Other - Case change.
    Hope that helps,
    K.

  • Illustrator CC Type "Change Case" keyboard shortcut not working

    In Illustrator CS6 I established a keyboard shortcut of Alt+Shift+Ctrl+= to the command Type-->Change Case-->UPPERCASE (and Alt+Shift+Ctrl+- to Type-->Change Case-->Title Case). In Illustrator CC, these two keyboard shortcuts are not working. They are displaying in the Type menu correctly, and the menu commands themselves work correctly, but the shortcuts do not work. Any ideas?

    Well, as I stated, the = worked fine in CS6 on Windows. I just tried to changing it to Alt+Shift+Ctrl+U and that one does work correctly. I would prefer that Adobe minimizes functionality regressions in new releases, even if there are conceivably workarounds that I could employ.
    Would somebody be willing to try Alt+Shift+Ctrl+= on a PC and see if they can get it to work on their system?

  • Hello, Trousseau session asks the password many times in a day.  What to do to change this problem? Mfrance iMac, Mac OS X (10.7.3)

    Hello,
    Trousseau session asks the password many times in a day.
    What to do to change this problem? Mfrance
    iMac, Mac OS X (10.7.3)

    ...I wonder how your question solved their question.

  • How can change Case Sensitivity in MS SQL 2008

    hi expert,
    I want to change Case Sensitivity to Case Insensitivity  in MS SQL 2008.
    how can I do??
    any help please
    thanks and regards
    jun

    Hello,
    there is no way to change this. The SQL Server itself and the SAP Database are installed in an case sensitive collation. If you were albe to change this, your installation will be no longer supported and will, in the worst case, generate incorrect data within the SAP database.
    So, start live with it, there is no way to change it.
    Best regards
    Clas

  • My iPhone 5 says unable to connect to network. I have tried all the trouble shooting...resetting phone, router... No change. Problem occurs everywhere not just at home. Any suggestions?

    My iPhone 5 says unable to connect to network. I have tried all the trouble shooting...resetting phone, router... No change. Problem occurs everywhere not just at home. Any suggestions?

    AmishCake wrote:
    Have you tried restoring your softwareyes
    yes I have

  • Change case app download?

    Just wondering if anyone knows of an app (similar to LittleIpsum) that performs a change case function?
    I was thinking of something less intensive than opening inDesign.

    Might try...
    http://www.tuaw.com/2010/08/13/change-case-uses-os-x-services-to-expand-textedit /
    http://lifehacker.com/5612341/set-up-keyboard-shortcuts-to-easily-change-text-ca se-with-change-case

Maybe you are looking for

  • What is index oragnized table

    hi can you tell me 1.what is index oragnized table 2. fragmentation of table 3. what is cascading trigger mean

  • Java VM Error EXCEPTION_ACCESS_VIOLATION (0xc0000005) when using drawImage

    I'm getting a strange VM error on my program. I have a BufferedImage object, and I call its createGraphics() method to get the Graphics2D context. When I call drawImage on that object, sometimes I get this error. The error log file is below. This hap

  • ABAP XSLT transformation - XML to deep structure/nested standard table

    Hi all, I was struggling with this topic recently and couldn't find a single working example or description of a possible solution. So now that I've sorted it out, I did a quick example to elustrate how it works. Here is the code with XML embeded in

  • Outgoing mail bouncing

    Error This message could not be delivered and will remain in your Outbox until it can be delivered. The connection to the server "smtp.mac.com" on port 25 timed out. The above message is what I'm greeted with everytime I try to send an email. Incomin

  • Showing arabic numbers in standard reports

    Hi, we are using oracle applications 11i and i was wondering if is there any possible way to show numbers in standard reports as Arabic numbers..... regards, Ahmed Alsayed