Crystal Reports- Filter field by specific word(s)

Hello,
I am not sure if this possible. I have a table memo text field called close description for service incidents. I need a report to only display records where the close description contains the words ( replaced, replace ,swap , UPS, Etc). I dont know how to code this in SQL. And if it can be done are the words case specific?
Any assistance would be greatly aprreciated
Thanks all

OK. Change the SQL Expression code to:
SELECT CASE
WHEN CHARINDEX('replaced',"Table"."Database"_Field") > 0
OR CHARINDEX('replace',"Table"."Database"_Field") > 0
OR CHARINDEX('swap',"Table"."Database"_Field") > 0
OR CHARINDEX('UPS',"Table"."Database"_Field") > 0
THEN 1 ELSE 0
END
Then, go to the Record Selection Formula and use the SQL Expression as:
{%SQL_Exp_Name} = 1
-Abhilash

Similar Messages

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

  • Crystal Report Formula field function  on OLAP SAP BI/BW Cube

    Dear All
    We create OLAP Cube Report in  Crystal Report 2008 (BO)  base  SAP ( DB2)  BI/BW  Cube, Grid report coming correctly.  Crystal Report Formula Field  functionalities are not avilabel or suporting.  If any one explain or some kind of documentation available pl.  help me.
    Thanks,   in advance.
    Alfred.M

    Hi,
    you are using the OLAP Grid which will only have limited functionality. You can use the BW MDX Driver and then connect to a BEx query and you will have the complete functionality in CR
    Ingo

  • Crystal report AS ole object into word

    I've been searching the web on using crystal reports as an OLE object inside a word document, but all results have been about using a word document inside a crystal report.
    I am trying to create a quarterly report document for a  business. This document is built using MS word. The document needs to include various tables, charts and the like, which they want to build in crystal reports so that they can be used either as part of the quarterly or as standalone reports.
    I would like to embed these reports into MS Word. Ideally, every three months the reports would be updated with new parameters, the word document would be opened, and the linked OLE reports would display the updated data tables and charts.
    I'm not sure if this is possible. I just attempted to embed a crystal report inside a word 2007 document, but the OLE object only showed up as an object containing the report filename, not the actual report.
    Can crystal act as an ole server for a word document to do what I want it to do, or will I need to programatically export the batch of crystal reports to images in order to have them show up in the word document?

    if you have business objects enterprise & live office, you can use Business Objects Live Office to embed the following from crystal reports into word or excel or powerpoint:
    1) charts
    2) cross tabs
    3) summaries
    4) fields
    to name a few.
    you can also use prompts in the word doc to allow you to change up the above on the fly.

  • How to change crystal report data field at runtime ?

    Hello everyone,
    I have a Crystal Report file ,which i am using to generate report for my windows form project .
    In that report i have a filed called as Quantity which data type is set as decimal, the requirement is like that the number of value those comes after decimal point that should be set according to the value which is given by the user at the run time .
    For eg: If user gives 1 at the run time then the report Qty field value set one value after decimal point. Like 12.1
    if user gives 2 then Qty field the value is 12.22 like tat  but user can give from zero to any number.. and if it is zero it should not show decimal
    Note: The main idea hear is how to change the filed in Crystal Report decimal point value by using code(or we say writing code we need to set manually as user input it will change)
    Can any body help me how to solve this issue .
    S.K Nayak

    I think you could probably make the field you see a formula field and take a parameter as the number of decimal places.
    totext converts a number to a string.
    totext({decimalField}, 2)
    That's 2 decimal places.
    You could probably substitute a {parameter} for that 2.
    If not then you could substitute an entire formula.
    To explore formulas:
    foreach (FormulaFieldDefinition f in rpt.DataDefinition.FormulaFields)
    MessageBox.Show(f.Name);
    // f.Text = your new formula
    Where rpt is an instantiated report.
    Or add another string field which you display in the column and do the calculation with the original decimal.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • Capturing Interactive Report Filter Fields

    I've a requirement where in a user can view data, apply filters to it, and then invoke an Oracle API by passing in the data set currently visible on the report.
    If I can some how capture currently applied filters on an Interactive report, I should be able to recreate the same data on the server side before calling the Oracle API.
    Is there a way to capture these Filter field out of the Interactive report?
    Thanks,
    Shikhar

    Thanks again Jari.
    I compiled Stew's package and setup a call like this:
    DECLARE
       v_variable   VARCHAR2 (5000);
    BEGIN
           v_variable := apex_ir_query.IR_QUERY_WHERE (app_id_in => 125,
                                        page_id_in => 2,
                                        session_id_in => 1058992121588043,
                                        base_report_id_in => 6902307847490674);
       DBMS_OUTPUT.PUT_LINE ('Query: ' || v_variable);
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.PUT_LINE ('Exception :' || SQLERRM);
    END;But this didn't return anything. Did some digging and ran the SQL below:
       SELECT * FROM apex_application_page_ir_cond cond where application_id = 125Which revealed interactive report id values different from the ones returned by $v('apexir_REPORT_ID'); $v('apexir_REPORT_ID') returns 6902307847490674 but in the table its 7.76121620735057E15 (My Apex version is 3.2).
    I'm not going to pursue it further, as I've decided to implement custom filtering functionality using ape_util.ir_query package. Thanks for your valuable help with this issue. Closing the question.
    Edited by: user4368002 on Jul 16, 2010 2:00 PM

  • Random Characters insterted into Crystal Reports string fields

    I'm having a problem where random characters are being inserted into string fields in my crystal reports, I talked to a representative and they are unable to fix the problem, so I'm asking here if someone has a workaround.  The characters are always outside of the normal set of characters, so I'd like to know if there is a way to only allow certain characters in a given field using formulas.  (for example, at a very simple level, i would input a list of "legal characters" and the field in crystal wouldn't display anything but those characters)
    thanks for your time and help

    Sorry, i think I've been a bit imprecise so far
    So these characters ONLY appear when printing the report and not when previewing the report in Crystal Reports?
    They appear when previewing, when actually printing, everything after the characters is cut off
    Are you printing directly from CR or from Enterprise/Infoview or another custom application?
    From CR (both to PDF and paper)
    When did you update your print driver last?
    Not sure, although this may be moot since it also shows up in the preview?
    Have you printed on another printer and does it too exhibit the same behavior?
    Same as above?
    Was the report created by you in CRXI? Are your regional settings set to English (language)?
    Yes I created the report in CRXI, and in terms of the regional settings, I'm not sure but would assume so, how do I check/change this?

  • SAP Crystal reports formula fields

    hi,
        how to use formula fields in crystal report.
                         thanks & regards,vinoth

    Hi Vinoth,
    That's a very vague question.
    You can create formulae via the Field Explorer > Formula option.
    After you save and close the formula editor, you need to drag and drop the formula on the report for it to execute.
    If you need help with a formula, please post the requirement.
    -Abhilash

  • Disable Crystal reports grey fields in the preview

    Dear forum users, I've got an application not written by me (so I do not have source code) that displays a Report in a standard Crystal Report Viewer. In the preview when I click on a field it gets rounded with a grey border, filled with a grey background.
    This is causing me some problems when I use the application via Remote Desktop Connection.
    Since I don't like this feature the question is: can I disable this feature (maybe by changing an entry in the Registry Editor)?
    Best regards
    Alessandro

    Hi Alessandro,
    I think maynot be. whats the screen resolution of your system? If you change it probably you can see that particular grey box clearly.
    or
    try to export that file to excel or pdf. probably you will see the file with you vagueness.
    Regards
    Usama

  • Error while exporting crystal report to excel format or word format

    i am using vs 2010 and sap crystal report(version 13.0.0.99) for vs 2010. when i export report to excel(97-2003 format) from crystalreportviewer, i am getting error that application has stopped working.  I also have ms-office 2007 install on my pc.
    when i see eventlog of system i notice following error:
    Faulting application name: NBFCForms.exe, version: 1.0.0.0, time stamp: 0x4e170b01
    Faulting module name: crxf_xls.dll, version: 13.0.0.99, time stamp: 0x4cc412ac
    Exception code: 0xc0000409
    Fault offset: 0x0009742e
    Faulting process id: 0xc60
    Faulting application start time: 0x01cc3e1e5657a4a4
    Faulting application path: C:\Users\Harshada\Desktop\NBFCDeploy\NBFCForms.exe
    Faulting module path: C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crxf_xls.dll
    Report Id: f0bae850-aa11-11e0-a98e-0019d144259b

    Thanks Roberto and Kalpana.
    This link solved the problem:
    http://social.msdn.microsoft.com/Forums/en-US/bcf792f4-4da3-4dac-b689-60168e695683/error-internet-explorer-cannot-download-edreportviewerwebcontrolaxd-from-site?forum=vsreportcontrols

  • Crystal Reports DataBase Fields

    Hi,
    I'd like to know if is possible to set the query string and the DataBase when you want to open a Crystal Report from SBO.
    Thanks.

    You cannot set the database connection string from the SBO connection information because the password is encrypted.
    But if can grab the password from somewhere else you can do it like this:
        private void SetConnectionInfo(CrystalDecisions.Shared.ConnectionInfo crConnectionInfo, ReportClass report)
          TableLogOnInfo crTableLogOnInfo;
          report.SetDatabaseLogon(conn.UserId, conn.Password, conn.Server, conn.Database);
          crConnectionInfo.ServerName = conn.Server;
          crConnectionInfo.DatabaseName = conn.Database;
          crConnectionInfo.UserID = conn.UserId;
          crConnectionInfo.Password = conn.Password;
          foreach(Table table in report.Database.Tables)
            crTableLogOnInfo = table.LogOnInfo;
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
            table.ApplyLogOnInfo(crTableLogOnInfo);
            string s = table.Location;
            s = crConnectionInfo.DatabaseName + "." /*dbo." */ + table.Location.Substring(table.Location.LastIndexOf(".") + 1) ;
            table.Location = crConnectionInfo.DatabaseName + "." /*dbo."*/ + table.Location.Substring(table.Location.LastIndexOf(".") + 1) ;
    Hope this helps,
    Jurgen

  • Crystal Report: Show Field only in Print-Preview

    Dear Experts,
    is it possible to show a field only in the print preview (when the report is generated) without printing this field?
    Thanks for Help.
    Jacqueline

    No, it is not possible to display a report object on screen then suppress it when printing.
    Fuskie
    Who thinks you would have to use 2 reports or use a parameter that offers the option of formatting for view versus for print...

  • Crystal Reports in other languages ...

    Hi
    I'm new to crystal reporting my question is can crystal reports (v10 to be specific) present data in other languages like for example Arabic even though your data source is English language? More like translate this data to that language, Is it just a matter of choosing the font when designing or its more complicated than that?
    Thanks

    New since CR 9 is unicode support: http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=http--supportbusinessobjectscom-communityCS-TechnicalPapersNoNav-cr9whatsnewpdfasp&sliceId=&dialogID=24286720&stateId=1 0 24288668
    "Unicode support means that the program code level in Crystal Reports is able to recognize language
    characters that are based on Unicode.
    Unicode is used to display double-byte characters such as the Chinese and Japanese character sets.
    This enables you to create Crystal Reports that can display right-to-left languages and multiple
    languages in a single report."
    So if your data is in unicode Crystal will be able to properly display the various languages.
    If you wanted one single report to be viewed in different languages, then static strings in the report would need to be converted into formula fields which changes the text into the appropriate language based on a language parameter.  Some strings could not be handled in this manner though such as custom prompting strings.

  • Purchase Order Crystal Report Layout Error

    The stock Crystal Report Layout for Purchase Orders is giving me the following error:
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    Error in File POR20002 {b89f97ad-bf1f-447b-8bb4-b3d2e5219269}
    {3C375C81-7D37-475D-9BCB-1703CE533B65}.rpt
    Error in formula N_Decimal_Places:
    '// To get the length of decimals
    A subscript must be between 1 and the size of the array.
    Details: errorKind
    I looked in the Crystal Reports Formula fields and could not find N_Decimal_Places.
    Has any one else had the problem with the PO layout that comes with Business One?  If so, how did you fix it?

    Couldn't find how to copy the PO layout over using copy express.
    I did compare the RDOC fields for POR20002 in both databases and they are Identical. 
    In Crystal Reports, I did a formula search for N_Decimal_Places and it found nothing.  Then I did a search for 'length' in all formulas and it finds length in N_Decimal_Places.  When I double click on N_Decimal_Places it clears the screen and never shows the formula. This happens in both layouts for my test database and SBODemoUS.
    Again, SBODemoUS works correctly and AAA_TEST give the error.

  • Crystal Reports Visual Studio 2010 SP2 Fixed issues

    Hi All,
    Here is the list with fixed issues in Crystal Reports Visual Studio 2010 SP2
    http://www.crystaladvice.com/crystalreports/crystal-reports-2010-sp2
    The following list with issues is fixed:
    1566763 - CRVS2010 WPF Viewer error; "System.NullReferenceException was unhandled" PageControl.OnMouseMove
    1540637 - Error: External component has thrown an exception. Launching the Database Expert in the embedded Crystal Reports designer in Visual Studio
    1544675 - Error; 'Object reference not set to an instance of an object' when using the CR WPF viewer in VS2010
    1578823 - CRVS2010; "Load Report Failed" error when Report is open in any full version of the CR Designer
    1638191 - Using RTL language (Arabic) the CR viewer Group Tree Panel does not display RTL
    1631283 - Error; 'Failed to load database information' when reporting off of file system data
    1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    1299185 - Error: Operation not yet implemented or Failed to Export, when exporting a Crystal Reports to Text format
    1451960 - Null or empty values are not surrounded with delimiter when exported to CSV format
    1659185 - The special Crystal Reports field, 'File Name and Path' shows temp path and temp name when viewing a report
    1452648 - Dynamic Cascading Parameter prompts two times when using the Crystal Reports in VS .NET
    1580338 - When refreshing a report that contains a linked subreport report takes long time to execute
    1659111 - GCHandle left in memory for each open and close of a Crystal Report in VS2010 application
    1356672 - Crystal Reports special field "File Path and Name" displays incorrect information in a Visual Studio .NET application
    1593658 - Impersonation of database Log On credentials failure in report generation when set at runtime in a .NET application
    1661239 - Summary fields are converted to String fields
    1661276 - Using the Crystal Reports SetTableLocation method in VS .NET causes long report processing delays
    1661200 - Not able to copy text from report objects using the Crystal Reports WinForm viewer for VS .NET
    1631722 - Date function in a Selection Formula is removed when running a report in a VS .NET application
    1525822 - Exception "Object reference not set to an instance of an object." thrown when clicking on Parameter Panel button in Crystal Report .NET Windows Form Viewer
    1603082 - Cross-tab background colors not retained when exporting a report to PDF format
    1603154 - Shared variable display the incorrect value in Crystal Reports
    1427747 - Why does a CR .NET SDK web app have problems running on IIS 7 in integrated pipeline mode?
    1545536 - Alignment set to Justify causes broken underline
    Source: Resolved Issues in Service Pack 2 for Crystal Reports for Visual Studio 2010
    With kind regards,
    Pieter Jong
    Crystal Advice
    http://www.crystaladvice.com

    Many thanks for the link Pieter.
    I recently created a wiki that lists all of the fixes, their tracking numbers, associated Kbase numbers, Kbase titles and links to the kbases:
    http://wiki.sdn.sap.com/wiki/x/tgK3Dw
    It's 90% complete. I think I have a few Kbases to do to complete it.
    Now that I think about it, I'll also add the link to the [sticky thread|SP 2 for Crystal Reports for Visual Studio 2010 released!; re. SP2 release.
    - Ludek

Maybe you are looking for

  • How to delete when file in use by the finder?

    I have two files in my trash which won't delete. I get the error that they are being used by another program. Holding down option, using secure empty trash, using the terminal method of deleting the trash.. none of them work. So I did the terminal co

  • Ship-to-party and bill-to-party

    Hi Forum Colleagues I have a situation where in i need to assign same customer as bill-to-party and ship-to-party. As per my understanding, bill to party has payment terms and Acct Assgmt Grp where as ship-to-party contains taxes (taxable and exempt)

  • Add 1 day to the Month of February on leap year

    I know how to calculate leap year. The calculation is working great. However, I need to add a day to the month of February if a leap year is selected. Do you have any pointers on this? Thanks!

  • Question about callbacks

    I'm trying to design a small program that involves TCP socket reads and writes. In the help for the ConnectToTCPServer() function, there's a note about the callbackFunction: The callback function should be short and should return as soon as possible.

  • Split Screen Macbook Pro and Cable TV

    Is it possible to split screen my hdtv to mirror my macbook pro on one side and my cable tv on another using Apple TV? I read on one thread that it's possible to mirror my macbook pro split screen with netflix, but I'm not sure if this functionality