How to supress/Minimise space if no data is given  in a crystal report

Dear members,
I have designed a report through crystal report and in that,i have a field namely remarks in group section.
during the generation of report if there is no remarks given there is a empty space shown in that place. which i need to avoid. please can anyone help me in this regard as how to minimize the space if no data is given to the field of remarks.
Thanks to all,
Venkatesh.R

Hi Venkatesh.R,
Right click on the section you want to supress and check on the box labelled Suppress blank section.
I highly suggest you search Crystal Reports Help before posting questions like this. Simply press the F1 key and the help menu will appear.
Thank you
Don

Similar Messages

  • How to get data from function module in crystal report

    Hi,
    I installed Crystal Reports 2008 and BO SAP Integration kit for CR.
    I connected successfully to SAP system from CR but unable to get the data into Report ...
    But data is present in function module.
    Could you please tell me what may be the reason ...!!
    Thanks
    Raghavendra

    Hi,
    I connected successfully to SAP system from CR but unable to get the data into Report with all the Input parameters and data is present in function module.
    Note: - If we take Start date as input parameter in Crystal report data is coming for single parameter, whereas we take input parameters like Partner function, Region and Customer - we are not getting data. (These fields we created parameters in Crystal report)
    In Function Module IMPORT Parameters are below mentioned and Export parameter is Blank
                                                                                    Start Date (Mandatory field)
                                                                                    Partner Function (Mandatory)
                                                                                    Region
                                                                                    Customer
    Please let us know if required any information.
    Regards,
    Raghavendra

  • How to handle the OK button of the parameters prompt of a crystal report

    Hi,
    how to handle the OK button of the parameters prompt of a crystal report in vba.NET?
    I want to use the parameter prompt from the crystal report itself and I want to know when the report is ready. I need to export programatically by sending email to a list of employees after the parameters has been set. The emails I send depends on the results of the report.
    Im using a CrystalReportViewer control  in VS2010 and Crystal Report for VS2010 v13.0.1.220.

    Right. But the parameter screen is driven by the viewer. Unless you create your own parameter screen and pass the parameters to the report via code.
    Another thing I am not sure about:
    "Then by code I want to read all the employees id from the report and send email to them with specified pages of the report. (1 page per employee)"
    How do you plan on reading the employee ID from the report? I am not aware of any API that will read a value in a report so that you can then decide what page to send to whom.
    I think you're approaching this kinda backwards. A question to ask is; can you do what you are trying to do in code in the CR designer? If not, using APIs will not work either. I suspect your approach should be a report that uses an employee filter. Run the report for employee x, get the report populated with the data for that employee and email it. Repeat for employee x1, employee x2, etc.
    - Ludek

  • How to display an "All Day Event" date correctly in an integrated SSRS Report?

    I have two event items in a calendar list in SharePoint 2010. Both items have the same start time and end time. One of them, however, has the "All Day Event" checkbox checked. If I access them through a REST service, this is how the data is
    returned:
    <!-- item 1 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:55:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">false</d:AllDayEvent>
    <!-- item 2 -->
    <d:StartTime m:type="Edm.DateTime">2014-03-21T00:00:00</d:StartTime>
    <d:EndTime m:type="Edm.DateTime">2014-03-25T23:59:00</d:EndTime>
    <d:AllDayEvent m:type="Edm.Boolean">true</d:AllDayEvent>
    I have a report in the same SharePoint 2010 site that uses SSRS in integrated mode. The data source is the calendar list mentioned above.  The date fields are not formatted, just displayed as them come from the list/database.
    My locale is set to en-US. When I run the report, the start date for item 1 is displayed as "3/21/2014" ('all day' set to false) but the start date for item 2 is displayed as "3/20/2014" which is incorrect ('all day' set to true).
    I did some research online and found out that SharePoint stores all date fields as UTC except for 'All Day Events', which are stored in local time (our servers are in Central Time, but I'm running the report fom Pacific Time, in the US).
    I coudn't find a solution to display the date correctly in the integrated SSRS report. Is there a way, maybe some straightforward formatting, to show All Day Event dates correctly? I tried adding hours but this is inconsistent with daylight saving hour changes.
    I would appreciate any help.
    C#, Sharepoint

    Hi SharpBud,
    The date for all day event stored in SQL in GMT time, the start time for an all day event returns the start time in GMT time, which is not the current time most likely.
    This is a confirmed issue, as a workaround, I would suggest you to use a calculate column for the event for the column, using the following format:
    IF(TEXT(([End Time]-[Start Time])-TRUNC(([End Time]-[Start Time]),0),"0.000000000")="0.999305556",IF([Start Time]=ROUND([Start Time],0),[Start Time],DATE(YEAR([Start Time]),MONTH([Start
    Time]),DAY([Start Time])+1)),[Start Time])
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Need help adding data to Preview Tab of Crystal Report

    Hi!  I'm hoping someone can help me with an issue I'm having with a crystal report I use daily.  I work in accounting and the crystal report i use pulls data for a ton of different general ledger accounts on our system.  However, somehow the crystal report only shows a handful of accounts in the 'preview tab' of my report, which happen to be the accounts I reconcile.  I need to add a few accounts to my report, but no one seems to know how to add new accounts to show up on my preview tab.  I'm thinking there must be some sort of filter in the crystal, version 9.0 or 11.0.  The filter must have been put in place to either only include certain accounts or excluse certain accounts.  Help!  Thanks for your time.

    hi Jeff,
    first we need to determine if you have a full version of crystal reports designer (i.e. crw32.exe) or if you're using a version which is embedded into an accounting application.
    if you're using the latter then you need to contact the company that manufactures the accounting software.
    if you do have a full version of crystal reports then you can go to the Report menu > Selection Formulas > Record and check to see how the record filter is determined. my guess though is that you're using an embedded version.
    -jamie

  • Failed to retrieve data from the database using Crystal Reports XI R2

    I am using Crystal reports XI R2 and using the Universal Web Connector (connecting to Coghead).  When I put some some of the fields from the database and run Preview I get "Failed to retrieve data from the database." .   Where is this message coming from and how can I track down what the issue is?

    Hi Jamie,
    When you are trying to Browse Data of a field it is not poping up any window menas, it is unable to interact with database and get the data from database.
    Try to create a new report using ODBC with Xtreem Sample Database.  If you get the data in your report without any error then your connector is not working / unable to pull the data into your report.
    You can find the supported platforms document in below link
    http://support.businessobjects.com/documentation/supported_platforms/xi_release2/default.asp
    Thanks,
    Sastry

  • Can ODBC configuration data be stored in a Crystal Report?

    Post Author: Gary W
    CA Forum: Crystal Reports
    We've been running some SQL statements in Access pulling data from a server/database.  I decided to see if I could do the same thing in a Crystal Report with the intention of scheduling the report to run in our scheduler.  I set up the ODBC on my workstation.  I connected to it for my new report and used Add Command to enter the SQL statements.  I added the command to my report and it ran fine.  However, whenever I open the report to run it again I have to enter the password (which was initially entered when I set up the ODBC) to get it to run.  I'm guessing this has something to do with the security on the server and, that said, I'm not going to be able to change it.  Is there any way I can store the ODBC connection data including the user id and password in my report so it's there when needed?  I can do this in Access, but can't figure out how to do it in Crystal Reports.
    I use Crystal Reports XI.
    In Access the line I use is:
    ODBC;Description=Employee Badge system;DRIVER=SQL Server;SERVER=pmc-rfd-ap19;UID=userID;PWD=password;DATABASE=OF_SiteData
    where userID and password are replaced with the actual values.
    Thank you.

    Post Author: V361
    CA Forum: Crystal Reports
    When you setup the connection in ODBC, Select the "Enter connection string and add the following   (Substitute your connection information of course)
    DSN=RPTPROD;Server=RPTPROD;User ID=USER;PWD=USERPASS
    This should work.

  • Data missing while running a crystal report from SAP B1 2007A

    Dear All,
    I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
    Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.

    Dear All,
    I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
    using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
    Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
    facing issues in running it. Rest of the reports are running fine.
    I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
    Client machines, but the problem is not resolved yet.
    Server Machine Details
    Version : SAP B1 2007A Server SP01 PL08
    OS: Windows Server 2008 R2 (64-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Client Machine Details
    Workstation 1
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows Vista Enterprise (32-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Workstation 2
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows XP
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio

  • How to dynamically load a Base64 string to an image on the Crystal Report?

    I have a signature stored in my SQL Server 2008 DB as a Base64 encoded string. It is in a datatype of nvarchar(MAX), field named ="signature_stream"
    I am using Crystal Reports Basic for Visual Studio 2008.a XML field definition file to load the data to the report.  In that file [signature_stream] is a xs:string type.  This is a asp.net application so ideally I would like not to have to save the image to disk before showing it.
    I need to be able to take [signature_stream] and load it onto my report from server side code. 
    Any help would greatly be appreciated.

    Hi Jimmy,
    CR is a 32 bit app so it won't be able to handle an image in x64 format unless you find a way to convert it to x86 type.
    The MS SQL client may be able to do this for you though. Install the SQL Native 10 client from the MS SQL Tools menu options and then convert/update the report and DSN to use the SQLNCLI10.dll as the client dll.
    See if you can add that field to the report, if that works then you can add any image to the report and set the image formula to that database field using the Formula field:
    click the X-2 button for graphic location and select the field with the image in it.
    Now preview, if the Client converts 64 to 32 bit then this should work for you, if not then only option is as Dell pointed out and save the image to the HD in BMP or JPG format and then you can use the same Graphic Location formula to point to the folder and file location.
    To update it in code it would look like this in the KBase article:
    2021348 - Modifying a Picture object in .NET ignores Object.Height and Object.Width when setting Condition Formula Can Grow is enabled
    Symptom
    When modifying an existing picture object and using a formula to update the image file location and name using the .Modify() method the image is not sizing accordingly.
    Environment
    Crystal Reports for Visual Studio
    VS 2010
    VS 2012
    VS 2013
    Resolution
    You can do this all dynamically and creatively as you wish but the basics to updating the image is as follows:
    CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject boPictureObject = new CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject(); ;
    string strNewImageFilename = "D:\\Atest\\DSC_2655.jpg";
    foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject oReportObject in objects)
        if (oReportObject.Kind == CrystalDecisions.ReportAppServer.ReportDefModel.CrReportObjectKindEnum.crReportObjectKindPicture)
            var oPlaceholderPicture = oReportObject as CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject;
            if (oPlaceholderPicture != null)
                    // clone the original object so it can be modified
                    var oNewPicture = (CrystalDecisions.ReportAppServer.ReportDefModel.PictureObject)oPlaceholderPicture.Clone(true);
                    var cf = new CrystalDecisions.ReportAppServer.ReportDefModel.ConditionFormula();
                    PicFileLocationFormula.Text = "\"" + strNewImageFilename + "\"";
                    oNewPicture.Format.EnableCanGrow = false;
                    oNewPicture.GraphicLocationFormula = PicFileLocationFormula;
                    oNewPicture.Width = 4320;  // 3 inches
                    oNewPicture.Height = 1440;  // 1 inch
                    rptClientDoc.ReportDefController.ReportObjectController.Modify( oPlaceholderPicture, oNewPicture );
                    // Call the Modify again to update the CanGrow flag to false - default is set to True
                    oNewPicture.Format.EnableCanGrow = false;
                    rptClientDoc.ReportDefController.ReportObjectController.Modify(oPlaceholderPicture, oNewPicture);
    This issue has been tracked with ADAPT01727457 and scheduled for SP 11 ( possibly SP 10 )
    In the mean time use the above work around
    Don

  • "Date / Date Time" type parameters in crystal reports 2008

    i am using parameters in crystal report to select records. one of the parameters is "From Date" of type Date Time.
    i mapped this parameter to a field "DateIn" of type smalldatetime in my sql table.
    Now, when i open the report it asks for "From Date" but b y default it sets the time to current time so i have to change it to 00:00:00 manually. i want it to show 00:00:00 by default. which means i don't want time here.
    For this if i select the datatype of parameter "From Date" as Date only then i am not able to map it to the "DateIn" field of the sql table.
    Please help me out of this.
    Edited by: rohit0825 on Jun 2, 2010 2:25 PM

    >
    Deepravs wrote:
    > Hi Rohit,
    >
    > Change the Parameter to Date Datatype and use this formula in the "Record Selection Formula " (Report Tab -> Selection Formulas -> Record)
    >
    > = CDateTime ({?From Date})
    >
    > Though the parameter is date datatype it converts to datetime datatype amd maps to the desired column.
    >
    >
    > Thanks,
    Great !!!
    this is working.
    i found another way, i changed the datatype of parameter to Date and click ok and everything was good, it doesn't require any conversion to date time.
    Thank You so much. All Points You.
    Edited by: rohit0825 on Jun 3, 2010 10:47 AM

  • Question - Best practice data source for Vs2008 and Crystal Reports 2008

    I have posted a question here
    CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL)
    but think that perhaps I need general community advise on best practice with data sources.
    In Crystal reports I can choose the data source location from any number of connection types, eg ado.net(xml), com, oledb, odbc.
    Now in regard to the post, the reports have all been created in Crxi 6.3, upgraded to Crystal XI and now Im using the latest and greatest. I wrote the Crystal Reports 6.3/ XI reports back in the day to do the following: The Reports use a function from COM Object which returns an ADO recordset which is then consumed fine.
    So I don't want to rewrite all these reports, of which there are many.
    I would like to know if any developers are actually using .NET Class libraries to return ADO.NET datasets via the method call or if you are connecting directly to XML data via whatever source ( disk, web service, http request etc).
    I have not been able to eliminate the problem listed in the post mentioned above, which is that the Crystal Report is calling the .NET class library method twice before displaying the data. I have confirmed this by debugging the class lib.
    So any guidance or tips is appreciated.
    Thanks

    This is already being discuss in one of your other threads. Let's close this one out and concentrate on the one I've already replied to.
    Thanks

  • Data not  shown in my Crystal report

    Hi,
    I have created a price list using crystal reports. My database is an excel spreadsheet. Everything works excep that some codes do not show up for some reason? I have a colum that is Manyfacturer number, and certain codes that are on in my database are not reflected in my CR report?
    Can anyone help me?
    Thanks
    Vince

    Hi Vince,   Check to make sure the data is in Excel, also, if you have any joins at all, make sure they are the correct type.
    check to make sure your select statement is not filtering something,  I can give you a better answer, with a few more details.
    Say, the line the data is missing on, is the whole line missing? is it part of the detail section or a group? if you sort this
    data in excel, is there any missing data anywhere on the excel spreadsheet?   any way, for a better answer, we will need more details.

  • How to supress the header if there is no detail record in the report

    Hi,
    I am trying to create a report using the TEXT_IO utility in oracle forms. The header part is created in one program unit and detail part is created in another program unit. How can I supress the header if there is no detail part? I came to know that I can use HOST command . How can I use this? Can any one help me in resolving this?
    My report should apppear in the format specified below.
    case number : 1
    Name Address1 Address2 State ZIp
    XXXXX XXXXXXX XXXXXXXx XXXXX XXXxx
    case number: 2
    Name Address1 Address2 State Zip
    YYYYY YYYYYY YYYYYYY YYYYY YYYY
    Edited by: 837462 on Feb 16, 2011 6:12 PM

    Hi
    i think it's a better idea to paste ur code here...
    but logically... i supposed u have 2 function header_function & detail_function e.g. both functions returns either 1 or 0 if there is data then it returns and the contrary if returns 0
    In the calling these functions i e.g. WHEN-BUTTON-PRESSED u need to validate as follow
    DECLARE
    v_header_output  varchar(2);
    v_detail_output  varchar(2);
    BEGIN
    v_header_output :=  header_function ( PARAMETERS ... , ,);
    v_detail_output :=  header_function ( PARAMETERS ... , ,);
    IF  v_detail_output = 0 THEN
    v_header_output := 0;   -- or u can do some works that change the return of the   header_function  to null or 0
    END IF;
    END;Hope it works...
    Regards,
    Abdetu...

  • How to make Start Date as optional parameter in Crystal reports 2011

    Hi All,
    I have existing Start Date and End Date parameter how to make them as optional parameters.
    Thanks for your help in advance!!.

    Hi Mnnica,
    There is an option 'Optional Prompt' under value options, make that as true.  Do the same for both startdate and enddate then go in Record Selection Formula and write below formula :
    If Not (hasvalue({?Startdate}) then True else {?Startdate} >= {databasedatefield}
    and
    If Not (hasvalue({?Enddate}) then True else {?Enddate} <= {databasedatefield}
    Check below screen capture for Optional Prompt options :
    -Sastry

  • How to get data from MS CRM into Crystal Reports

    Hello All,
    Can anybody tell me how to get data into   crystal XI reports with MS CRM.
    Thanks in Advance
    Ramesh

    First you should refer to the Rules of Engagement and then add more info.
    Start off by telling us what version of CR are you using and what is MS CRM?
    Thank you
    Don

Maybe you are looking for

  • Excel, PDF, or worpad file loading in oracle

    Dear community members; I am using 10g Database and 10g Forms. Please guide me that; I want to upload from Excel, PDF and wordpad Data in oracle through form. How I can do this. A user just browse (select) file and that file's data load in a praticul

  • IPhoto '11 sits on 'Pending' when uploading to Facebook

    Aside from my many grumbles over iPhoto '11, which I won't bore you with as everyone else has done that plenty already, my biggest gripe with iPhoto is an issue that some people seem to have but nobody has said what/if it is resolved and that is uplo

  • Invoice Amount Change

    Dear All,           Is it possible to change the Invoice Amount after making the Commercial Invoice and Excise Invoice. Thanks Saro

  • How to save content of JPanel into jpeg or png file

    I have to independent classes: Class A and Class B. Each class constructs its own graphical objects: Class A { //do something public void paintComponent(Graphics g) int x = 0; int y = 0; int w = getSize().width; int h = getSize().height; bi = new Buf

  • Can't Install Recovery Media To New Hard drive

    To begin with, I know very little about computers as you will soon see. I have a TOSHIBA SATELLITE L650-ST3NX1 which started giving me a message from both Toshiba and Windows that I needed to back up my data because of a possible hard drive failure.