Field width in Crystal Reports 10 Standard Edition

I have a text field in an Access table of 50 chars. When I place that field on a report the default width in design view is less than 50, showing a given number of "X"s. I widen the field beyond the "X"s but still the full content of the field is not displayed in preview mode. For instance I have loaded the field with 50 chars and the 50 chars are not displayed in preview. Is there a way to tell Crystal Reports to default the width of the field in design view to the length of the field in Access? I am a former DOS programmer, where we would specify in the code the width of the display in a form or report. I have always been bothered by the GUI interface because the design interface does not default to the field width and therefore data can be hidden. Professionally, I missed the switch from the DOS interface to the GUI interface. This issue with field layout has always troubled me.  Also in the Dummies book (and in CR Help) there is a statement to the effect that CR 10 "automatically adjusts the fields displayed to match the field sizes you chose, and spaces them out proportionally". I see no indication of this. Thanks.

Just to clarify, if I widen the field quite a bit, way beyond the "X"s I do eventually see the 50 chars in preview mode. But for some reason CR puts down 40 "X"s for a field of length 50. And then I have to just play around with the width until I can see the 50 chars on the report. Am I doing something wrong or is there a setting that needs to be adjusted? I guess I am hoping to see the number of "X"s be equal to the length of the text string.
I did learn about "can grow". When I connect to Excel CR puts down 40 "X"s and I have to fudge with the width until I see the full 50 chars.
With the GUI interface is the developer thinking more in terms of inches vs. number of characters? Like I said I am a dinosaur and I struggle with detail.

Similar Messages

  • How to get the coloumns (fields) width in crystal report

    hi,
    how to get the coloumns width, date(get and set) and page size in crystal report using ras sdk .
    thanks

    Thanks

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Hiding a data field in SAP Crystal Reports 2011

    Hello,
    I am new to SAP Crystal Reports 2011 (Crystal Reports).
    Does any one know how to hide a Special Field in a Crystal Report?
    Specifically, I am trying to hide the Special Field, 'Record Number'  from displaying on my report.
    I need the Special Field, 'Record Number' to know how many records was printed on my report
    in order to limit the amount of records printed while I am testing this new report.
    Thanks for the help!
    Tony

    Hi Tony,
    Yes to hide specific field, follow abhilash suggestion..
    1. Limit the number of records displayed on your report like that:
    section expert -> particular your report section -> click on suppress -> write below formula
    RecordNumber > Limited number of records count..
    2. limit the number of records  per page on your report follow below link:
    How to limit the no of records per page in crystal reports 2008
    Thanks,
    DJ

  • How to use the distinct key in formula field in SAP Crystal Reports

    I want to use the distinct key in formula field in SAP Crystal reports.
    When i'm using it shows an error.
    Please suggest me....

    Hi,
    Use DistinctCount keyword directly for your calculation instead of count(distinct(....
    Alternatively, if you want to avoid duplicate records, under "File" > "Report Options" make the 'Select Distinct Records' as True.
    Thanks,
    Raghavendra

  • Hiding the Selected field in the Crystal reports 2011

    Hi Experts,
              I am new to the Crystal reports. How to hide the Selected Field in the Crystal report 2011.
    Thanks,
    Kavya.C

    Hi Kavya,
    You can right click on the field, go to Format Field -> Common Tab. Select/Check the option "Suppress". Or if you want to hide/ Suppress the entire section in a Crystal Report, for e.g. Detail section, right click on Details Section and select Section expert. You can select Hide/Supress accordinly.
    That should hide the filed/Section when you run the report.
    - Kuldeep

  • Crystal Reports XI Developer Edition - Invalid Key

    Hi All,
    I have downloaded Crystal Reports XI Developer Edition trial from Business Objects site and received the key for the same by email.
    Key Code: CP80U-F1YV0X7-0006VH1-AP81
    When i input the same key during installation, i receive an error message saying the key is invalid. I tried again by re-registering and got the same key from Business Objects.
    Has any one faced this problem?  Please help me in getting the right key.
    regards,
    Pruthvi R

    Hi Pruthvi,
    Try this:
    For a new key:
    Request key codes for new orders via SAP Marketplace (SMP), will receive a download letter on new purchases providing them with their SMP login credentials. Using these credentials you can login and click in the "Keys & Requests" tab > Request a License key.
    If your Key code does not work
    You need create a customer message https://websmp107.sap-ag.de/message using component XX-SER-LIKEY-BOJ.
    Regards,
    Shweta

  • Field width in ALV report

    Hi,
    How to increase the field width of a field in ALV report.
    I mean, in a ALV report, the field description of a field is not showing correctly. IF i try to extend the field width by the mouse/coursor, it displays the correct description.
    IS there any way where for displaying the  field description correctly?
    Thanks,
    Kumar

    Hi,
    Go through the sample code,
    *& Report ZDEMO_ALVLIST *
    *& Example of a simple ALV List Report *
    *& The basic requirement for this demo is to display a number of *
    *& fields from the EKKO table. *
    REPORT zdemo_alvlist .
    TABLES: ekko.
    type-pools: slis. "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekpo-ebeln,
    ebelp TYPE ekpo-ebelp,
    statu TYPE ekpo-statu,
    aedat TYPE ekpo-aedat,
    matnr TYPE ekpo-matnr,
    menge TYPE ekpo-menge,
    meins TYPE ekpo-meins,
    netpr TYPE ekpo-netpr,
    peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
    wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
    gd_tab_group type slis_t_sp_group_alv,
    gd_layout type slis_layout_alv,
    gd_repid like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *& Form BUILD_FIELDCATALOG
    Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    There are a number of ways to create a fieldcat.
    For the purpose of this example i will build the fieldcatalog manualy
    by populating the internal table fields individually and then
    appending the rows. This method can be the most time consuming but can
    also allow you more control of the final product.
    Beware though, you need to ensure that all fields required are
    populated. When using some of functionality available via ALV, such as
    total. You may need to provide more information than if you were
    simply displaying the result
    I.e. Field type may be required in-order for
    the 'TOTAL' function to work.
    fieldcatalog-fieldname = 'EBELN'.
    fieldcatalog-seltext_m = 'Purchase Order'.
    fieldcatalog-col_pos = 0.
    fieldcatalog-outputlen = 10.
    fieldcatalog-emphasize = 'X'.
    fieldcatalog-key = 'X'.
    fieldcatalog-do_sum = 'X'.
    fieldcatalog-no_zero = 'X'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'EBELP'.
    fieldcatalog-seltext_m = 'PO Item'.
    fieldcatalog-col_pos = 1.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'STATU'.
    fieldcatalog-seltext_m = 'Status'.
    fieldcatalog-col_pos = 2.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'AEDAT'.
    fieldcatalog-seltext_m = 'Item change date'.
    fieldcatalog-col_pos = 3.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MATNR'.
    fieldcatalog-seltext_m = 'Material Number'.
    fieldcatalog-col_pos = 4.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MENGE'.
    fieldcatalog-seltext_m = 'PO quantity'.
    fieldcatalog-col_pos = 5.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'MEINS'.
    fieldcatalog-seltext_m = 'Order Unit'.
    fieldcatalog-col_pos = 6.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'NETPR'.
    fieldcatalog-seltext_m = 'Net Price'.
    fieldcatalog-col_pos = 7.
    fieldcatalog-outputlen = 15.
    fieldcatalog-datatype = 'CURR'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'PEINH'.
    fieldcatalog-seltext_m = 'Price Unit'.
    fieldcatalog-col_pos = 8.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    endform. " BUILD_FIELDCATALOG
    *& Form BUILD_LAYOUT
    Build layout for ALV grid report
    form build_layout.
    gd_layout-no_input = 'X'.
    gd_layout-colwidth_optimize = 'X'.
    gd_layout-totals_text = 'Totals'(201).
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'.
    endform. " BUILD_LAYOUT
    *& Form DISPLAY_ALV_REPORT
    Display report using ALV grid
    form display_alv_report.
    gd_repid = sy-repid.
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_callback_program = gd_repid
    i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
    i_callback_user_command = 'USER_COMMAND'
    i_grid_title = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    it_special_groups = gd_tabgroup
    IT_EVENTS = GT_XEVENTS
    i_save = 'X'
    is_variant = z_template
    tables
    t_outtab = it_ekko
    exceptions
    program_error = 1
    others = 2.
    if sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform. " DISPLAY_ALV_REPORT
    *& Form DATA_RETRIEVAL
    Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
    from ekpo
    into table it_ekko.
    endform. " DATA_RETRIEVAL
    Form TOP-OF-PAGE *
    ALV Report Header *
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
    wa_header type slis_listheader,
    t_line like wa_header-info,
    ld_lines type i,
    ld_linesc(10) type c.
    Title
    wa_header-typ = 'H'.
    wa_header-info = 'EKKO Table Report'.
    append wa_header to t_header.
    clear wa_header.
    Date
    wa_header-typ = 'S'.
    wa_header-key = 'Date: '.
    CONCATENATE sy-datum+6(2) '.'
    sy-datum+4(2) '.'
    sy-datum(4) INTO wa_header-info. "todays date
    append wa_header to t_header.
    clear: wa_header.
    Total No. of Records Selected
    describe table it_ekko lines ld_lines.
    ld_linesc = ld_lines.
    concatenate 'Total No. of Records Selected: ' ld_linesc
    into t_line separated by space.
    wa_header-typ = 'A'.
    wa_header-info = t_line.
    append wa_header to t_header.
    clear: wa_header, t_line.
    call function 'REUSE_ALV_COMMENTARY_WRITE'
    exporting
    it_list_commentary = t_header.
    i_logo = 'Z_LOGO'.
    endform.
    Regards,
    Raj.

  • Adding a field to a crystal report in sap b1

    All I am trying to do is to add the field for credit limited to the standard item invoice in SAP 8.8,
    I have added the BP table OCRD and draged the creditline field to the layout, but when you view all the fields are empty.
    I obviously need to link somthing - I have excepted the links that are automatically completed by SAP.
    Can anyone point me in the right direction.
    Thanks
    Jo

    do a test report with just the table BP and see if the data is there.  
    If you see the data in the test report, than add the table you originally tried to link to. remove all the links that crystal has created and link it manually from the new table to the table BP. and run again. Once you get the link right, go back to your original report and fix the link.
    Autolinking in Crystal is not reliable  in fields linked and in the direction of the link.

  • Programmatically create objects and formulas in Crystal Reports XI Developer edition?

    <p>Is it possible to programatically/dynamically create a text, line, formula field object, etc. in Crystal XI Developer edition?  I have been programming with the Crystal .Net reports component that came with VS 2005 for the past 6 months and know for a fact you can&#39;t programmatically create those objects although you can programmatically control their properties.  My intention is to create a dynamic report that can be reused extensively.  My current work-around for this was to create a generic report with about 40 formula field objects which draws data from 40 corresponding formula fields that I can programmatically set it&#39;s formula thus imitating a report field.  I want to update to the developer edition because I heard with this edition we can programmatically create and manipulate these objects but I found no reference or examples anywhere that proves we can do this?  Does anyone know for a fact or point me to the right place to look for documentation?  TIA</p>

    Hi,
    How can I programmatically refresh list of values status on CR server XI R2?
    Currently, after I modified the data source in the data connection, some of the LOVs in the report prompt window became empty when I tried to generate the report. I have to use Business View Manager to log onto the Crystal reports server XI R2, find and double click the list of values object to bring up the Edit LOV window, and then click on "Refresh Status" button to make the LOV available in the report prompt window.
    What SDK should I use to create a simple application (preferable a desktop application) to find all LOV objects on CR server XI R2 and to refresh their status? That is an application similar to the "Refresh Status" function in Business View Manager.
    I found Report Engine SDK has the Lov.Refresh function to refresh LOV. On the other hand, Report Engine SDK seems to be for BusinessObjects Enterprise, not for Crystal Reports Server. Can this or other function achieve what I want, i.e. to refresh list of values status on CR server XI R2? If yes, can I use it to develop a self-contained desktop application instead of a web application? I only need to run this application after I modify the data source in the data connection, so I prefer not need to deploy it as a web service.
    Thanks for your help.
    C.T.

  • Field Explorer in Crystal Reports does not show the same names as Bex Query

    Hi
    I have crystal reports, I can retrieve data from BW Bex Query. But in the field explorer it does not show the names as in the Bex query designer.
    In the Bex query designer a field will have the following technical name 0Debitor and the description is Customer.
    It shows in crystal reports in the field explorer twice as D[0DEBITOR]D and D[0DEBITOR]D. It also does not seperate key figures and characteristics.
    I would like it to display the field explorer as shown in this blog.
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    Thanks in advance

    Hi,
    take a look here:
    /people/ingo.hilgefort/blog/2008/02/19/businessobjects-and-sap-part-2
    make sure you are using the MDX Driver and what happens is that you will see several fields per characteristic. example: one for the key, one for the description, several if modelled for the display attributes
    Ingo

  • Refer to a Form Field in a Crystal Report

    Hello!
    For a customer I need to set up a Layout in Crystal Reports for Asset History Sheet in Fixes Assets.
    Depending on the Depreceation Area (IFRS, HGB) the (printed) report contains different data, I need to filter the data in the Asset History Form that is shown on the screen in different ways.
    I have to make sure that no HGB report can be printed with IFRS numbers (and vice versa).
    The information about the Depreceation Area is written in a field in the Asset History Form on the screen, it is not stored in any table.
    Is it possible to check the content of this field in my Report?
    Thanks and best regards
    Peter Ganserer

    Hi Peter,
    If the Form Field is a direct field from table, you can add the field from table. However, if it is a calculated field, you may not have option to put it into Crystal Report.
    Thanks,
    Gordon

  • Get the parameter fields defined in crystal report

    I am porting my application from crystal 8.5 written in C++ to crystal 2008 in .net.
    Here I am not making use of crystal report viewer neither I am creating .rpt in .net code.
    I have a set of already created .rpt files.
    I have written a function in .net to export the crystal report.
    Its a generic function and will be called for multiple crystal reports.
    I am passing the parameter values to the report by making use of the following function :
         ReportDocument repDoc;
         repDoc.SetParameterValue(APPTYPE, strNextToken[0]);
         repDoc.SetParameterValue(COMPORROLETYPE, strNextToken[1]);
    Similarly I are setting other parameter values.
    The problem here is that, all the reports do not have parameter fields defined that I am trying to set.
    They may be present for one report and absent for another. In this case , if the report does not have a particular parameter
    field, then it gives error on setting parameters and subsequently fails.
    Now I want to find out through code what all parameter fields are defined in the report. Then I will only set those
    parameter fields?
    Please guide how can this be done.
    Thanks
    Sonam

    Not as trivial as you might think. You will have to loop through all the sections of the report looking for the objects you need. I don't have a code specific to parameters, but looping through al the sections would be something like the code below. But... this will only show you parameters in a section. It will not show you parameters used in a formula, record selection formula, group selection formula, text field or a conditional formula. In order to get those parameters, you's have to parse out each of those objects looking for parameters. And this is probably not an exhaustive list of places to look for a parameter in the report.  I get a headache just thinking about this...
    Dim crSections As Sections
    Dim crSection As Section
    Dim crSubreportObject As SubreportObject
    'set the crSections object to the current report's sections
    crSections = crReportDocument.ReportDefinition.Sections
    'loop through all the sections to find all the report objects
    For Each crSection In crSections
    crReportObjects = crSection.ReportObjects
    'loop through all the report objects to find all the subreports
    For Each crReportObject In crReportObjects
    If crReportObject.Kind = ReportObjectKind.SubreportObject Then
    'you will need to typecast the reportobject to a subreport
    'object once you find it (***you'd go to setting the parameter here - or not...)
    crSubreportObject = CType(crReportObject, SubreportObject)
    'open the subreport object
    crSubreportDocument = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
    'set the database and tables objects to work with the subreport
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Opening HyperLinked Files contained in a database field Automatically alongwith Crystal Report

    Hi
    I am using Crystal Report 2008. We have a database table which has Bill of Material for all the parts, the table also has additional field which contains LINK to PDF File (i.e. c:\PDFFiles\XPart.PDF) which is containing Part specifications. Now i am able to create a Hyperlink from this field and user is able to click on the field to open the file.
    Is there a way, that all the associated linked files open automatically whenever a user previews this report.Any help would be highly appreciated.
    Thanks
    Shekhar    

    You can achieve the desired behavior by adding a UFL (User unction library) that includes a function for triggering and passing parameters ot a different process.
    At least one of the 3rd-party UFLs listed at Crystal Reports viewer comparison, Crystal Reports scheduler comparison and other utilities ( viewer and scheduler compa… provides such a function.
    You would then be able to add Crystal formulas that result in opening linked documents as a byproduct of previewing the report.

Maybe you are looking for

  • Constant crash in /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r

    I have a 2010 unibody Mac Mini.  It came stock with a 320GB HDD and i have upgraded it to 8GB of Apple approved Kingston RAM. The machine worked just fine under Mac OS 10.6.8, could be up for days and days and be perfectly stable. Since upgrading to

  • LEGACY TO IDOC

    •     Legacy to SAP interface: Developed the Interface in XI where in (Legacy) is sending invoice data to SAP. Using File/idoc adapters Here, the actual content of the invoice data is in the text format for which I have to send it to SAP system so I

  • Zoom/shrink controls

    Gentlefolk; I have some very large screenshots (1600 pixels by 900 pixels) that I am using in a training application. As the movie plays, I want the option of being able to have the entire screen within a browser window (shrink to around 1000 pixels

  • How to take a still Jpeg from FCP sequence?

    Hi, a client wants a still Jpeg from my timeline to use in the local newspaper. How do I get a good still image out of the Final Cut Pro timeline? Thanks Kevin

  • Personalize Page: How to add an item to Responsibility level

    It seems not possible to add an item to a page on responsibility level through page personalization. Therefore, I went Site level and it allows me to add an item.  I was thinking I may hide (rendered=false) this item on site level and then personaliz