Number field on crystal report displays Exponential form.

Number Type field on crystal report printed in Exponential form when digits in this field are more than 17.

Hi Jay,
The same issue is addressed in the K-Base article c2005336. This is the limitation in Crystal, If you have more than 15 digits of numberic field it will convert into Exponential
Use database-level syntax to convert the numeric database field to a string so that Crystal Reports will interpret it as a string type, and display all of the characters.
For example, in Oracle, cast the number using to_char() and in Microsoft SQL Server use CAST() or STR() prior to adding the field to the report.
As a workaround to display all the number, I would suggest you to convert it to text using a SQL Expression Field. A SQL Expression field will be evaluated on the database server.
I would suggest you to follow the below mentioned steps to create SQL Expression field and convert a database field to a string:
1. Open the report.
2. Right click the SQL Expression field which is present in the Field Explorer.
3. Select New and copy and past the below-mentioned text.
CAST ("Database Field" as varchar)
Note u201CDatabase Fieldu201D Here you have to mention your database field.
After you create the SQL Expression Field, insert it on the report and it will display the full number.
Please note that no calculation can be made on that field since it is now a string.
I hope this helps you.
Regards,
Prashant

Similar Messages

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Problem dislaying an Informix LVARCHAR field in Crystal Reports

    Post Author: littlew
    CA Forum: Data Connectivity and SQL
    I am creating a report using Crystal Reports XI from a BOXI Universe.  The Universe is connecting to an Informix Dynamic Server 9.21 database.  The Informix database contains a field which is a LVARCHAR data type.   A LVARCHAR data type is one which allows the storing of more than 255 characters (up to 2KB). 
    When I attempt to place the LVARCHAR data type field onto my report, Crystal Reports displays no data in my report for most of the other fields, and all the formulas return invalid results.  If I go into the Informix database and change the LVARCHAR field to CHAR (255) field, the Crystal Report will run with no problems.
    Does anyone know if Crystal Reports can support the displaying of fields from the database, which are greater than 255 characters?
    Also, I have created a Crystal Report which uses the same Informix data source using an ODBC connection and the LVARCHAR field caused the entire report not to display.   By changing the field from LVARCHAR to CHAR (255) the report runs fine.
    -bill

    Post Author: V361
    CA Forum: Data Connectivity and SQL
    I don't remember where I read it, but the field limit is 255 characters. Unless that has changed in CR 2008

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • Calling Crystal Reports from Oracle Forms 6i

    Hello
    I am trying to invoke/call Crystal Reports from Forms 6i.
    I have created OCX Item, while right click on item and insert-object, i am unable to see "Crystal Report" Control.
    I have installed crystal Reports 2008 (Version 12) and CR Standard Production version 9.
    Is there any Active X control registration in forms.
    I could see "Crystal Report Viewer Control 9" and "Crystal Report Print Control 12.0"
    Could some one help me,
    Thanks
    Tumuganti

    Did u Succeed in calling crystal Reports XI from Forms 6i
    or from Forms10g
    for me also the same Requirement
    please send any document ,Attachment ,steps to call Crystal Reports XI from Forms
    [email protected]
    Message was edited by:
    user501763

  • Pls Help: View Crystal Report Via Oracle Form Builder

    Hi!!
    I want to know how to view the .rpt report (report made from Crystal Report) via Oracle Form Builder. I've to do it in my project. If you know, please tell me.
    Thanks in advance,

    I don't know how does crystal reports work, and I would guess you should ask the crystal guys to help you with this. find out if they have a command line interface that you can invoke from the host command in forms.
    We can help you do it with Oracle Reports though :-)
    http://otn.oracle.com/products/reports

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • Currency fields in Salesforce reports display as "[Record]" in Power Query

    Currency fields in Salesforce reports display as [Record] in excel when using power query.    Can include screenshots due to forum rules.

    Thanks - that helped me figure it out.
    IF you right click on the source and click edit to get into edit mode on the query, then you have the option to expand the record.  Doing this and saving does the trick.  
    Will try and post some screenshots later if others run into this.

  • Is it possible to call a Crystal Report from Oracle Forms.

    Hi Everybody,
    I got a Dout about Crystal Reports. Is it possible to call Crystal Reports from Oracle Forms.

    Hello,
    That depends are you running Forms via the WEB or client/server. I will assume you are running client/server since you are running crystal reports. The answer is yes. All you will have to do is use the HOST command or the win_api_shell to run the report. Look in the Forms manual for information on the commands and what else you may need.
    John

  • Can I rum Crystal Report on Oracle Forms

    Friends
    Can I rum Crystal Report with Oracle Forms.
    Rgds
    Muhammad Tahir Khan

    Yes....but the way depends on your form's version and app implementation....!!!!
    Greetings...
    Sim

  • How to globally modify number formatting in Crystal Reports

    How do I globally modify the number formatting in Crystal Reports to NOT use the default which is “System Default Number Format”? The goal is to modify the number formatting to NOT contain commas. This modification should be global and should apply to any local account that will launch and use Crystal Reports on the server where it is installed. Can anyone help?

    Hi Raghavendra,
    For new reports, we have tried the setting you specified.  The question is, how can we force Crystal Reports to “keep” and “retain” the adjusted format globally every time users create a new report?
    Thank you!
    Ivy

  • Calling Crystal Reports XI from Forms 10g

    Any one succeed in calling Crystal Reports XI from Forms 10g,
    or using Import Java Class in Forms 10g
    to call Crystal Reports XI
    or any other method to invoke crystal Reports XI from FORMS
    share your Knowledge to OTN
    please provide me the steps,documents to [email protected]
    Message was edited by:
    user501763

    Hi,
    Use web.show_document for calling the reports. Check out forms online help for syntax and example of web.show_document.
    -Arun

  • Crystal report displays only a part of a field

    I created a Crystal report based on a BW Query. The user enter a comment about a sales order in SAP. This field has only a key but no text in BW.
    So the text is the key. The whole comment can be seen when I run the query with Bex Analyzer. The key is displayed on the report.
    However Crystal report cuts the length of this field although I use the key in the Crystal report as well. Only 143 characters can be seen.
    I adjusted the font or can grow option of the field but it doesn't work.
    I tried this formula as well but it did not work.
    Stringvar s1:={field} [1 to 100];
    Stringvar s2:={field} [102 to 200];
    S1&s2;
    Can somebody help me about this issue?
    I will be very thankful.
    Deniz

    That would be CR 2013, Service Pack 2. CR 2013 is now on SP 5 and it would be good to update to that. Links to updates are here:
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/patch_download/main_public.htm
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Crystal Reports 2008 sql image field stretches in report display

    i have the full version of Crystal reports 2008 i run through a .net web form to display the reports. i have need to display logos which in resize mid stream before saving to the sq table. My problem is when i got to retrieve the images it looks like crystal is stretching them to fit. I can have horizontal or vertical images and i resize them to fit the smallest determined in the report. Another issue is the background turns black. The images appear to be "normal" outside of the report. Am i doing something wrong? Is there a setting i'm missing i need to config or something? I'm kind of lost i assumed as long as i stored the images in teh proper size they would diplay correctly. Any help is greatly appreciated.

    Are you seeing this behavior in the CR designer or in a .NET app?
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

Maybe you are looking for

  • Crashing and poor performance during playback of a large project.

    Hi, I've been a regular user of iMovie for about 3 years and have edited several 50GB+ projects of DV quality footage without too many major issues with lag or 'dropped frames'. I currently have a 80GB project that resides on a 95% full 320GB Firewir

  • How can i easily back-up my iphone 4 contacts to my Windows 7 PC?

    Hi All: I've had my iphone 4 for a while now and upgrading to the new iphone 5 soon. I'm pretty sure that i have all my content backed-up to itunes but not so sure about my contacts. I've looked about on Youtube for how to save contacts to PC's but n

  • Windows built-in IKEv2 clients are not finding a valid machine certificate

    Hi All, I'm trying to connect windows built-in clients to a Cisco IOS IKEv2 headend. I want to use EAP to authenticate the clients with there AD credentials. For EAP, I need to use certificates so I will use self-signed certificates as I don't have a

  • What type of server support and music access on shares?

    1) Does it support 'plain' CIFS/SMB server based shares or can it only access DLNA based servers ? 2) Does it concatenate the content of all configured/detected music shares and present the contents as a whole or do you access music from shares on an

  • Yaourt doesn't work as normal user

    when I run yaourt as myself, i get this message: [caspersb-lnt520u.caspersbox.com:khuntly] : </home/khuntly> $ yaourt -S zoom ==> Downloading zoom PKGBUILD from AUR... x xft_detect.patch x PKGBUILD x Changelog zoom 1.1.5-4 (Thu Oct 23 16:22:45 EDT 20