Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Problem with the Numeric Value which contains 12 digits in Excel output

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Problem with the Numeric Value which contains 12 digits in Excel output
 Login/Join
 
Gold member
posted
Hi,

I have problem with Excel output. I have field which contains 12 digits numeric value(923456799801) and it is dispalying properly entire value in HTML format. Problem is when I do export to EXCEL, the number is turning '9.23457E+11' which it is ta
  • king the excel default format.

    To display the entire value I have a solution that I can convert the numeric value into Character type and then do Export to excel where it will show the entire value 923456799801 instead of '9.23457E+11'

    My Question is with converting the numeric value to character type is there any solution to change the default format of the EXCEL CELL.

    I got a problem in attaching the Image. May be I can show visual kind of my requirement.

    HTML output: Its showing fine Excel Output: Its showing a value based on the
    ------------- ------------- Cell default format

    Part_No Part_No
    -------- --------

    923456799801 9.23457E+11 (Required the entire value instead of
    Excel own format

    This message has been edited. Last edited by: Kerry,
  •  
    Posts: 78 | Registered: January 07, 2008Report This Post
    Expert
    posted Hide Post
    quote:
    ... is there any solution to change the default format of the EXCEL CELL.
    ... which is a question for an Excel Forum.

    Change your numeric format to Double Precision instead of Packed Decimal e.g. D12c instead of P12c -

    TABLE FILE CAR
    SUM COMPUTE NO/P12c = 923456799801;
        COMPUTE NO/D12c = 923456799801;
     BY COUNTRY
    ON TABLE PCHOLD FORMAT EXL2K
    END

    T



    In FOCUS
    since 1986
    WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
    WebFOCUS App Studio 8.2.06 standalone on Windows 10 
     
    Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
    Gold member
    posted Hide Post
    Hi Tony,

    Thanks for the reply its working fine and I'm getting the entire 12 digits value in the excel cell when I do a normal Export like using the command

    ON TABLE PCHOLD FORMAT EXL2K

    But, When hold data in HTMTABLE and use the commnad SET HTMLFORMTYPE=XLS and show the output in Excel it is again taking its own format excel cell format

    Actually I'm doing these things...

    ON TABLE HOLD AS REPORT FORMAT HTMTABLE
    once I hold the ouput then I'M showing the output in excel format as follows

    -HTMLFORM BEGIN





    !IBI.FIL.REPORT;





    -HTMLFORM END

    Please suggest me or how to get it.

    Thanks!
     
    Posts: 78 | Registered: January 07, 2008Report This Post
    <JG>
    posted
    quote:
    HTMTABLE

    That format does not contain any format information about cell content.

    If you want to use FORMAT HTMTABLE it's not going to work.

    Convert the field to alpha using FTOA or PTOA
     
    Report This Post
      Powered by Social Strata  

    Read-Only Read-Only Topic

    Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Problem with the Numeric Value which contains 12 digits in Excel output

    Copyright © 1996-2020 Information Builders