Number formatting in HTML table

Hello All,
I have create a HTML table in my page, In that I have displayed values using hidden items on that page.
like this
<table>
<tr>
<td> &P17_ENAME.</td>
<td> &P17_SALARY.</td>
</tr>
</table>
I want to format the salary values in "$12,000" format. I have tried giving the format mask to those hidden fields but it still shows normal number only.
How to format these values?
Thanks

Are you trying to show that HTML code in the same page that contains the items you want to show ?
if not then add a PLSQL process after submitting the first page as follows:
BEGIN
:P17_SALARY := LTRIM(TO_CHAR(:P17_SALARY,'$999,999.90'));
END;Sam
Edited by: Sam_06 on Aug 27, 2010 12:29 PM

Similar Messages

  • How to get the number of rows in a HTML table in some other page

    Hi,
    I am incrementing HTML table rows on button click and saving number of rows in a javascript variable. But on submitting that page I need that number of row value in the following page
    example:
    HTML table is in the page first.jsp
    and the javascript variable having the current row number is row_number
    on submitting it goes to second.jsp page. There i need that row_number value.
    Can anyone help me to solve this?
    regards,
    carry

    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt"+></td></tr>";
    document.profileform.submit;
    on submit it goes to the second page, but the value i got using >>>System.out.println("row number from text >>>box"+request.getParameter("rowNum")); is null. What is wrong with >>>my coding. Can anyone solve this.HI carry
    Check the value of bold data
    function buttonClick()
    var table = profileTable;
    var lnRow = table.rows.length;
    var insertedRow = table.insertRow(parseFloat(lnRow));var cnt=inRow
    var cell1 = insertedRow.insertCell();
    cell1.innerHTML ="<tr><td><Input type=\"hidden\" >>>name=\"rowNum\" value="+cnt+"></td></tr>";
    document.profileform.submit;
    }try with it

  • How do I change the number formatting within a Cell Table in Microsoft Word?

    Hi, I was wondering if someone could help me out on an issue I've been having... I work for an accounting firm and we do a lot of financial statements. 
    I was wondering if we would be able to treat a cell table in Microsoft Word 2007 like I would a cell table in Microsoft Excel. Meaning, I would like to change the formatting of the numbers in the table to the "Accounting" (number) format so it
    aligns by the decimal point and use the $ signs and () for negative numbers.  We do use the link tables feature, however, most of our balancing pages just can't be done in Excel because of the way the text is written. It would be much harder to format
    the text if it were to be typed in Excel. We have also tried  creating an Excel sheet within Microsoft Word but it is the same as linking the tables... Again, a text formatting issue.  The only option is to use tables within Word but how do we change
    the number formatting to a "accounting" (number) format where the numbers would align with the decimal point and use () for the negative numbers. Is there ANY option for us to do this other than manually entering this information in using tabs?  
    If there are no options other than entering it in manually, please consider this as an option for your next software update. I believe that a LOT of people out there will be interested in this feature... My manager and I just attended a webinar on Microsoft
    Advanced Word Tips Tricks and Techniques and 75% of the attending people had this question but no answer.
    Thank you very much for your help!!!!!

    Word does not really have number formatting for table cells. You can align cell contents on the decimal point, though, by setting a so-called decimal tab stop.
    Option 1:
    - Select the cells for which you want to do this.
    - Display the ruler.
    - Click the Tab box on the left hand side of the ruler until the box contains an inverted T with a dot.
    - Click in the ruler where you want the decimal tab.
    Option 2:
    - Select the cells for which you want to do this.
    - Click the arrow in the lower right corner of the Paragraph group on the Home tab of the ribbon.
    - Click the Tabs... button in the lower left corner of the dialog.
    - Specify a tab position in the box, e.g. 1.5".
    - Select the 'Decimal' radio button under 'Alignment'.
    - Click Set.
    - Click OK.
    You will have to type the numbers as they should appear, including the $ for currency and the ( ) for negative numbers.
    Regards, Hans Vogelaar

  • How do I retain the formatting (i.e. tables or graphics) while saving a pdf as an html?

    How do I retain the formatting (i.e. tables or graphics) while saving a pdf as an html?

    Are the PDF files that you are attempting to Save As HTML tagged?

  • HTML TABLE OUTPUT FORMAT

    Hello,
    I have a DB containing PROJECT NAME, DVDNAME (ex. C1345, F234, G4576) and the FILES on the DVD.
    In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
    1 DVD can contain from 5000 files
    Ex:
    select DVDNAME, FILENAME  fromTABLE where project = 2
    *DVD NAME: C1345*
    12.txt     13.txt     15.txt     16.txt     17.txt     18.txt     19.txt  
    22.txt     24.txt     26.txt     27.txt     28.txt     29.txt     31.txt        
    32.txt     33.txt     36.txt     37.txt     39.txt     42.txt     45.txt    
    44.txt     45.txt    47.txt      49.txt     55.txt     57.txt     59.txt    
    61.txt     63.txt     64.txt     66.txt     68.txt     69.txt     70.txt    
    71.txt     73.txt     75.txt     77.txt     78.txt     79.txt     80.txt    
    81.txt     82.txt     83.txt     85.txt     86.txt     88.txt     89.txt
    93.txt     95.txt     97.txt     99.txt   
    *DVD NAME: C2334*
    112.txt     113.txt     115.txt     116.txt     117.txt     118.txt     119.txt  
    122.txt     124.txt     126.txt     127.txt     218.txt     219.txt     311.txt        
    132.txt     133.txt     136.txt     137.txt     319.txt     412.txt     415.txt    
    144.txt     145.txt     147.txt     149.txt     155.txt     517.txt     519.txt    
    161.txt     163.txt     164.txt     166.txt     168.txt     619.txt     710.txt    
    171.txt     173.txt     175.txt     177.txt     178.txt     719.txt     810.txt    
    181.txt     182.txt     183.txt     185.txt     186.txt     818.txt     819.txt
    193.txt     195.txt     197.txt    1 99.txt   
    HOW can I modify my code to have the result needed? I have only a 1 row table with the DVDTITLE repeating...
    BEGIN
    htp.p('<HTML>');
    htp.p('<HEAD>');
    htp.p('<TITLE>DISQUES C</TITLE>');
    htp.p('</HEAD>');
    htp.p('<BODY>');
    for idx in (select DVDNAME, FILENAME  fromTABLE where project = 2 )loop
        htp.p('<TABLE>');
        htp.p('<TR>');
       htp.p('<TD>'||idx.DVDNAME||' </TD> ');
       htp.p('</TR>');
       htp.p('<TR>');
       htp.p('<TD>'||idx.FILENAME||' </TD>  <TD>'||idx.FILENAME||' </TD>  <TD>'||idx.FILENAME||' </TD> <TD>'||idx.FILENAME||' </TD> <TD>'||idx.FILENAME||' </TD> <TD>'||idx.FILENAME||' </TD> <TD>'||idx.FILENAME||' </TD> <TD>'||idx.FILENAME||' </TD>');
       htp.p('</TR>');
    htp.p('</TABLE>');
    end loop;
    htp.p('</BODY>');
    htp.p('</HTML>');
    end;thanks,
    Roseline

    Application Express 3.1.2.00.02
    Oracle 11g
    I want to list the DVD and his content who are related to a project X. Each DVD and content must be in a different table.
    This table must have 7 columns. The problem with the following code that I have show all the file in a single row for all the DVD content.
    How can I modify it?
    The query:
    SELECT Id, DVD_ID,NomFichier,PROJET_ID FROM elements where PROJET_ID =1Wanted output
    DVD 85
    2635080     2636608     2637084     2637091     2637092     2637093     2637147
    2637152     2637153     2637154     2637155     2637156     2637157     2637164
    2637169     2637170     2637172     2637173     2637202     2637203     2637213
    2637214     2637215     2637216     2637218     2637217     2637219     2637220
    DVD 86
    2639497     2639498     2639502     2639504     2639505     2639506     
    2639508     2639509     2639511     2639512     2639519     2639521     2639522
    2639523     2639525     2639527     2639530     2639542     2639543     2639552
    2639553     2639554     2639555     2639559     2639560     2639561     2639563
    2639564     2639565     2639567     2639574     2639575     2639578     2639579
    DVD 87
    2641806     2641807     2641808     2641809     2641810     2641819     
    2641821     2641824     2641827     2641828     2641830     2641831     
    2641834     2641838     2641839     2641846     2641847     2641849     
    2641851     2641852     2641853     2641854     2641855     2641863     
    etc...Current output
    87 
    2641806  2641807  2641808  2641809  2641810  2641819  2641820  2641821  2641824  2641827  2641828  2641830  2641831  2641832  2641834 
    88 
    2644294  2644297  2644299  2644300  2644303  2644304  2644308  2644309  2644311  2644316  2644318  2644319  2644320  2644322  2644323  What someone suggest it?URL http://www.developpez.net/forums/d865203/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/[URL]
    DECLARE
      vtemp  varchar2(4000) DEFAULT ' ';
    BEGIN
      htp.p('<HTML>');
      htp.p('<HEAD>');
      htp.p('<TITLE>DISQUES C</TITLE>');
      htp.p('</HEAD>');
      htp.p('<BODY>');
    FOR idx IN
        SELECT DVD_ID, NomFichier,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier  ASC) AS rna,
               row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
          FROM elements
         WHERE PROJET_ID = 1
      ORDER BY DVD_ID ASC, rna ASC
          loop
            IF idx.rna = 1
            then
              htp.p('<TABLE>');
              htp.p('<TR>');
              htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
              htp.p('</TR>');
              htp.p('<TR>');
            end IF;
            vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
            IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
            then
              htp.p(vtemp);
              vtemp := ' ';
            end IF;
            IF idx.rnd = 1
            then
              htp.p('</TR>');
              htp.p('</TABLE>');
            end IF;
          end loop;
    htp.p('</BODY>');
    htp.p('</HTML>');
    end;thanks
    Roseline
    Edited by: Roseline on 19 janv. 2010 10:25

  • Best table format for html?

    I see that after I convert my FM doc to Online Help (via webworks), the tables do not expand in the output the way the text does. Is there a specific table format that works best for conversion to html?
    Regards,
    Bill

    Bill,
    in FrameMaker you design each table to have certain column widths because you are limited by the size of your page (and the paper).
    HTML browsers have more freedom unless they are explicitly instructed to create certain column widths. The basic rule for HTMl tables (and there is only a single table "format" in HTML) are those:
    Check each column for its minimum width, specified by a graphic or a very long unhyphenated word.
    Look in each column for the longest content. i.e. as if multi-line content would be written in a single line (attention: <br> tags force line breaks)
    If all columns expanded to hold the longest content fit inside the browser window: scale them accordingly: This may result in tables which are smaller than in print, because they contain only very short texts
    If the columns do not fit the current browser width, scale them down to fit the browser width, but only as far as the minimum width.
    If the sum of minimum widths is wider than the browser window: create a horizontal scrollbar.
    Of course, using CSS instruction like {width: 12em;} one can force certain column width independent from content, but this is usually not the default.
    If you want all your tables to always span the full width of the browser window, you have to add the following to your CSS (maybe via the Webworks UI):
    table { width: 100%; }
    HTH,
    - Michael

  • How to apply a number format to a cell within a table in Word 2011??

    I am creating a fillable PDF form and I need to be able to apply a phone number format to a cell in Word 2011 similar to how it is done in Excel...Can someone please HELP me? Thank You!

    846640 wrote:
    I have to import some data form excel sheet. but the number in that sheet have been saveed as the following format mask 1,000.000(2,000.000,1,5000,00) as charchterI am wonder how to apply format mask in excel for the character cell.
    but in may table that field is a number, so how can remove the format mask from the excelsheet?So, while reading from excel how the values is coming in the variable i assume its coming with comma(,) than what happens if you try like below?
    variable_name:=TO_NUMBER(REPLACE(variable_name,',',''));
    -Ammad

  • Multi page html table, by letter, then by number ... possible to handle nested queries?

    I had seen a worked example of handling html tables spread across multiple pages where there was a logical number on each page here: http://www.powerpivotblog.nl/nba-team-spending-and-their-results-with-excel-powerpivot-and-data-explorer/
    Which requires a two-step solution:
    1) to alter the query to use Number.ToText
    (page) =>let
        Source = Web.Page(Web.Contents("http://website_url/a-z/a/" & Number.ToText(page))),
        Data0 = Source{0}[Data],
        ChangedType = Table.TransformColumnTypes(Data0,{{ etc etc}})
    in
        ChangedType
    and then 2) to supply a {1..X} parameter on a separate sheet.
    let
        Source = Table.Combine(List.Transform({1..30}, Query))
    in
        Source
    In my example URL above (http://website_url/a-z/a/1), there is also a changing letter component /a-z/a/1, 2, 3, then /a-z/b/1,2,3 etc...
    Is there an equivalent way of setting an {a..z} parameter as an outer loop and combine it with the {1..30} loop, by any chance?
    Thanks for your help.
    Colum

    Here are two ways you can reduce the number of privacy prompts:
    1) Use the trick Curt mentions here about reducing the number of prompts.
    Basically, add a query that uses a formula like:
    = {Web.Contents("http://website/"), Web.Contents("http://someOthersite/")}
    Then, set the privacy level of http://website/ to Public. After saving the privacy level, you can discard the query.
    2) You can enable Fast Combine, which will disable the privacy checks. I do not recommend this approach in general, and you should only enable Fast Combine if you are certain that you can trust your data sources. Also, be extremely cautious about enabling
    Fast Combine on workbooks you did not create.
    I recommend the first approach.
    Sorry, I did not include the navigation and transformation steps in my approach above. To include those steps, it will be nicer to go with the two-step approach to prevent the last function in Websites from being too messy.
    For the first step, we can create a function which, given a letter and a page number, grabs the data from the website and performs some transformations on it. It might look something like this:
    let
        Source = (letter, pageNumber) => let
            Page = Web.Page(Web.Contents("http://website/" & letter & "/" & Number.ToText(pageNumber))),
            Data0 = Page{0}[Data],
            ChangedType = Table.TransformColumnTypes(Data0,{{"FIELD1", type text}, {"FIELD2", type text}, {"FIELD3", type text}, {"FIELD4", type text}, {"FIELD5", type text}})
        in
            ChangedType
    in
        Source
    Let's call this query GetWebsiteContents.
    For the second step we can generate all of the letter and number combinations we need, and then call GetWebsiteContents on each combination. That may look like this:
    let
         Numbers = {1..5},
         Letters = {"a", "b", "c"},
         CreatePair = (page) => List.Generate(() => 0, each _ < List.Count(Letters), each _ + 1, each {Letters{_}, page}),
         LetterNumberPairs = List.Combine(List.Generate(() => 0, each _ < List.Count(Numbers), each _ + 1, each CreatePair(Numbers{_}))),
         Websites = List.Generate(() => 0, each _ < List.Count(LetterNumberPairs), each _ + 1, each GetWebsiteContents(LetterNumberPairs{_}{0}, LetterNumberPairs{_}{1}))
     in
         Websites
    I hope this helps.
    -Alejandro (MSFT)

  • External Table Number Format

    Hi,
    i am having an amount field in my input source file. The data type of that field is Number(13,4).
    It is accepting the values 509.25, 34.43, etc.
    But i am having the records having amount field values as 514,25.
    OWB rejects such records as bad records.
    But i need to include such records.
    Do we have any number format mask as we have date format mask.

    Hi,
    you have several choices:
    1.) Change the decimal split character from . to , for your database or your session.
    2.) Change the data type to varchar2, replace the , with a . with an expression and then use the transformation to_number to convert it into a really number format.
    3.) ...
    Regards,
    Detlef

  • Excel issues with importing CSV or HTML table data from URL - Sharepoint? Office365?

    Greetings,
    We have a client who is having issues importing CSV or HTML table data as one would do using Excel's Web Query import from a reporting application.  As the error message provided by Excel is unhelpful I'm reaching out to anyone who can help us begin to
    troubleshoot problems affecting what is normal standard Excel functionality.  I'd attach the error screenshot, but I can't because my account is not verified....needless to say it says "Microsoft Excel cannot access  the file https://www.avantalytics.com/reporting_handler?func=wquery&format=csv&logid=XXXX&key=MD5
    Where XXXX is a number and MD5 is an md5 code.  The symptoms stated in the error message are:
    - the file name or path does not exist
    -The file is being used by another program
    -The workbook you are trying to save has the same name as a currently open workbook.
    None of these symptoms are the case, naturally. The user encountered this with Excel2010, she was then upgraded to Excel2013 and is still experiencing the same issue. The output of this URL in a browser (IE, Chrome, Firefox) is CSV data for the affected
    user, so it is not a network connectivity issue.  In our testing environment using both Excel2010 or 2013 this file is imported successfully, so we cannot replicate.  The main difference I can determine between our test environment and the end-user
    is they have a Sharepoint installation and appear to have Office365 as well.
    So,  my question might more appropriately be for Sharepoint or Office365 folks, but I can't be sure they're  a culprit.  Given this - does anyone have any knowledge of issues which might cause this with Sharepoint or Office365 integrated with
    Excel and/or have suggestions for getting more information from Excel or Windows other than this error message?  I've added the domain name as a trusted publisher in IE as I thought that might be the issue, but that hasn't solved anything.  As you
    can see its already https and there is no authentication or login - the md5 key is the authentication.  The certificate for the application endpoint is valid and registered via GoDaddy CA.
    I'm at a loss and would love some suggestions on things to check/try.
    Thanks  -Ross

    Hi Ross,
    >> In our testing environment using both Excel 2010 and 2013 this file is imported successfully, so we cannot replicate.
    I suspect it is caused by the difference of web server security settings.
    KB: Error message when you use Web query to a secure Web page (HTTPS://) in Excel: "Unable to open"
    Hope it will help.
    By the way, this forum is mainly for discussing questions about Office Development (VSTO, VBA and Apps for Office .etc.). For Office products feature specific questions, you could consider posting them on
    Office IT Pro forum or Microsoft Office Community.
    Regards,
    Jeffrey
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in generating HTML tables in apex

    Hi friends,
    I coulnt able to generate an email in the HTML table format with a background color since im receiving only in a plain text manner.
    The below is the coding only based on HTML in which i can able to view it in the HTML tables and this is it
    <html>
    <head><title>Report 1</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <base href="http://erpdev01.ti.com:7777/pls/apex/" />
    <style type="text/css">
    table.apex_ir_html_export {
    background-color:#F2F2F5;
    border-width:1px 1px 0px 1px;
    border-color:#C9CBD3;
    border-style:solid;
    table.apex_ir_html_export td {
    color:#000000;
    font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
    font-size:9pt;
    background-color:#EAEFF5;
    padding:8px;
    background-color:#F2F2F5;
    border-color:#ffffff #ffffff #cccccc #ffffff;
    border-style:solid solid solid solid;
    border-width:1px 0px 1px 0px;
    table.apex_ir_html_export th {
    font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;
    font-size:9pt;
    padding:8px;
    background-color:#CFE0F1;
    border-color:#ffffff #ffffff #cccccc #ffffff;
    border-style:solid solid solid none;
    border-width:1px 0px 1px 0px;
    white-space:nowrap;
    </style>
    </head>
    <style type="text/css">
    body{font-family: Arial, Helvetica, sans-serif;
                        font-size:10pt;
                        margin:30px;
                        background-color:#ffffff;}
    span.sig{font-style:italic;
    font-weight:bold;
    color:#811919;}
    </style>
    </head>
    <body>
    <table border="0" cellpadding="0" cellspacing="0" class="apex_ir_html_export">
    <thead><tr><th id=></th><th id=></th></tr></thead>
    <tr>
    <td>Employee Number</td>
    <td>:P36_EMPLOYEE_NUMBER</td>
    </tr>
    <td>Reason</td>
    <td>:P36_REASON</td>
    </tr>
    <td>Position Title</td>
    <td>:P36_POSITION_TITLE</td>
    </tr>
    <td>Qualification Displayed</td>
    <td>:P36_QUALIFICATION_DISPLAYED</td>
    </tr>
    <td>Qualification Title</td>
    <td>:P36_QUALIFICATION_TITLE</td>
    </tr>
    <td>Mobile Number</td>
    <td>:P36_MOBILE_NUMBER</td>
    </tr>
    <td>Desk Number</td>
    <td>:P36_DESK_NUMBER</td>
    </tr>
    <td>Fax Number</td>
    <td>:P36_FAX_NUMBER</td>
    </tr>
    <td>Email Address</td>
    <td>:P36_EMAIL</td>
    </tr>
    <td>Effective Date</td>
    <td>:P36_EFFECTIVE_DATE</td>
    </tr>
    <td>Location</td>
    <td>:P36_LOCATION</td>
    </tr>
    <td>Type-I</td>
    <td>:P36_TYPE1</td>
    </tr>
    <td>Type-II</td>
    <td>:P36_TYPE2</td>
    </tr>
    <td>Status</td>
    <td>:P36_STATUS</td>
    </tr>
    </table>
    </body>
    </html>
    kindly ignore div class="jive-quote" and div
    as it is generated by the forum software in the above coding. The above is working perfectly as i can able to see it in the table manner with a background color.
    The same thing it needs to work on in apex while clicking the button, the html table with contents has to be send as an email when an button is pressed, i tried with the below coding, but i couldnt able to see the HTML table with a background color, it is showing in the plain text only. it is not showng html table with a background color in it. This is the coding.
    DECLARE
    l_mail_id NUMBER;
    l_body VARCHAR2(4000);
    l_body_html VARCHAR2(4000);
    BEGIN
    l_body_html := '<html>'||
    ' <head><title>Report 1</title>'||
    '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">'||
    '<base href="http://erpdev01.ti.com:7777/pls/apex/" />'||
    '<style type="text/css">'||
    'table.apex_ir_html_export {'||
    'background-color:#F2F2F5;'||
    'border-width:1px 1px 0px 1px;'||
    'border-color:#C9CBD3;border-style:solid;}'||
    'table.apex_ir_html_export td {'||
    'color:#000000;'||
    'font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;'||
    'font-size:9pt;'||
    'background-color:#EAEFF5;'||
    'padding:8px;'||
    'background-color:#F2F2F5;'||
    'border-color:#ffffff #ffffff #cccccc #ffffff;'||
    'border-style:solid solid solid solid;'||
    'border-width:1px 0px 1px 0px;'||
    '}'||
    'table.apex_ir_html_export th {'||
    'font-family:Tahoma,Arial,Helvetica,Geneva,sans-serif;'||
    'font-size:9pt;'||
    'padding:8px;'||
    'background-color:#CFE0F1;'||
    'border-color:#ffffff #ffffff #cccccc #ffffff;'||
    'border-style:solid solid solid none;'||
    'border-width:1px 0px 1px 0px;'||
    'white-space:nowrap;'||
    '}'||
    '</style>'||
    '</head>'||
    '<style type="text/css">'||
    'body{font-family: Arial, Helvetica, sans-serif;'||
                        'font-size:10pt;'||
                        'margin:30px;'||
                        'background-color:#ffffff;}'||
    'span.sig{font-style:italic;'||
    'font-weight:bold;'||
    'color:#811919;}'||
    '</style>'||
    '</head>'||
    '<body>'||utl_tcp.crlf;
    l_body_html :=
    '<table border="0" cellpadding="0" cellspacing="0" class="apex_ir_html_export">'||
    '<thead><tr><th id=></th><th id=></th></tr></thead>'||
    '<tr><td>Employee Number</td><td>'||:P36_EMPLOYEE_NUMBER||'</td></tr>'||
    '<tr><td>Reason</td><td>'||:P36_Reason||'</td></tr>'||
    '<td>Position Title</td><td>'||:P36_POSITION_TITLE||'</td></tr>'||
    '<td>Qualification Displayed</td><td>'||:P36_QUALIFICATION_DISPLAYED||'</td></tr>'||
    '<td>Qualification Title</td><td>'||:P36_QUALIFICATION_TITLE||'</td></tr>'||
    '<td>Mobile Number</td><td>'||:P36_MOBILE_NUMBER||'</td></tr>'||
    '<td>Desk Number</td><td>'||:P36_DESK_NUMBER||'</td></tr>'||
    '<td>Fax Number</td><td>'||:P36_FAX_NUMBER||'</td></tr>'||
    '<td>Email Address</td><td>'||:P36_EMAIL||'</td></tr>'||
    '<td>Effective Date</td><td>'||:P36_EFFECTIVE_DATE||'</td></tr>'||
    '<td>Location</td><td>'||:P36_LOCATION||'</td></tr>'||
    '<td>Type-I</td><td>'||:P36_TYPE1||'</td></tr>'||
    '<td>Type-II</td><td>'||:P36_TYPE2||'</td></tr>'||
    '<td>Status</td><td>'||:P36_STATUS||'</td></tr></table>'||utl_tcp.crlf;
    l_body_html := l_body_html ||'<p>Thank you for your interest in the <strong>APEX MAIL</strong></p>'||utl_tcp.crlf;
    l_body_html := l_body_html ||' Sincerely,
    '||utl_tcp.crlf;
    l_body_html := l_body_html ||' <span class="sig">The APEX Dev Team</span>
    '||utl_tcp.crlf;
    l_body := 'Request for an Salary Certificate Request'||utl_tcp.crlf;
    l_mail_id := apex_mail.send(
    p_to => '<[email protected]>',
    p_bcc => '<[email protected]>',
    p_from => :P36_EMAIL,
    p_body => l_body,
    p_body_html => l_body_html,
    p_subj => 'Salary Certificate Request With Request No' ||:P36_DIS_REQ_ID
    apex_mail.push_queue();
    END;
    kindly ignore div class="jive-quote" and div in the above codings too.
    Why it is not generating in a table via email, what is the issue.
    Thanks
    Saro.
    Edited by: Saro on May 17, 2011 12:50 PM

    Hello Saro,
    first of all: the html code you are generating is not valid html. There is no closing body and html tag. Ther eis one closing head tag to much. In your table many opening row tags are missing.
    second: have a closer look at what you are doing with your variable l_body_html. At first, you add your styles to it and then you overwrite it with your table instead of adding it.
    Regards,
    Dirk

  • String size limitations, HTML table

    Post Author: Jeff Kulbeth
    CA Forum: General
    I am currently using CR 8.5 and am aware of string size limitations... 254 characters max.  I'm looking at CR XI and can't find any data on string size limitations.  A few questions:
    1) We're considering database fields larger than 254 characters, and would like to use CR to parse the field.  In CR XI, what's the maximum string length that can return from a table and still be used in a formula?   Can a Memo field be used in a formula in CR XI? 
    2) Once I've parsed the fields in the database table, I'll need to return formatted strings back to the report.  The strings will be larger than 254 character ... What's the maximum string size allowed in CR XI?
    3) Somewhat related, but not entirely:  Have any patches been released that provide HTML table interpretation in CR XI?
    Thanks for the help,
    Jeff Kulbeth

    Post Author: V361
    CA Forum: General
    The maximum length of a String constant, a String value held by a String variable, a String value returned by a function or a String element of a String array is 65,534 characters.
    The maximum size of an array is 1000 elements.
    The maximum number of arguments to a function is 1000. (This applies to functions that can have an indefinite number of arguments such as Choose).
    Not sure about the HTML ?

  • HELP: Strange Number Formatting Issue

    G'day All,
    I have a stored procedure which is available via the web which generarates a customer report. I've just noticed that my number fields that have decimal values are being rounded to the nearest whole number.
    The SQL that grabs the data to be used in generating this specific table uses TO_CHAR(decimal_field, '9990.00') etc a number of times. example values are:
    0.27 becomes 0.00
    45.44 becomes 45.00
    I've double checked the underlying data and the values definitely have decimal values as the examples I listed above are from. When I run similar queries via the SQL COMMANDs web page the data is correctly formatted. It just appears to be with in the stored procedure.
    BUGGER I've just noticed that it is happing on "Report Regions" where I have also used TO_CHAR(decimal_Value, '99990.00') etc.
    Does anyone know WTF I've done or not done. I'm pulling my bloody hair out as "IT SHOULD JUST WORK!!" :(
    Regards
    Mark

    G'day Chrissy,
    Thanks for you response, I've just logged it the demo application on my local instance of apex v 3.0.1 on Oracle XE and and as you would have it, I cannot for the life of me get the Number Formatting issue to occur at home.
    So when I get back into work, I'll give your suggestion a go.
    That said, I've modified the DEMO application specifically the TOP 10 Product report using every combination of the TO_CHAR (your way, the ways that I believe I'm using) and it works fine. I've created a new table with decimal values and a new report and it works fine. I even tries putting records with null values in the decimal field, but it worked fine.
    I've just switched themes (even though themes have no influence of a dynamically create html page via procedure) annnnnd it works fine.
    AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!
    Just maybe, just maybe it was Friday-itise and when I get in Monday it will just work, unless I get stung by Monday-itise :)
    I'll keep plodding along,
    Mark

  • Export to excel with javascript/vbscript or with plsql(html table)

    i have searched for a way to export data from OracleXe to excel without losing formatting .
    So far i have found 2 possible relatively easy ways that i am still researching
    (i do not include the ask tom sylk format way of exporting )
    1 to export the query to a html table, while using stylesheets for formatting
    (using microsoft specific styles)
    2. use of javascript/vbscript to fill an array and write this array to excel with use
    of visual basic for applications in excel.This also provides charting capabilities.
    I am still researching this two ways, and have
    encountered a few obstacles (help would be appreciated)
    1 the first way:
    a. create a button " export to excel"
    b. create the following pl/sql procedure:
    owa_util.mime_header('application/vnd.ms-excel');
    owa_util.http_header_close;
      HTP.PRINT('<html>');
      HTP.PRINT('<head>');
      HTP.PRINT('<meta http-equiv="Content-Type" content="text/html">');
      HTP.PRINT('<title>Title of the HTML File</title>');
      HTP.PRINT('</head>');
      HTP.PRINT('<body TEXT="#000000" BGCOLOR="#FFFFFF">');
      HTP.PRINT('<h1>Heading in the HTML File</h1>');
      HTP.PRINT('<p>Some text in the HTML file.');
      HTP.PRINT('</body>');
      HTP.PRINT('</html>');
    htmldb_application.g_page_text_generated := true;
    htmldb_application.g_unrecoverable_error := true;
    c: run the procedure conditionally based on the button  "export to excel"
    the problem with this way is that using htmldb_application.g_unrecoverable_error := true; is not the ideal way, because it
    stops further processing, but if i leave it out, the export doesn't happen.
    To export to excel while retaining data formatting  you have to use microsoft excel
    specific styles(Seedocumentation on the microsoft site)
    2.The second way:
    a create a pl/sql procedure or sql query.
    b use this query to fill a vbscript/javascript array with values
    c write these values to excel with use of vba in excel :
    the obstacle i encountered here was that i dont know how to export the result of a
    query to a visual basic script or javascript array.

    Using approach 1) works fine for me.
    the problem with this way is that using htmldb_application.g_unrecoverable_error := true;
    is not the ideal way, because it
    stops further processing, but if i leave it out, the export doesn't happen. Why is this a problem?
    I created the button to export the excel file on page 1 and created your pl/sql procedure on page 2 using an onload process.
    Works fine.
    Other approaches for exporting to excel are:
    http://www.oracle.com/technology/pub/articles/saternos_broadcast.html
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:5685133631021176591::::P54_ID:1962
    ~Dietmar.

  • Problem with the number format in the graph axis with Report Generation Toolkit.

    Hi!
    I'm trying to use the Report Generation Toolkit to plot some graphs in Excel.
    My first problem is that I don't know how to configure the number format in the Excel Set Graph Font.vi so that my numbers are correctly displayed in the graph's axis. The only given option is general (0,0) but this is not enough for me, my numbers can get really small so I need engineering notation or fraccional format.
    Second: I also insert a table with the graph source data, but the numbers are not correctly displayed either: for example: 
    0,75 is shown as: 
    0,750000
    but 1,25  is shown as: 
    1!250!000
    My guess is I am making to much or wrong string to number conversions or Excel is getting it wrong but I can't find my way...
    Can someone help me with this?
    Thanks,
    Isabel

    Here is my VI, it's just a trial so it can look messy...
    Thanks,
    Isabel
    Message Edited by Isa_pm on 01-22-2007 01:12 PM
    Attachments:
    Create report.vi ‏96 KB

Maybe you are looking for

  • HP ENVY TouchSmart Ultrabook. I accidentally deleted my audio.

    Product/Model: HP ENVY TouchSmart 4-1115dx 3rd generation Intel Core i5-3317U                  I was cleaning up my laptop by uninstalling things from the control panel, and I accidentally uninstalled my audio drivers and everything that has to do wi

  • How do I add an undetected Intel 82559 NIC to my Sparc Solaris 9 install?

    All, I bought a combo LSI SCSI and Intel NIC card for my Ultra 5. I'm running Solaris 9 9/04. The card was added after the os was installed. The OS is currently using the hme0 adapter detected on the system but I need to multi-home this system. first

  • Why can't I change any of the values??

    So I oppened a ae file I havent touched in a few weeks and I wanted to change the opacity of a shape layer. All of the number values for my objects have disappeared, and I cannot change anything. What do I do? Check the pic:

  • Safari will not open .csv files automaticlly into excel

    With the latest update to Safari. I get email links from my corporate that opens a .csv file into excel automatically . It opens a page in Safari with garbage on the page now.If I use Foxfire it opens in excel automatically as always. When I call App

  • Buying Indesign at the Creative Cloud?

    Some weeks ago I've downloaded the free trial version of Indesign CC6. I like to continu using Indesign! Can I buy it from the Creative Cloud paying € 24,95 each month (I live in Spain!)? Eduard