Crystal Rpt XI - Select Expert record limits

Newbie here - please be gentle
There appears to be @ a 500 record limit that can be used in the formula editor. Is there a way to work around this limit or is it greater in later versions?
Example;
{Mrpa99.Pat_Ext_ID} in ["0001400126", "0001401652", "0001402718", "0001402742",......... , "0001665341"]
would return 'TOO MANY RECORDS' if I had all my desired record sets (@ 700), but if I removed half it would work fine.
If there is no way to get all values in a single report is there a way to merge the results into a single report.
Thanks in advance,
Cj

First try to push down this filter to DB level if possible, this will improve your report performance.
Try creating 2 or more formulas that contain those long string separately.
and write below codes in your select expert: {Mrpa99.Pat_Ext_ID} in formula1 or in formula2 or in ...formulaN.
Thx, Hao

Similar Messages

  • Select Expert - Record

    I'm trying to limit the values presented in the Select Expert - Record tab based upon it's relationship to a selected value from another field.
    We have several hospitals.  Each hospital has several floors or unit/wards usually identified as 6 East, 2 West, 4 North, etc.  Not all of the hospitals have the same named unit/wards.
    I select use select expert - table_name.Facility_Name = "Hospital A" when I select table_name.Unit_Name I only want those units/wards from the "Hospital_A" to be displayed in the list and not all of the units/wards that are listed in the table.  This way I do not have to wade through all of the unit/wards that a facility does not have.  The report is for unit/ward.
    Thanks
    Michael

    Hi Michael,
    If you are using Crystal XI or newer version then try creating a cascading prompt to get filtered with parent level field value.
    For more information check the sample report prompting.rpt that shows the cascading prompt of Country>Region>city
    Regards,
    Raghavendra

  • Select Expert Record. Last 6 months and week start date on Monday

    Hello,
    i am trying to use the select expert record to grab the last 6 months worth of data. I require the week start day to be a monday and end on a sunday.
    Can someone please provide some advice the best way to do this
    kind regards
    david

    Hello Abhilash,
    Once again thanks for your reply.
    Yes this is correct, when it goes back 6 months i need it to skip the days prior and begin on a monday as we are reporting on a mon-sunday basis.
    I have tried your formula Date field >= dateadd('m',-6,currentdate) and it seems to grab 6 months of data, but the group weeks are not grouping from Monday to Sunday...
    kind regards
    david
    Edited by: davitali on Dec 2, 2011 9:35 AM

  • New Formulas don't show under Select Expert --Record

    Hello,
           Some how my CR 2008 don't show new formulas in my report when I go in Select Expert-Record, all the formulas show under Field Explorer?? the odd part is that old formulas still showing only new ones don't show is a setup that I'm missing????

    The old formulas most likely have the evaluation time function WhileReadingRecords or BeforeReadingRecords referenced in them.
    Try adding WhileReadingRecords to your new formulas (If CR can process those formulas at that time) and you should be able to see them in the Record Select Expert.

  • Crystal Parameter With Select Expert

    Using Crystal XI WITH SQL 2005, I need to create an option to select items which have a value >0 in IV00101.USCATVLS_2. If value is blank I do not want the items in the report.  The field is renamed 'DISC' and the values in the field represent discounted prices.  Any help would be great.  Thanks, Jayne

    Hi Jayne,
    Create a formula like @value
    Numbervar x:
    x:=IV00101.USCATVLS_2; and use this formula under Record selection like
    Disc > @value
    If this is not the answer, please explain us what exactly is the report having and where the field is renamed.
    Thanks,
    Sastry

  • Crystal 2008 problem with Record Select Expert

    I had a Crystal 10 report that worked fine where the Record Select Expert had a database table ID equal to a parameter... it was only supposed to report on 1 record.  After using Crystal 2008 on the same report it completely ignores this Select Record Expert setting.  I have tried deleting and re-adding the parameter.  It acts like there is no record select setting.
    Here is the formula that it shows me it is using:    {Components.ID} = {?@ID}
    If I go to the application opening the same record on a different machine using the old crystal, it works fine.
    This used to only show me the 1 record, now it shows me the report on every record in the table.  I tried upgrading the report to a 2008 report and it still does the same thing.  The report filter no longer works.   Do I need to do something different to select only 1 record in 2008 ?
    After installing Crystal 2008 on my computer none of my reports work correctly anymore - all of them are ignoring my Record Select ...they worked fine before I installed 2008.  The reports are older reports... they worked fine when I had Crystal XI R2 installed.  This all started after installing Crystal 2008
    Thanks,
    Jeff
    Edited by: Jeff Dressing on Aug 27, 2008 12:06 PM

    Hello, Jeff;
    I noticed the Record Selection Formula uses a Stored Procedure parameter:
    {Components.ID} = {?@ID}
    A parameter created in the report (not by a stored procedure) would be:
    {Components.ID} = {?ID}
    A report based on a Stored Procedure does not need a Selection formula for the Stored Procedure parameter. Connecting to the Stored Procedure automatically creates the parameter in the report and the value is passed automatically when the report is run.
    Does the report work in the Crystal Reports 2008 designer?
    Open the report in the designer. Go to Database Set Datasource location. Are the properties of the database at runtime still the same as what is saved in the report.
    If the database is different at runtime, just as a test, change to the new database in a copy of your original report. Do a Database|Verify Database. Does it come back the "Database is uptodate" or are there changes?
    Elaine

  • Crystal Report - Title from Select Expert.

    Hi Experts !
    I need some help here. Recently I have build a new crystal on the production analysis. Part of the select expert for record is between posting date A and posting date B.
    Below is the code I uesd for the select expert whereby Posting Date 1 is a parameter with range that I have defined.
    {ODLN.DocDate} = {?Posting Date1}
    I am interested to have this 2 date from the parameter to appear on my report. For example :
    Date: A date till B date.
    I have tried picking up this data from the parameter, but failed to get what I want. Anyone have syntax for this ??
    Best Regards,
    Alex

    Hi Gordon,
    Yeah, I know the syntax to do this. The real problem lies as I have stated on my first post - I want the date that I have entered on the parameter during the filtering process, to appear on the report itself. I have tried it before, but all that appears is only True value, not date.
    So If, I am about to use two parameter date instead of parameter range with selection expert, will I be able to pull the two parameter date into the report, so that I can print it out with the date on the report itself. It's important for the report to have date because not everyone knows the report is from when to when.
    Best Regards,
    Alex

  • Select Expert issue or limitation

    I am trying to create a report using select expert in crystal report. However, I am finding that when I use 'is equal to',  drop down besides it does not show all the data values in the list. It shows list of some data. Anyone have any idea what could be a reason. Is there any limitation in Crystal report select expert drop down?
    Thanks
    Syed

    The following SAP Note might help you
    [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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313331333933303332%7D.do]
    Regards,
    Raghavendra.G

  • Last Hour Records in Select Expert

    I am using Crystal Reports version 10 and want create a formula which will select records created in the last hour.
    Is this possible?
    Within the select expert, you have existing formulas/date ranges such as LastFullWeek/LastFullMonth/Last7Days but I need a formula which will select LastFullHour.
    The field I am using is {Interaction.Time_Created} which contains records in the HH:MM format.
    Thanks in advance

    This will give you the last 60 minutes from the second the report was run:
    {table.datetimefield} in dateadd("h",-1,currentdatetime) to currentdatetime
    And if you wanted the last completed hour, then use this:
    in dateadd("h",-1,dateadd("n",-minute(currentdatetime),dateadd("s",-second(currentdatetime),currentdatetime))) to_
    dateadd("n",-minute(currentdatetime),dateadd("s",-second(currentdatetime),currentdatetime))
    The underscore is there by design

  • *help*  Select Expert (filters) in crystal

    problem with crystal....
    i need help in the following situation.   when i go to create a report i go to select expert,  then click on category and select say copper fittings.  boom i get a list of all my copper fittings.  my design sheet is set up so that it shows the item number, description, quantity on hand, and quantity sold.  now when i go to select expert again and choose say date transfer of an item...put in my dates( 1/1/2009-1/3/2009)... boom the list refreshes and this list is now shorter than my original list and it shows me the items that have transfered during that period of time as well as the quantity...  well my question is what happened to all the other items that were in the list before???  i understand that they are no longer there because they did not transfer during that period of time, so it doesnt show them... well i still want those items to show up with the rest that did transfer... so that way i can see what transferred and what dint all in one list... i keep trying different things but keep running into the same problem... does anyone know of a solution for this???
    thanks...appreciate any help

    thank you very much for your advice,
    unfortunately my problem has not really been resolved.
    when i did as you said..  in crystal, all i wanted was my copper list... but when i put the "or" in, it included all the other pieces in my inventory not "just"  my copper.
    heres what i had before:
    {VIEWITEMMOVEMENT.DATETRANSFERRED} in Date (2009, 01, 01) to Date (2009, 06, 11) and
    {Category.Name} = "COPPER FITTINGS"
    now if i were to take out the: {VIEWITEMMOVEMENT.DATETRANSFERRED} in Date (2009, 01, 01) to Date (2009, 06, 11) and
    then all i get are my copper fittings and that ends up being like say 10 pages long... but then i put in my the date transferred... to view the items that moved and see how much of each was sold during that time.  the list then gets smaller to about 5 pages and shows me the items that moved and the quantities that were sold but at the same time i still want it to show the other items that did not move on the same list... i dont want them to be taken out...like its doing it now.
    hope this explains my situation a lil better... i appreciate your help, thanks

  • Crystal Reports XI:  Using Wilcards with the Select Expert

    I have a field with 10 numbers.  There are several of them that start with three numbers and end in all zeros.  I want to make sure these are not in my report.  I have been successfully able to do this using the select expert, but it requires a lot of manual entry:
    {@Phone Number} <> "4090000000" and
    {@Phone Number} <> "2810000000" and
    {@Phone Number} <> "8320000000" and
    {@Phone Number} <> "5120000000" and
    {@Phone Number} <> "9999999999" and
    {@Phone Number} <> "9760000000" and
    {@Phone Number} <> "9360000000" and
    {@Phone Number} <> "6010000000" and
    {@Phone Number} <> "8150000000" and
    {@Phone Number} <> "7130000000"
    I need to find a way to do this without having to enter each code by itself.  I tried using a wilcard, but it appears that I am not using it correctly.
    {@Phone Number} <> "***0000000"
    Please help.  Thanks!

    Nevermind   Just needed a simple: 
    not ({@Phone Number} like "*0000000")

  • Using Select Expert Inserts Blank Section

    I'm using Crystal Reports XI Developer Edition and it recently started to display some strange behavior. Every time I use the Select Expert to add a parameter, Crystal adds in an empty ghost section. I refer to it as a ghost section because you can see it in preview mode as an unlabeled, blank section between the report footer and the page footer, but when I go into design view it's not there. How can I make this section not appear?

    Hello Mary,
    I can't explain why it would do that but here are some things to try;
    1) Ensure you are patched up with the latest service pack, SP4
    2) Try lowering the screen resolution
    3) Try lowering the hardware acceleration
    4) If you are using dual monitors only use Crystal Reports on the primary
    5) Have someone else try logging onto your machine and see if they receove the same behaviour
    Some questions if the above does not resolve the issue;
    1) Is this happening on other machines?
    2) What Operating System is CR installed on
    3) Could you please detail the exact workflowif the following statement is incorrect > go into the Select Expert, select a field to filter on, select a parameter from the drop down list of values.
    4) What happens if you manually create the record selection formula where field = parameter?
    5) Does this happen with any field type or is limited to a specific type?

  • Number fields in select expert

    I am currently using Crystal 2008 and I am having issues with numeric values entered in the select expert.
    The record selection criteria that I have entered is
    {HSP_BKT.BKT_ID} in [94633, 94920]
    however, crystal defaults/converts to these numbers with 8 decimal places (.000001)
    {HSP_BKT.BKT_ID} in [94633.00000001, 94920.00000001]
    94633 and 94920 are valid numeric values with data but because crystal is converting it to 94633.000001, I am not getting any records back.
    Any help is very much appreciated.

    You didn't mention the data type of the field.  If it is integer, then one way to work around this might be to define an integer array, put your values in that, and use it in place of the constants.  (Crystal really shouldn't be converting the constants to a decimal in this case, so you might wanna let SAP know about it...)  If it is a floating point type, then you may need to use CInt() to convert the field to integer.
    HTH,
    Carl

  • Best way to select a record to display in the report

    Hi,
    I am helping a customer get a report (V11) working in the Visual Studio 2008 viewer.
    The report, where they have linked all the tables from the database,  has a paramater called 'jobNo'.
    The record select expert then uses the param to select the required job. ({uv_JobDetails.JobNumText} = {?JobNo})
    My question is how do I from my ASP.net (VB.net code) set this parameter, and then refresh the report to show the correct data matching the parameter jobNo.
    Thanks

    Hi,
    Try with this:  
    ReportDocument boreportdocument = new ReportDocument();
    boreportdocument.Load(Server.MapPath("Decreteparam.rpt"));
    string recordselection = "{Customer.Country} = " + "{?My Parameter}";
    boreportdocument.RecordSelectionFormula = recordselection;
    CrystalReportViewer1.ReportSource = boreportdocument;
    or //Set parameter value like this
    boreportdocument.SetParameterValue("My Parameter", "USA");
    For Range Parameter:
    boreportdocument.Load(Server.MapPath("RangeParam.rpt"));
    CrystalReportViewer1.ReportSource = boreportdocument;
    boparamfields = CrystalReportViewer1.ParameterFieldInfo;
    //setting the start and end values
    boparamField = boparamfields["SalesRange"];
    boparamValues = boparamField.CurrentValues;
    boparamrangevalue.EndValue = "300";
    boparamrangevalue.LowerBoundType = RangeBoundType.BoundInclusive;
    boparamrangevalue.StartValue = "27";
    boparamrangevalue.UpperBoundType = RangeBoundType.BoundInclusive;
    //Adding Range values to parameter field
    boparamValues.Add(boparamrangevalue);
    You can get sample codes from [here|https://boc.sdn.sap.com/codesamples]
    Have a look to our [Dev Library|https://www.sdn.sap.com/irj/boc/sdklibrary ]
    Regards,
    Shweta

  • Select Expert data field

    Post Author: ckaesche
    CA Forum: Older Products
    I am using Crystal 8.5. I'm running a query to find database entry errors in a particular field, i.e. "country", &#91;such as 'britin'&#93; and then correcting the database record.
    Even though the data has been removed from the database, the value listed in the drop down within crystal reports is retained and not reflecting the actual values of the field in the database.  Any suggestions?
    Thanks for any help,  ckaesche

    Post Author: pandabear
    CA Forum: Older Products
    Ok,
        Sorry, when I heard "drop down" I immediately saw "parameter" so "Action" is the wrong direction for you.  
        You don't need the "Select Expert" to see a field.  You can just drag the field on to the report.
        If you know all the valid country names, you can do this:
        Make a formula:  @GoodCountry  -  If UpperCase(table.emp_ad_country) IN ("USA","ENGLAND" etc) Then "" Else table.emp_ad_country
    That way you'll get a complete list of all the countries that are not 'IN' the list (of properly spelled countries).  After the changes,
    you should see the new values when you run (F5) the report again.
    If it doesn't show the changes, you need to check that the database.table.field you are looking at is the same one you are changing.
    Sounds basic, but it's certainly happened (many times) before    
    Hope this helps,
    The Panda

Maybe you are looking for