This is a follow up to my "APEX Number Formatting Question"

All the responses were VERY helpful! One last (so he says) question:
How do you get the numbers to line up on the decimal points using this command?
SELECT TO_CHAR(Eq_Cost, 'L99,999.99' ), TO_CHAR(Eq_Price, 'L99,999.99') FROM Equipment;
As always, Many thanks!
-Robert

That Got the Statment to run! Thanks, But...
Good Morning All ~
How do you RIGHT justify a column of numbers?
I tried using LPAD as was suggested and there was no change in the result. All the numbers are still LEFT justified. Below is the script and output. I am only using LPAD for now on the Eq_Cost field until this is solved.
Select Eq_Item AS "Hardware", LPAD(TO_CHAR(Eq_Cost,'L9,999.99'), 20, ' ') AS "Our Cost",
TO_CHAR(Eq_Price, 'L99,999.99') AS "Sales Price",
TO_CHAR((Eq_Price - Eq_Cost), 'L99,999.99') AS Profit from Equipment;
Hardware     Our Cost     Sales Price     PROFIT
Hp Laserjet CK834A     $6,659.00     $7,299.00     $640.00
Apple iMac MC508LL/A     $899.00     $1,199.00     $300.00
Lexmadk Pro 9500     $350.00     $399.00     $49.00
Apple iPad     $500.00     $500.00     $.00
ViewSonic VX2250WM-LED 22     $249.00     $299.00     $50.00
ViewSonic VX2323WM-LED 23     $259.00     $309.00     $50.00
MS Natural Ergo Keyboard 4000     $39.00     $49.00     $10.00
Toshiba Satellite L645D Laptop     $500.00     $550.00     $50.00
Apple iMac MC509LL/A     $999.00     $1,299.00     $300.00
Hp Laserjet CK834A     $6,659.00     $7,299.00     $640.00
10 rows returned in 0.00 seconds          Download

Similar Messages

  • I have ios 5.1.1. When I sync to iTunes, my purchased apps no longer work. They blink but do not open. The only way I have been able to solve this, is as follows: I delete one of the apps and then re-download and install it. Then, all my apps work.

    My new iPod touch 64 Gig has a problem after syncing with iTunes. My purchased apps no longer work. I touch them and they seem to try to open but they do not.
    The only way I have found to fix this is as follows:
    I delete one of the purchased apps. Then I go to the App Store and re-download and install the same app. After that, all my apps work again.
    Please help.

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

  • I just bought my IPhone and am also getting the the Service Apple Mobile Device failed to start. Verify that you have sufficient privileges to start system services.  This is after following the uninstall/reinstall instruction.  This needs to be fixed!!!

    I just bought my IPhone and am also getting the the Service Apple Mobile Device failed to start. Verify that you have sufficient privileges to start system services.  This is after following the uninstall/reinstall instruction.  I am due to travel in 2 days and am very upset about this. This needs to be fixed!!!

    http://support.apple.com/kb/TS1567
    Log in to the Windows with "administrative rights".

  • I would like to put a video in an other video,but the video (if want to inscrust for example in an IPad screen on this video) will follow, in 3D  and automatically the moves of the IPad (here). I remember I found 2 months ago a plugins on the Internet but

    I would like to put a video in an other video,but the video (if want to inscrust for example in an IPad screen on this video) will follow, in 3D  and automatically the moves of the IPad (here). I remember I found 2 months ago a plugins on the Internet but I can not anymore find it. Who can help me? Thanks

    I think you might mean Slice X. I think it has a motion tracker.

  • $f_CheckFirstColumn(this) is not working in theme 42 apex 5.

    $f_CheckFirstColumn(this) is not working in theme 42 apex 5. it does not tick or untick the check boxes.

    I have experienced the same behaviour, this workaround worked for me:
    1) In the Page Header Section under Javascript "Function and Global Variable Declaration" I defined this function:
    function checkall() {
       $f_CheckAll('', true, $('input[name="fXX"]'))
    fXX stands for your checkbox ID in die Select Statement, for example f01 or f30
    2) In the column heading of the report column, I call this new function:
    <input type="checkbox" onclick="checkall()" />
    Hope this also helps you!

  • TS1424 I have several incomplete songs after purchase from Itunes.  I sent out an email to find out how do I correct this problem? Follow-Up: 219141808

    I have 6-7 incomplete songs after purchase from Itunes.  I sent out an email to find out how do I correct this problem? Follow-up 219141808

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Error message:" Couldn't complete the command because the scratch disks are full" Ive try to fix this many times following different steps but none of them work and my disks equal to over 250GB. Please help.

    . This error message pops up in Photoshop  when i just wanna create a new plain white template. I have downloaded agentransack to track down the temp files and for some reason it says nothing matches the temp files.I have a couple of drives including 2 SSD's. I've  try to fix this many times following different steps but none of them work and my disks equal to over 250GB. Please help. ( I am running windows 7 proffesional) 64 bit

    Good day!
    my disks equal to over 250GB.
    What’s relevant is the space on the disk/s you have assigned as Scratch Disks – what are they (Phortoshop > Preferences > Performance > Scratch Disks)?
    Regards,
    Pfaffenbichler

  • Can anyone explain this to me, please. It's a static section question.

    Can anyone explain this to me, please. It's a static section question.
    I came across the following style of programming recently and I would like to know what the Static section is actually doing in the class. Thx.
    Here is the code.
    public class ClassA {
         private static Hashtable ClassAList = new Hashtable();
         private ClassB cB;
         private Vector goodLink;
         private Hashtable classCList;
         static
              ClassA cA = new ClassA();
              ClassAList.put("whatever", cA);
         public static ClassA getClassA()
              return (ClassA) ClassAList.get("whatever");

    hi,
    The static section shall be loaded before it's constructor is called. (i.e at the time of loading the class). Therefore making it available for any other objects to call.
    hope this clarifies ur question
    prasanna

  • APEX Report Formatting in PDF Help

    Hello there,
    I was asked to create a report in APEX that will generate a report in PDF. The report will have the first column that will print Institution names, the subtotal should print the institution sector (eg: research university or state University etc..) in the institution name, it also should be in italic and bold and indented about 5 point and the total should print "Total" in the Institution column indented, bold and italic. All the subtotals and total values must be bold and italic. At least bold if not italic.and the second column will be values for headcount. To demo this, I used Oracle OEHR data where I can print Employee name and will print for subtotal the employee job ittle and the total emploees.
    I want to have the result without rows and columns borders as well as no background color. I want to print the subtotal and total in bold and italic. Can you advise how to solve this problem? To see the actual report please visit https://app.usg.edu/portal/page/portal/USG123_10G/USG_ACA_TAB
    and click on the report to generate the report. Please also advice if this site functionality can be reproduced in APEX and how much will be your efforts?
    select NVL(OEHR_EMPLOYEES.FIRST_NAME, NVL( OEHR_JOBS.job_title, 'Employee Total')) as Employees,
    sum(OEHR_EMPLOYEES.SALARY) as SALARY,
    from OEHR_EMPLOYEES OEHR_EMPLOYEES,  OEHR_JOBS OEHR_JOBS
    where OEHR_EMPLOYEES.job_id = OEHR_JOBS.job_id
    group by rollup(OEHR_JOBS.job_title, OEHR_EMPLOYEES.FIRST_NAME)
    order by OEHR_JOBS.job_title

    You version of WORD defaults to using printer metrics. There are 2 ways to resolve the issue. 1. go to print and select the Adobe PDF printer, back out and fist the document issues in WORD. 2. Deep in the options of WORD, there is a selection for using printer metrics (I assume your version also has this selection). Uncheck that and the problem should go away. You could also change your default printer to the Adobe PDF printer.
    WORD 2007 was changed to have the default set to NOT use printer metrics. All previous versions used the metrics. Thus when you change the printer, WORD reflows the document. The result may be errors in bookmarks, page numbers, and related issues.

  • In the middle of the installation processing, this has appeared: "There is a problem with the windows installer package. A program is required for this install to complete could not be run." my question is, what is that specific program?

    in the middle of the installation processing, this has appeared: "There is a problem with the windows installer package. A program is required for this install to complete could not be run." my question is, what is that specific program?

    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • APEX cannot accept any other number format mask except 999G999G999G999G990?

    Hi, guys:
    Can anyone help me on this problem? I have a report with a column of number type, but I want to use accounting format mask such as <1234.56>, however. whenever I choose any other format model for this number column, I got the error message as "ORA-01481: invalid number format model", I can only choose Numeric format mask: 999G999G999G999G990
    Anyone could give me a hint on this? I am using APEX 4.1 and Oracle 11G R2. Here is my query for report
    select uh.descr, inv6.userkey, inv6.invno, inv6.amt-pa_temp.Subtotal_Payment over_short_amount
    from
    (select pa6.invoicekey, sum(pa6.amt) Subtotal_Payment
    from payments pa6
    where trunc(pa6.pmtdate)<=to_date(:P55_DP_VPF_PROD_DATE,'DD-MON-YY')
    and pa6.type not in (5)
    and pa6.invoicekey in (select pa5.invoicekey
    from payments pa5
    where trunc(pa5.pmtdate)=to_date(:P55_DP_VPF_PROD_DATE,'DD-MON-YY')
    and pa5.type=2
    group by pa6.invoicekey) pa_temp, invoices inv6, userhdr uh
    where inv6.userkey=uh.userkey
    and pa_temp.invoicekey=inv6.invoicekey
    and pa_temp.Subtotal_Payment<>inv6.amt
    and abs(inv6.amt-pa_temp.Subtotal_Payment)>1000
    order by 1Thanks a lot!
    Sam

    I found the cause. Thanks!

  • My Verizon Cloud says "Content is pending for backup" and (Update pending), but it's been doing this for over a day now.  The number of photos hasn't changed and I have 26GB of space.  What's going on?

    My Verizon Cloud says "Content is pending for backup" and (Update pending), but it's been doing this for over a day now.  The number of photos hasn't changed and I have 26GB of space.  What's going on?

        Tinigal2112,
    We want to make sure your photos are backed up successfully! Have you tried to stop the process and start it again? You can stop the process by stopping the Cloud and backup process completely in Settings>Applications>All>Verizon Cloud>Force stop. One it has stopped make sure you care connected to WiFi and try the backup again.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • HT201342 i lost my iphone and i need to follow up it by serial number but i don't know how to do it.

    i lost my Iphone 4 last week &amp; ineed to follow up it by serial number but i don't know how i can do it,i need help

    If you need to find your serial number you can check:
    The box it came in
    iTunes, by going to Preferences>Devices and hovering your mouse over the backup
    http://supportprofile.apple.com, if you ever registered it with Apple.
    This won't help you find it, however.  It will only enable you to prove it is yours if it is found, and to inform your insurance company.

  • Help...I downloaded the new version of I-tunes and do not remember my security questions...want to download an album.  I followed the directions to reset my security questions..basically an e-mail to my inbox...12 hours ago...still no e-mail..any ideas.

    Help...I downloaded the new version of I-tunes and do not remember my security questions...want to download an album.  I followed the directions to reset my security questions..basically an e-mail to my inbox...12 hours ago...still no e-mail..any ideas.

    Alternatives for Help Resetting Security Questions and Rescue Mail
         1. Apple ID- All about Apple ID security questions.
         2. Rescue email address and how to reset Apple ID security questions
         3. Apple ID- Contacting Apple for help with Apple ID account security.
         4. Fill out and submit this form. Select the topic, Account Security.
         5.  Call Apple Customer Service: Contacting Apple for support in your
              country and ask to speak to Account Security.
    How to Manage your Apple ID: Manage My Apple ID

  • Error while opening pdf in reader in windows 8:Can't open this file. There's a problem with file format

    I have a problem with a pdf file which does not open with reader in windows 8 but it opens properly with adobe pdf reader. All other pdf can be opened in reader.But when i open a pdf(see this link for pdf for which i got error http://incometaxsoft.com/temp/Form.pdf)
    it gives error as "Can't open this file. There's a problem with file format".
    The same file opens properly in adobe pdf reader.You can check the pdf file which i have mentioned in the link above.But the reader which comes with windows 8 can open some other pdf in the same PC.What may be the error causing this??

    This has turned out to be an enormous issue for me as I sell PDF files as ebooks. I have done a fair amount of investigating this for my system.
    My files have to be compatible not just across readers but across operating systems.
    To date, I have over 200 PDFs that have functioned flawlessly across Mac, PC (Windows 7 and below), Android, iPhone/iPad, Linux.
    I personally test my PDFs using a variety of readers and PDF editors including
    PDF XChange (my favorite)
    Foxit (runner up for me and I recommend for most people)
    Adobe (the bloated monster)
    Nitro 9 (great for moving graphical elements around)
    ABBYY
    And the Nuance PDF Create toolsets
    Those are off the top of my head. There are a bunch on Android that I test with too.
    I am running the Windows 10 Pro Tech Preview and I have this same problem so I know it isn't fixed yet in any kind of pre-release way (-sigh-)
    Here is what I've learned for my situation
    The PDFs I created using NUANCE'S PDF CREATE PROFESSIONAL VERSION 8
    all fail using the built-in Windows 8/10 PDF reader.
    When I look at the PDF properties for these Nuance created files, the underlying engine used to write them is called "ImageToPDF". Using ABBYY it indicates their own engine as does everyone else that I've tried. It is easy for you to check to see
    what created your PDF by doing a "Control D" (look at the document properties). Perhaps there's a common engine causing issues.
    If I use the exact same source files to create a PDF using any of my other tools I have no issues. I checked the PDF versions made by the tools and they are all set to 1.5.
    A customer mentioned being able to convert them in a way they worked by saving them without having to do any kind of extraction, but I have not been able to duplicate that. Perhaps he did a "print" which seems like it could work.
    In summary, the workaround everyone is talking about, using an alternate reader, of course works. But not everyone wants to change.
     The culprit I have found is my Nuance PDF Creation tools that are using the ImageToPDF engine.
    I hope it gets FIXED as I really don't want to have to regenerate all of my PDF files.

Maybe you are looking for