Crystal report static string parameter is running with null value too...

Hi All,
I am new to crystal report . I am using crystal report XI and in the report I designed contain one static string parameter. If I not enter any value in that parameter field still myu report get run.As per requirement I dnt want to run report unless user enter any value in that field. How to do it? Please help. any comment is valuable.
Thanks

Thanks Json ..
your solution really helps me.Thanks again.
One more issue is here,
I have one subreport . In that  'amount ' field is present which have data type as 'character'  in database. I convert it in numeric by using following fromula,
if NumericText ({Command.AMOUNT})
then                                                     
ToNumber ({Command.AMOUNT})
when I run report in designer, it works but when I run it on crystal report server it throws error ad "Error in File :Error in formula . 'if NumericText ({Command.AMOUNT}) ' This field name is not known. Details: errorKind "
Can u please help me out of it.
Edited by: girish_613 on May 10, 2010 10:25 AM

Similar Messages

  • Crystal Reports 2008 runtime error while running on Windows Server X64

    I have a .NET web application compiled as X86 in Visual Studio 2008 invoking Crystal Reports 2008 SP2 that's running fine at a number of sites running Windows Server 2003 X86.</br>
    </br>
    When deploying this app to Windows Server 2008 X64 I get the error message below. </br>
    </br>
    I'm aware that there is an unanswered question similar to this already in the forum but my application is compiled for X86 and I've tryed installing a variety of run times including "crruntime_12_2_mlb.msi" and "crredist2008_x86.msi".</br>
    </br>
    What combination of compile and run time is needed to get around this issue?</br>
    </br>
    Thanks.</br>
    </br>
    </br>
    ERROR MESSAGE **.</br>
    </br>
    An error has occurred while attempting to load the Crystal Reports run time..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. .</br>
    </br>
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information..</br>
    </br>
    Source Error: .</br>
    </br>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  .</br>
    </br>
    Stack Trace: .</br>
    </br>
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +399.</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +218.</br>
    </br>
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.].</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0.</br>
       ChartsEnterprise.UI.GenReport.CreateReport(String reportname) +42.</br>
       System.EventHandler.Invoke(Object sender, EventArgs e) +0.</br>
       System.Web.UI.Control.OnLoad(EventArgs e) +132.</br>
       System.Web.UI.Control.LoadRecursive() +66.</br>
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean .</br>includeStagesAfterAsyncPoint) +2428.</br>
    Edited by: PSernz on Mar 25, 2010 3:58 AM

    What combination of compile and run time is needed to get around this issue?
    See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki. I think I may not have that wiki updated up to FP2.5, so the FP2.5 msm is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975182010E/cr2008fp25_mm.zip
    msi is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975312010E/cr2008fp25_redist.zip
    Check the version of the CR assemblies referenced in your project. The use the wiki above to deploy the correct runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Hyperlinking results of a crystal report to a parameter in another rpt.

    We have a requirement  to hyperlink the result values of a field in a crystal report to a parameter in another report that returns the details of that value. Example below:
    Rpt 1. Field:                                   Country
    Values:(as hyperlinks)                     USA
                                                         Germany
                                                         France
    So when a user clicks on the hyperlink "USA", report number two containing details for USA opens up like the example below:
    USA,                  Population,          etc...etc....
    North America     350M  
    The user should not be prompted to enter any parameters in the second report as it is expected to be parsed this from clicking on the value in the first report. The values in the first report are in a group section "country".  We are using Crystal 2008 on a BW query.
    Thanks for your help.

    Hi,
    Create a sub report which contains country wise informaiton and insert this report in your group footer.  Now right click on your sub report and go in change sub report links and link your sub reportcountry parameter with your main report country  parameter.
    Now it will pass your opendoc parameter value to your sub report parameter and will display results without entring once again coutnry parameter for your sub report.
    Thanks,
    Sastry.

  • After installing Crystal Reports XI on Windows 2003 server with one error..

    After installing Crystal Reports XI on Windows 2003 server with one error... REGSVR sapldap.dll error.  I had to regsvr it manually.  Crystal still didn't run.  Found out that Crystal Reports XI will not run until you change DEP to protect only windows program and services.  Thanks.

    Thank you for sharing your finding. Very much appreciated.
    The DEP is a known issue and it is documented in [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note.
    Crystal Reports XI was not compiled with the nx flag as it released before Windows XP Service Pack 2 or Windows 2003 Service Pack 1.
    As for the sapldap.dll. I'm not sure where this is coming from. I do not see this dll on my install, however it does come with the SAP portal integration kit. So I'm not sure if that is flying around somewhere on that server(?)
    Ludek

  • Salesforce and Crystal Reports XI Release 2 Full build with Service Pack 2

    Hi
    I need to install 'Crystal Reports XI Release 2 Full build with Service Pack 2' (CR XI R2 SP2) on a new computer but can't find the exe/zip file used previously to do that.
    The reason I need that particular version is because (as I understand it) its the version needed to interface with our Salesforce application.
    I have the CRXI original disks and keycode but as I understand it no manner of patching with SPs will get me to CR XI R2 SP2.
    I've tried various searches and frustratingly come up with only dead links (old BO forums and SAP forums).
    Is there a live link somewhere that I can use, or will a later version do the job?
    For example, alternatively, will I be able to use the CR XI R2 SP4 file instead?
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Thanks for your help.

    Post Author: ejthunder
    CA Forum: Deployment
    Hello,
    Crystal Reports XI and XI R2 are not supported on 64 bit machines.  I have not heard of any plans to change this.  As you've discovered - the only version of Crystal Reports that is supported on a 64 bit machine is CR.NET 2005 (v10.2), the version that ships with VS2005.
    Your options are to downgrade your application to use bundled CR.NET 2005 or to deploy your CR XI R2 .NET application to a 32 bit machine.
    EJ

  • Is it possible to add a string inside a textbox with a value of another textbox for Acrobat Forms?

    Is it possible to add a string inside a textbox with a value of another textbox?
    ex.
    Textbox1 = Happy
    Textbox2 = Sad
    Textbox3 = "I am Happy therefore I am not Sad"
    "I am (value of textbox1) therefore I am not ( value of textbox2)"

    Use this code as the custom calculation code of Textbox3:
    event.value = "I am " + getField("textbox1").value + " therefore I am not " + getField("textbox2").value;
    Notice that the field names are case-sensitive.

  • Crystal Report Formula to select Record  of only MAX Value

    hi Everyone,
    i need a simple crystal report formula to select one department whose recived quantity Maximum.
    for example:
    itemcode    dscription      departmen   op       recived       issue        
      1                   a                ab               2              2              2         
      1                   a                bb              0             2              2          
      1                   a                bc               4             8              2         
      1                   a                cc              2              2              2
    i group by item  the item show just once but i want a formula to show one department who's recived quantity is maximum.i suppress the detail section.and just show the group footer/
    itemcode    dscription      departmen   op       recived       issue        
      1                   a                  bc                 8             14             8 

    Thanks
    Re: Crystal Report Formula to select Record  of only MAX Value
    Abhilash Kumar

  • Need help with NULL values in Crosstables

    Hello everybody,
    I need some help with NULL values and crosstables. My issue is the following:
    I have a query (BW - MDX-Query) that gives me turnover measures for each month. In Crystal Reports I choose crosstable to display this whereby I put all month in columns and all turnover-measures in rows. Each month that has a value (measures are not empty) is chown in the crosstables rows. So far so good. The problem occures when there are month that actually have no values (measures are empty). In that case these months are not chown in columns. But I need CR to display these columns and show the value 0. How can I do that?

    Hi Frank,
    Cross tab shows the data based on your column and these column fields are grouped and based on the group it will show your summaries. 
    If there is no data for any of your group it will not display that group.  In this case you will have to create a standard report which should look like cross tab and to get zero values you need to write formulas .
    Example if you want to display Moth wise sales :
    if Month() = 01 Then
    sum() else 0
    Now this formula will check if your month is Jan, then it will sum up the values else it will display zero value. 
    This is possible only through standard report not with Cross Tab.
    Thanks,
    Sastry

  • JDBC MS Access--- cannot extract entry with null value with data type Meta

    I'm trying to extract a data entry with null value by using JDBC. The database is MS Access.
    The question is how to extract null entry with data type memo? The following code works when the label has data type Text, but it throws sqlException when the data type is memo.
    Any advice will be appreciated! thanks!
    Following are the table description and JDBC code:
    test table has the following attributes:
    Field name Data Type
    name Text
    label Memo
    table contents:
    name label
    me null
    you gates
    Code:
    String query = "SELECT name, label FROM test where name like 'me' ";
    ResultSet rs = stmt.executeQuery(query);
    while (rs.next())
    String name = rs.getString("name");
    rs.getString("val");
    String label = rs.getString("label");
    System.out.println("\t"+name+"\t"+label);
    catch (SQLException ex)
    System.out.println(ex.getSQLState());
    System.out.println(ex.getErrorCode());
    System.out.println("in sqlexception");
    output:
    C:\Temp\SEFormExtractor>java DBTest
    yet SELECT name, label FROM test
    null
    0
    in sqlexception

    The question is how to extract null entry with data type memo?Okay, what you need to do is this:
    if (rs.getString("val") == null)
      // do something
    }This way, when it's a null value, you can check it first, and then handle it how you want, rather than getting an exception.

  • How to create a dimension object in SAP BW Unv with Null value

    Hello,
    for query syncronisation task, I need a dimension object in my BW universe with NULL value. Does someone know, how to do it or if its possible?
    Regards,
    Thilo

    Hi Thilo,
    so the only common item is Material then - correct ?
    Query 1                                                                                Query 2
    Formulation (grouping of materials)                                                  (No counterpart)
    Material                                                                                Material
    dummy key figure (why?)                                                                Company Code
                                                                                    10 Keyfigure
    Is this something you regular have to do ? what about a MultiProvider ?
    did you try "merged dimensions" in the Web Intelligence Report ?
    Ingo

  • JDBC Receiver Adapter with Null Value

    HI,
    I have configured ID for JDBC Receiver. In my communication channel, I already check Integration of Empty String Values = Null Value. However, when I check the result from audit log, it still shows that SAP XI sends the null value to database. In my understanding, it should not send the field which has null value (It shouldn't be included in sql statement).
    I check this with other scenario. With the same check at Integration of Empty String Values = Null Value, it doesn't send null value to database. It happens only with my first scenario.
    Have anyone ever been through this before? Any suggestion please?
    Thanks,
    Pavin

    Hi,
    1. The occurrence is 0...1
    2. This is the first result with null value (Please see field Error)
    UPDATE EXPCRM_T_CustomerProfile SET RequestID=455, RecordNo=1, SAPCustomerCode=0001000344, Error=NULL, Status=2, UpdateDateTime=12/03/2008 13:45:03 WHERE (RequestID=455 AND RecordNo=1)
    Then, I change the option from Null Value to Empty string. This is the result.
    UPDATE EXPCRM_T_CustomerProfile SET RequestID=455, RecordNo=1, SAPCustomerCode=0001000344, Error=', Status=2, UpdateDateTime=12/03/2008 13:46:12 WHERE (RequestID=455 AND RecordNo=1)
    Field Error Change from NULL to '
    The expected result from me is that field Error should not exist at all. Please help.
    Thanks,
    Pavin

  • Sql query slowness due to rank and columns with null values:

        
    Sql query slowness due to rank and columns with null values:
    I have the following table in database with around 10 millions records:
    Declaration:
    create table PropertyOwners (
    [Key] int not null primary key,
    PropertyKey int not null,    
    BoughtDate DateTime,    
    OwnerKey int null,    
    GroupKey int null   
    go
    [Key] is primary key and combination of PropertyKey, BoughtDate, OwnerKey and GroupKey is unique.
    With the following index:
    CREATE NONCLUSTERED INDEX [IX_PropertyOwners] ON [dbo].[PropertyOwners]    
    [PropertyKey] ASC,   
    [BoughtDate] DESC,   
    [OwnerKey] DESC,   
    [GroupKey] DESC   
    go
    Description of the case:
    For single BoughtDate one property can belong to multiple owners or single group, for single record there can either be OwnerKey or GroupKey but not both so one of them will be null for each record. I am trying to retrieve the data from the table using
    following query for the OwnerKey. If there are same property rows for owners and group at the same time than the rows having OwnerKey with be preferred, that is why I am using "OwnerKey desc" in Rank function.
    declare @ownerKey int = 40000   
    select PropertyKey, BoughtDate, OwnerKey, GroupKey   
    from (    
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,       
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]   
    from PropertyOwners   
    ) as result   
    where result.[Rank]=1 and result.[OwnerKey]=@ownerKey
    It is taking 2-3 seconds to get the records which is too slow, similar time it is taking as I try to get the records using the GroupKey. But when I tried to get the records for the PropertyKey with the same query, it is executing in 10 milliseconds.
    May be the slowness is due to as OwnerKey/GroupKey in the table  can be null and sql server in unable to index it. I have also tried to use the Indexed view to pre ranked them but I can't use it in my query as Rank function is not supported in indexed
    view.
    Please note this table is updated once a day and using Sql Server 2008 R2. Any help will be greatly appreciated.

    create table #result (PropertyKey int not null, BoughtDate datetime, OwnerKey int null, GroupKey int null, [Rank] int not null)Create index idx ON #result(OwnerKey ,rnk)
    insert into #result(PropertyKey, BoughtDate, OwnerKey, GroupKey, [Rank])
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]
    from PropertyOwners
    go
    declare @ownerKey int = 1
    select PropertyKey, BoughtDate, OwnerKey, GroupKey
    from #result as result
    where result.[Rank]=1
    and result.[OwnerKey]=@ownerKey
    go
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • bc4juix:StyledText doesn't work with null values?

    Hi , anyone knows why the <bc4juix:StyledText> tag doesn't work with null values?
    For example when datasource does not give back data...
    Thanks
    Guillermo

    Which version of Jdev are you using? What are the results you are getting?

  • Range interval partitioning with null value

    Hello,
    I have question, how can I create table with partition and after that I will insert null value in the partition key like this kind of
    range interval partitioning with null value.
    I have Oracle 11g.
    Thanks
    Mohammed

    user13777053 wrote:
    Thank you, but my question is about range interval not for range?http://docs.oracle.com/cd/E11882_01/server.112/e25523/partition.htm#VLDBG00220
    A MAXVALUE literal can be defined for the highest partition. MAXVALUE represents a virtual infinite value that sorts higher than any other possible value for the partitioning key, *including the NULL value.*
    So since you're trying to partition by interval (which doesn't support a MAXVALUE clause) you're out of luck.
    There's probably fancy hacks and what not you could try to implement, but i'm not about to recommend any of those here :)
    Cheers,

  • To overcome column with null value-urgent

    hai all,
    when i query i get column with null value.
    how to solve it?
    thank in advance.
    rcs
    SQL> DESC SCOTT.CB1;
    Name Null? Type
    ID NUMBER
    SUPCODE NUMBER
    SUPLNAME VARCHAR2(100)
    NAME VARCHAR2(100)
    ITEMCODE VARCHAR2(10)
    RECDOC NUMBER
    RECDATE VARCHAR2(10)
    TOTVALUE NUMBER
    QTY NUMBER
    CB_IPNO NUMBER
    CB_VNNO NUMBER
    CB_VDT VARCHAR2(10)
    CB_AMT NUMBER
    RECDOC_GR VARCHAR2(30)
    RECDATE_GR DATE
    SUPCODE_GR VARCHAR2(10)
    TABLE LOOK LIKE THIS (NOT ALL DATA IN SAME ROW, BECUSE I INSERTED LAST 3 COLUMN VALUES):
    ID     SUPCODE     SUPLNAME     NAME     ITEMCODE     RECDOC     RECDATE     TOTVALUE     QTY     CB_IPNO     CB_VNNO     CB_VDT     CB_AMT     RECDOC_GR     RECDATE_GR     SUPCODE_GR
    2015               AAAA                04117     9083          10545.6     78                                   
    2016               BBBB                    04609     9087          25200     3600                                   
    2017               GGGG                    04609     9088          28175     4025                                   
    2018                                   36591371.64     2565017.27                                   
                                                                     00001/07-08     02/04/2007     14020362
                                                                     00002/07-08     02/04/2007     14020362
                                                                     00003/07-08     02/04/2007     14010254
                                                                     00004/07-08     02/04/2007     14010254
                                                                     00005/07-08     02/04/2007     14021458
    SQL> SELECT DISTINCT ID, SUPCODE_GR, NAME, ITEMCODE, RECDOC, RECDATE_GR, TOTVALUE, QTY FROM SCOTT.CB
    1;
    ID SUPCODE_GR
    NAME
    ITEMCODE RECDOC RECDATE_G TOTVALUE QTY
    1
    PRO.AT.ALU.POWDER UNCOATED
    04609 15 51975 7425
    2
    PEN, GEL PEN
    07969 17 154 11
    ID SUPCODE_GR
    I NEED RESULT AS FOLLOWS (ALL RESPECTIVE DDATA IN ONE LINE NOW NOT LIKE THAT):
    ID     SUPCODE     SUPLNAME     NAME     ITEMCODE     RECDOC     RECDATE     TOTVALUE     QTY     CB_IPNO     CB_VNNO     CB_VDT     CB_AMT     RECDOC_GR     RECDATE_GR     SUPCODE_GR
    2015               AAAA                04117     9083          10545.6     78                         00001/07-08     02/04/2007     14020362                              
    ============

    Even accounting for the formatting, I'm not sure I even understand the question. It could be any number of different problems or non-problems.

Maybe you are looking for

  • Sales Returns

    Dear Experts, In one of the scenarios of Sales Return, customers raises debit memo while returning the goods, so my client makes the payment for that, in the next step if the material can be rectified he does the needed rectification and again delive

  • Why can't I drag a single song to an album in itunes 10.5.2

    I have an album with 12 tracks in it but the Number 1 track some how got left out. Now I'm trying to drag it to the Album in album view but it won't go in.  I also went to get info and told it was a compulation and re-named everything to match and it

  • Playing movie with subtitles and without

    Total newbie at making a film with subtitles and at using DVD Studio Pro The person creating the subtitles did it in FCP and I just opened her project and then laid it on my video. Question is - how can I burn the DVD with the options of English only

  • How can I stop the Bridge from building Thumbnails?

    I can see it's reading files in from the Server to build thumbnails. But I'd like to interrupt that process because it slows things down too much. I search Preferences to no avail :(

  • Mail crashing after install Little Snitch

    My Mail app has started crashing every time I try to do something with it. AFAIK, the only difference in my set up from when Mail worked smoothly is that I just yesterday installed Little Snitch. Crashing began then. I have now uninstalled Little Sni