Question - Format

Hi friends,

Please,

I have this view:
       DECODE(forma_comissao1,'Q','Valor','P','Porcentagem')||': '||formatar_valor(cc.comissao1) com1,
       DECODE(forma_comissao2,'Q','Valor','P','Porcentagem')||': '||formatar_valor(cc.comissao2) com2,
The return when a null value is->:

What can I do to return null... I Don t want to return->:

Thank you

This will work:

DECODE(forma_comissao1,'Q','Valor' ||': '||formatar_valor(cc.comissao1),'P','Porcentagem'||': '||formatar_valor(cc.comissao1), null) com1

Tags: Database

Similar Questions

  • Satellite A200 - question format HARD drive after replacing

    Hello

    I know this is probably a stupid question to ask as I am not that great with computers.
    I have problems with my hard drive from my Toshiba Satellite A200 laptop.

    Now, when I took it out it was a 120 GB so I bought another Seagate 320 GB hard drive to replace it.
    Now can I just put it back in or do I have to format the known brand hard drive.

    So if anyone can help it would be much appreciated

    Thank you

    Hello

    New HARD drive should be recognized by the laptop properly.
    If you purchased a HARD drive 2.5 SATA, so I put t see serious reasons why this HARD drive is not working.

    Once the HARD drive has been replaced, boot from the Toshiba Recovery disk and follow the instructions on the screen. The HARD drive must be formatted during the installation procedure
    That article should work

  • Re: Satellite A300 - Question format. XP. Reinstall Vista.

    Hello

    I would like to know if I install Xp delete all partitions in my hd (now I have three, two regular and one not show).
    The Toshiba Recovery disk recreate the original partitions and install on Windows Vista?

    I'm Spanish, but I can read English.

    Thank you very much.

    Arturo.

    Hello

    Before starting to explain how it works, I would say follow: first of all CREATE recovery DVDs using Toshiba Recovery Disk Creator. Do not forget.
    With the help of this DVD, you will be able to install Vista and have factory settings once again.

    When you start installation of WXP all three partitions appears and you can select the destination for the installation of Windows XP Home edition. If you choose the C partition two others is not deleted.
    Later, when you want to install using created Vista recovery DVD disc HARD integer is deleted and formatted.

    Any other questions? ;)

  • Panel application question format Table number ADF

    Hi all

    Thanks for your time in reading this thread. Here's the JDeveloper version information:

    Oracle JDeveloper 11g Release 1 11.1.1.6.0

    Studio Edition Version 11.1.1.6.0

    Build JDEVADF_11.1.1.6.0CLOUD_GENERIC_121118.1600.6229

    Copyright © 1997, 2011 Oracle and/or its affiliates. All rights reserved.

    The IDE version: 11.1.1.6.38.62.29

    Product ID: oracle.jdeveloper

    Product version: 11.1.1.6.38.62.29

    Version of the component

    ========= =======

    11.1.1.62.29 ADF business components

    Java (TM) Platform 1.6.0_24

    Oracle IDE 11.1.1.6.38.62.29

    Support versioning 11.1.1.6.38.62.29

    Question:

    ~~~~

    I created a group of ADF with Table query for all searchable attributes of a view object. Little attribute is of type database column NUMBER and their ADF attribute type is oracle.jbo.domain.Number. Some of these attributes are having more than 4 decimal places.

    For example: Cost attribute value is 1.23004

    After you run the search page, when I enter cost value as 1.23004, after the tab out. the value of cost in the criteria section is changed to 1.23 which is originally no results to return, even if the record with cost 1.23004 exists in the database. Initially, the table of results also showed only 1.23 as cost value. I changed the af: convertNumber MaxFractionDigits on 10 to show all of the up to 10 decimal precision (if it exists). After this is done, the result table shows the correct value (1.23004). but the search criteria still rounds up 1.23 for the first time. If the 1.23004 value is entered again it retains the value entered and search result works very well.

    Is there anyway that the automatic formatting of the criteria can be disabled? It is otherwise better to show all decimal values without rounding or the definition of the MaxFractionDigits?

    Really appreciate your help on this.

    Thank you.

    Sorry for the confusion.

    Build your own referee criteria view, you add the attribute number and check the tab user interface of suspicion for the attribute. Check if you can change the format here. As I'm not in front of a pc that I have to look at the other options. It may be a bug.

    There is this programmatic approach Oracle ADF Guide step by step - Oracle ADF tutorial: handle stripped to the ADF query component - see the values of input query but it should be possible to operate for the types of number with fraction numbers more then 2 out of the box.

    Timo

  • Review of VCP vcp4 Question format

    Hi all

    I have a question about the format of the questions real vs the way the questions are asked on the SLOG - SimonLong-blog and on the website of the education of vmware. I understand that these issues are about to a way that is ideal to get acquainted with current technology and basic information. But as I'm a "Terrified of TEST" person you will ever meet. My questions are these. The exam questions are mostly straight up do you know that? OR are they more taste of the scenario of line 5 which in fact asking the same thing, but see if you can understand the basic question? Focusing primarily on!

    Thank you

    GEO!

    VCP4 questions are normally very simple and easy to understand - I would not describe them as "wordy". You know the answers to the many questions at the time wherever you have finished reading the question on the screen. Don't forget that you must answer 85 questions in 90 minutes, so you get a lot of time for reflection - I trained a guy a few weeks ago, who has completed the review all in 23 minutes and got a great score

    Scott.

    -

  • question: format / 'language' of the current Date (in the date/time field), javascript only

    Hello

    I have 2 date fields in my form, which should display the date in a different format. (yyyy.mm.dd / dd-mm-yyyy)

    To get the current date I only use java script

    Formular1.p1.date_YYYYmmDD::initialize - (JavaScript, client)
    
         var date = new Date();
        this.rawValue  =  date.toLocaleDateString();
    
    

    My first problem is (red): I get the date in English, but I want it in another language. As it was defined in the form settings

    screenshot_date1.png

    My second question is: How can I format a date/time-sized (not a text field) in javascript with a model specific to the init event?

    It seems that my code in the init event replaces the model of the DateTime field configuration

    Here is my form, if anyone wants to check it out:

    https://Acrobat.com/#d=zeOMyj9MhBdYbVWk8S1pHw

    Hello

    I think that these two problems are the same, by setting a date/time field using the rawValue always format must be yyyy-mm-dd, if you use a different format, the value is just seen as text and poster without shaped.

    var date = new Date();

    this.rawValue = util.printd("yyyy-mm-dd", date);

     

    You can also set the formattedValue if you have a date in the correct format.

    var date = new Date();

    var currentLocale = xfa.resolveNode("#localeSet.#locale").name;

    var dateFormat = "date("+currentLocale+"){DD MMM, YYYY}"

    this.formattedValue = util.printd(dateFormat, date, true)

    This code assumes that the view model is date {MMM DD, YYYY}

    The date format specification is in the XFA http://partners.adobe.com/public/developer/xml/index_arch.html specification

    Concerning

    Bruce

  • Question format/reformat?

    Try to install Vista on a hard drive. Only have an OEM drive, which obviously does not settle as the old disks used for xp. I tried using the formatting format option and it takes like 10 seconds and says its done. I know that it is not directly on a 300 GB drive. In any case, I was told to choose the option REPAIR and then command line option and that I could format from the command prompt. I do not know what command to enter.
    The existing drive is the letter C. I want to start this installation on a clean slate, as I had so many problems of error and want to make sure that I have eliminated all the info from the previous installs.
    Can some genius of computing there spare a few minutes to help me?
    Be also quite specific.
    Thanks in advance.
    PS I have read a lot on the line on the way to reformat a FAT32 to an NTFS, but nothing on how to use the repair at the command prompt to reformat an NTFS disk formatted with the command fdisk to NTFS.
    If I don't do the right thing please let me know the roght process to wipe this clean drive for a new installation.

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Vista automatically formatted to NTFS.

      7. where do you want to install Windows?

    Here you can see a graphical representation of the hard disk of your PC (s), giving you the opportunity to select a partition on which to install Windows Vista. On a system that is brand new, a reader, you will probably see a lists of partition, as shown in the screen shot to the left. However, this phase of the installation program includes a number of utilities, hidden under the option 'Drive Options (Advanced)', which can help you perform various actions, most of which will be of interest for those who have multiple partitions, or those who think they might want to later dual-boot Vista with another version of Vista or perhaps a version of Linux. (If you think you want to dual-boot Windows Vista with XP, you must install XP first. "I'll describe this process early in part 4 of this series).

    Look at some of the interesting options available under 'Drive Options (Advanced)' before continuing.

    By default, this phase of Setup has two basic options:

    A. this will refresh the graphical view of partitions and disks at your disposal during the installation of Vista.

    Load driver. If you use some sort of advanced disk controller and, therefore, some discs are not appearing in the installation program, you can use this option to load the drivers now, with the hope that the drives will be available for you. For example, some RAID tables are not immediately recognizable for Vista Setup.

    Click on drive options (Advanced), however, and a number of new options (Figure):

    Remove. If you are working with a hard disk has several partitions and want to delete one or more of them, perhaps to later create a unique (using New, discussed below) partition, you can use the option Delete (Figure). Delete Deletes the partition and marks the space occupied by this partition as being free and empty.

    Format. On a hard disk with existing partitions, you can use the Format command to erase all the data on these partitions and return to a condition as new, blank. Note that the formatted disks are essentially empty and that the Windows Vista Setup program does not require you to explicitly to format a partition before installing: If you choose an empty partition, Vista Setup will automatically format the drive for you.

    New. On a hard disk with partitions not configured (i.e. a 'clean' or blank disc), you can click this option to create a new partition (Figure). This partition can be measured in the physical ability of the underlying disk (and is by default), but you can eventually choose to leave empty space for the creation of the partition and formatting later. (Windows Vista includes tools for this purpose.) In general, I recommend simply create a partition that is the same size as the underlying disk, formatting and installation of Vista.

    Extension. If you work with a drive hard partition and other disk hard space empty and want to extend this partition so that it now includes all or part of the empty space, you can use the command Extend (Figure). Note that empty space well be logically available 'behind' the partition selected for this command works. And do not take all available space: the installation program will allow you to choose how you want to add to the existing partition.

    Note: the Windows Vista installation program creates only NTFS partitions. Frankly, anyone who tries to use just at that moment: FAT32 doesn't get it: NTFS is the traditional file system used on Windows today and the only type of file system you use in the future.

    Anyway, once you have determined the location to which you intend to install Windows Vista, you can click next to continue.

    Mick Murphy - Microsoft partner

  • question format toolTip_enable on alignment

    I'm on Apex 3.2 and uses tooltip_enable like this:

    onmouseover = "toolTip_enable (event, ' format your entry in this field like this: < br > 1.)" [Option description] < br > 2. [Option description] < br > etc. ") »

    And I want the ToolTip to align the text with the left side of the popup. I tried and it did not work:

    onmouseover = "tooltip turn on (this.style.textAlign = 'left'; toolTip_enable (event, ' Format your entry...))"

    There is no either. How can I get the popup content helps align left instead of Center justified?

    Thank you!!

    Hello

    Try to add to the header of html page

    
    

    Kind regards

    Jari

  • APEX 5-question format calendar change

    Hello

    I created a calendar like this page.

    Is it possible to change this color of blue background to something else or just remove the bule color?

    My eyes hurt just too with this blue.

    JonDaegu-Oracle wrote:

    Hello

    I created a calendar like this page.

    Is it possible to change this color of blue background to something else or just remove the bule color?

    My eyes hurt just too with this blue.

    An explanation of how to display events in different colors using CSS classes is given in the online help for the region of Class CSS calendar attribute. Add a column to the query of calendar that determines the color of class for the event:

    SELECT ID,

    START_DATE,

    END_DATE,

    TASKNAME,

      case STATUS

    When 'open' then 'apex-cal-green.

    When "Pending" then "apex-cal-yellow".

    When 'Closed' then 'apex-cal-red '.

    When "pending" then "apex-cal-black.

    end as css_class,

    ASSIGNED_TO as supplemental_info

    PROJECTS

    and select it in the attribute of Class CSS region.

    Built-in support exists for the following classes/colors:

    • Apex-cal-black
    • Apex-cal-blue
    • Apex-cal-bluesky
    • Apex-cal-Brown
    • Apex-cal-cyan
    • Apex-cal-blue dark
    • Apex-cal-grey
    • Apex-cal-Green
    • Apex-cal-lime
    • Apex-cal-orange
    • Apex-cal-Red
    • Apex-cal-silver
    • Apex-cal-white
    • Apex-cal-yellow

    You can also create your own combinations of colors using custom classes and CSS.

  • Question format mask

    Hi all

    I need to convert a number '178473' to ' 000178473.00'.

    I tried this, but of no use.
    SELECT TO_CHAR(LPAD(178473.00,9,'0'), '999999999.00') FROM DUAL;
    Required: 000178473.00

    THX
    Rod.

    You just need to replace the 9 by 0.

    SELECT TO_CHAR(178473.00 ,'FM000000000D00') FROM DUAL;
    

    FM deletes white space on the left side. D is for the decimal separator, you respecting the NLS parameters.

  • How to convert music files ATRAC (*.oma) file MP3 format? is not compatible w/4 use w/microSD card for LG Optimus Elite

    a lot of my music files are ATRAC (*.oma file extension) and not accessible to my LG Opitmus elite under the music after that I copied on my microSD card. I told myself it's not compatible and they must be converted to MP3 format.  I got the music loaded on SonicStage to my Sony Walkman Bean. Y at - it a program that will allow me to convert folder music in MP3 ATRAC (when I use the conversion tool, it gives me only option on hidden in ATRACplus.

    all the knowledge and assistance would be greatly appreciated thanks

    a lot of my music files are ATRAC (*.oma file extension) and not accessible to my LG Opitmus elite under the music after that I copied on my microSD card. I told myself it's not compatible and they must be converted to MP3 format.  I got the music loaded on SonicStage to my Sony Walkman Bean. Y at - it a program that will allow me to convert folder music in MP3 ATRAC (when I use the conversion tool, it gives me only option on hidden in ATRACplus.

    all the knowledge and assistance would be greatly appreciated thanks

    ===========================================
    I have no personal experience with the file in question format
    but a Google search turned up the oldest following the links that
    can provide some useful ideas.

    Sony support - MP3 Conversion tool
    http://eSupport.Sony.com/Perl/SWU-download.pl?upd_id=2971

    Where can I find an online converter that can convert Sony
    OMA to MP3/WAV files?
    http://answers.Yahoo.com/question/index?QID=20081013065044AABoD9N

    Conversion of Sony Atrac3 / OpenMG (.) OMA or. OMG files)
    http://Forum.dBpoweramp.com/showthread.php?7532-Sony-OMA-OMG-file-conversion-some-actual-facts

  • To drag and drop questions and serialization in the review of upgrade of 1Z0 - 852?

    Hello

    Does anyone know if the serialization and drag / drop items have been removed from the exam 1Z0-852 of Java SE 6 programmer Certified Professional UPGRADE?

    I know that they have been removed from the exam 1Z0-851, but not sure about the upgrade exam.

    Thanks in advance,

    Alvaro

    Alvaro wrote:
    Hello

    Does anyone know if the serialization and drag / drop items have been removed from the exam 1Z0-852 of Java SE 6 programmer Certified Professional UPGRADE?

    I know that they have been removed from the exam 1Z0-851, but not sure about the upgrade exam.

    Thanks in advance,

    Alvaro

    (1) drag and Drop

    ... this question format will be deleted:

    Ref: http://blogs.oracle.com/certification/entry/0596

    (2) serialization:

    It is best to compare the themes of your notes for the current issues, but according to my reading of the news he is brought at least to some extent:

    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=41&p_exam_id=1Z0_852 (Section 3 API summary):

    Develop code that serializes and deserializes objects using the following APIs from java.io: DataInputStream, DataOutputStream, FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream and Serializable.

  • Registration in PDF format makes black text appear when inserted images

    Hello! Please if someone could help with my bug. I use InDesign CS 5.5 now, but the same thing also happens when I try to save a Word document as a PDF (MS Word 2010).

    This only happens when I insert images into a page. Record in PDF format, black text appear when inserted images. Please see the pictures attached the text normal and abnormal in the case of an inserted picture. I also installed Acrobat X Pro. I have no printer connected to my PC.

    Please if someone could tell me how to fix this bug?

    Thank you very much in advance!

    text.png

    PNG should work fine (even if it is not designed as a print size). If is not the image in question format (thought jpeg does not support transparency in the image itself), jut the fact that there is a form any transparency on the page.

  • Paragraph lost format

    Hello

    I am working on a client FAPI to translate the text in the Documents of the frame. One of the first things we do is to store the setting fit for each paragraph,

    and then write it réécrirait the translated document.

    However, in a single document, I'm trying, when my client is trying to get a handle

    for a particular paragraph format, it gets a null a handle in place, and that formatting is not applied. Instead, the formatting of the previous paragraph (namely a hateful green font color!) is in force.

    In order to define the translated text in the document, we remove content that was originally there. Who would have a role to play?

    I noticed that before and after the translation, the paragraph in question format does not appear in the catalog of paragraph format.

    When I click on the paragraph that has the formatting applied to him, he has an asterisk before the name. Is how important it?

    Any responses would be appreciated

    Thank you

    Eric

    Eric,

    I think that the answer to your question is Yes, there may be "formats" in the document that are not in the catalog. However, they are not really the formats at all, because if they were, they would be in the catalog. From the point of view of the API, all they are is a string assigned to a paragraph property.

    With the FDK, use of format can be confusing. If you think that you can simply set the FP_Name property for FO_Pgf object format, but it's really nothing else that a string that is used for reference later, either by yourself (the programmer) or interface (GUI). To apply a format, you must find the object format (FO_PgfFmt), itself, its capture settings, then apply them to the FO_Pgf (I think you already know). It is important to remember, however, that you are not really create any kind of link between the object format and paragraph; on the contrary, you just transfer the settings from one to another. Moreover, the two types of objects have a FP_Name property, so when you transfer the properties of the form to the FMP, this name is transferred as well. This presents the illusion that there is an intrinsic link between the two afterwards, but it was really nothing more than a transfer of ownership of chain.

    The problem you are experiencing, it is that FP_Name has been somehow set this property to a value that does not reflect a real size in the catalog. This could have been done with the FDK, of course, but there are a number of ways to do it in the interface as well. One of the simplest ways is to open the paragraph Designer, 'create' a new format, but turn off the option to add it to the catalog. Paragraph will then maintain the assignment of this "format", but it does not really exist. It's just the property of FP_Name among the zillions of other properties related to the paragraph.

    Others have suggested that format substitutions may be the cause, but I don't think that it is quite applicable in your case. You should still be able to recover an FO_PgfFmt object by its name, if it existed. Your problem is that the format does not exist. Note that in the interface, both a non-existent format and a paragraph with format substitutions will indicate with an asterisk in the toolbar, adding to possible confusion here.

    Solution?  I think you need to clean up your documents, you can do this with the FDK seeking a paragraph with an imaginary of the formats, and then by creating a FO_PgfFmt object with the respective properties. Or, better yet, do it once manually and do with it.

    Russ

  • HP Pavilion notebook e117dx 17: PC runs is not on and isn't showing any signs of slot voltage

    Hey all! It's my first day here, so I apologize if my question format is incorrect. The other day, my laptop does not turn on and showed no sign of slot voltage. I contacted customer support, and the issue has been resolved. That night, I closed the lid, which puts to sleep, and then soon Hibernate. Yesterday morning I tried to turn it on and received the same question. I contacted customer service and they said maybe that's a problem with my hardware. I was hoping that if all users would know additional measures to be taken, before getting my laptop repaired. I followed all the troubleshooting steps. Thank you!

    If I helped you, feel free to give me congratulations and accept my answer!

    Best regards
    Shawn

    @Shawnyg,

    Hello and thanks for the display on the HP support forums.  The only thing you can check is to run the diagnostics from the bios if you can get.

    Laptops HP - diagnostic system (F2)

    If you can not enter the diagnostics, check for any code flashing of the LED.

    HP Notebook PC - troubleshooting LED Blink Codes or beep during startup or start-up Codes

    If you can't find please contact support for repair options.

    Thanks again for posting and have a great day.

Maybe you are looking for