Not all records shown for selection - CR 2008

I have a crystal report that has dynamic record selection. The selections are set to allow multiple, allow discreet, allow ranges.
When I run the report I am not shown all records on the file to choose from.
The file has approx 6000 records. Does anyone know of any limitations? The file I am writnig report for is from Item Master in SAP.  Thanks.

There is a registry entry that limits the number of records shown in a list of values (LOV).  The default value is 1000.  The registry key is Crystal reports version specific.  You should be able to find the key by searching the forum for LOV 1000 or similar...
HTH,
Carl
Moderators:  This question comes up once a week, it seems.  Maybe we should "pin" the answer to the top of the forum board?

Similar Messages

  • How to read some records from a text file into java(not all records)

    hello,
    how to read text files into java. i need only few records from the text file not all records at a time.
    If any one knows plz reply me
    my id is [email protected]

    this snipet reads a text file line by line from line 1 to 3
    try {
                  FileReader fr = new FileReader(directory);
                  BufferedReader br = new BufferedReader(fr);
                  int counter = 0;
                  while ((dbconn = br.readLine()) != null) {
                      switch(counter){
                          case 0:
                            status = dbconn;
                          break;
                          case 1:
                            userName = dbconn;
                          break;
                          case 2:
                            apword = dbconn;
                          break;
                      counter++;
                  br.close();
        }catch(IOException e){
        }

  • Help Solving: Does not contain a definition for 'Select'.....

    Hi,
    Need help solving a Task that returns a Task<IEnumerable<Writing>> so I can fill ObservableCollection<ViewModels.IWritingItemViewModel> Writings for my
    Design Time Data Page:
    <d:Page.DataContext>
    <designTimeData:MainPageViewModel />
    </d:Page.DataContext>
    My constructor does this:
    public MainPageViewModel()
    var writings = this.GetGroupsAsync();
    this.Writings = new ObservableCollection<ViewModels.IWritingItemViewModel>();
    var viewmodels = writings.Select((x, i) => new WritingItemViewModel
    Writing = x,
    VariableItemSize = (i == 0) ? Common.VariableItemSizes.Writings : Common.VariableItemSizes.Normal,
    My var writings = this.GetGroupsAsync(); is:
    public async Task<IEnumerable<Writing>> GetGroupsAsync()
    await this.GetMenuDataAsync();
    return this.Groups;
    which in turn gets data from:
    private async Task GetMenuDataAsync()
    Uri dataUri = new Uri("ms-appx:///DesignTimeData/MenuData.json");
    StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(dataUri);
    string jsonText = await FileIO.ReadTextAsync(file);
    JsonObject jsonObject = JsonObject.Parse(jsonText);
    JsonArray jsonArray = jsonObject["Groups"].GetArray();
    foreach (JsonValue groupValue in jsonArray)
    JsonObject groupObject = groupValue.GetObject();
    Writing group = new Writing(
    groupObject["UniqueId"].GetString(),
    groupObject["IsHeaderInteractive"].GetBoolean(),
    groupObject["ViewType"].GetString(),
    groupObject["ModelType"].GetString(),
    groupObject["Page"].GetString(),
    groupObject["Title"].GetString(),
    groupObject["Subtitle"].GetString(),
    groupObject["ImagePath"].GetString(),
    groupObject["Description"].GetString(),
    groupObject["GroupId"].GetString()
    foreach (JsonValue itemValue in groupObject["WritingMenus"].GetArray())
    JsonObject itemObject = itemValue.GetObject();
    group.WritingMenus.Add(new WritingMenu(
    itemObject["UniqueId"].GetString(),
    itemObject["Page"].GetString(),
    itemObject["Title"].GetString(),
    itemObject["Subtitle"].GetString(),
    itemObject["ImagePath"].GetString(),
    itemObject["Description"].GetString(),
    itemObject["Content"].GetString(),
    itemObject["WritingsId"].GetString(),
    itemObject["GroupId"].GetString(),
    Convert.ToInt32(itemObject["Item"].ValueType)
    this.Groups.Add(group);
    and I get this Error:
    Error 5 'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
    does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type
    'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
    could be found (are you missing a using directive or an assembly reference?)
    I'm creating collections of:
    public interface IWritingItemViewModel : Common.IVariableSizedItem
    Models.Writing Writing { get; set; }
    and my class for creating data is:
    public class Writing
    public Writing(
    string uniqueId,
    bool isHeaderInteractive,
    string templateType,
    string viewModelType,
    string page,
    string title,
    string subtitle,
    string imagePath,
    string description,
    string groupId
    this.UniqueId = uniqueId;
    this.IsHeaderInteractive = isHeaderInteractive;
    this.TemplateType = templateType;
    this.ViewModelType = viewModelType;
    this.Page = page;
    this.Title = title;
    this.Subtitle = subtitle;
    this.ImagePath = imagePath;
    this.Description = description;
    this.GroupId = groupId;
    this.WritingMenus = new ObservableCollection<WritingMenu>();
    public string UniqueId { get; private set; }
    public bool IsHeaderInteractive { get; private set; }
    public string TemplateType { get; private set; }
    public string ViewModelType { get; private set; }
    public string Page { get; private set; }
    public string Title { get; private set; }
    public string Subtitle { get; private set; }
    public string ImagePath { get; private set; }
    public string Description { get; private set; }
    public string GroupId { get; private set; }
    public virtual ObservableCollection<WritingMenu> WritingMenus { get; private set; }
    How can I solve or successfully complete this code?
    Thanks!...
    Code is like a box of chocolates!...

    I looked into your error message again, I found something interesting:
    Error 5
    'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
      does not contain a definition
    for 'Select'
    and no extension method
    'Select' accepting a first argument of type
      'System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<App1.DesignTimeData.Writing>>'
      could be found (are you missing a
    using directive or an assembly reference?)
    That means: Task does not contain the definition for Select. This was reasonable, Task does not inherit IEnumerable interface.
    var viewmodels = writings.Select((x, i) => new WritingItemViewModel
    Writing = x,
    VariableItemSize = (i == 0) ? Common.VariableItemSizes.Writings : Common.VariableItemSizes.Normal,
    public async Task<IEnumerable<Writing>> GetGroupsAsync()
    You need get the IEnumerable<Writing> for Select use. See this for more information:
    How to: Return a Value from a Task
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • C# compiling error: 'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?)

    Hello experts,
    I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
            string tempFileName = fileName;
            int count = 1;
            while (allFiles.Contains(tempFileName ))
                tempFileName = String.Format("{0} ({1})", fileName, count++); 
            output = Path.Combine(folderPath, tempFileName );
            string fullPath=output + ".xml";
    However, it gives the following compilation errors
    for the Select and Contain methods respectively.:
    'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
    (are you missing a using directive or an assembly reference?)
    'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
    found (are you missing a using directive or an assembly reference?)
    I googled on these errors, and people suggested to add using System.Linq;
    I did, but the errors persist. 
    Any help and information is greatly appreciated.
    P. S. Here are the using clauses I have:
    using System;
    using System.Data;
    using System.Windows.Forms;
    using System.IO;
    using System.Collections.Generic;
    using System.Text;
    using System.Linq;

    Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    namespace consAppFileManipulation
    class Program
    static void Main(string[] args)
    string fullPath = @"c:\temp\trace.log";
    string folderPath = @"c:\temp\";
    string fileName = "trace.log";
    string output = "";
    string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
    string extension = Path.GetExtension(fullPath);
    string path = Path.GetDirectoryName(fullPath);
    string newFullPath = fullPath;
    string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
    string tempFileName = fileName;
    int count = 1;
    //THIS IS AN INFINITE LOOP
    while (allFiles.Contains(fileNameOnly))
    tempFileName = String.Format("{0} ({1})", fileName, count++);
    //THIS CODE IS NEVER REACHED
    output = Path.Combine(folderPath, tempFileName);
    fullPath = output + ".xml";
    //string fullPath = output + ".xml";
    UML, then code

  • Import not all records

    Hi, all!
    We use BPC MS 7.5 sp 06.
    We try import txt file. But not all records loaded.
    We checked tmp file that generated during Import and saw that all files that we try to import exceeds max 1,265 KB, and last record in this file not the same as in source file.
    And at all not all records imported in application and there isn't errors during Import.
    Does anybode know how to change this limit?
    Best regards,
    Iaroslav

    Hi,
    Once again, the number of records might not be similar in BPC and file. The reason behind this is the records might get aggregated while importing. Hence, you should consider this while comparing the data.
    Let me give an example to explain this scenario.
    Lets say below are the records in your file:
    ACCOUNT    ENTITY    CATEGORY    VENDOR    AMOUNT
    ACC1       ABC       ACTUAL      1234      1000
    ACC1       ABC       ACTUAL      5678      2000
    One you import the data, if your application doesnt have VENDOR dimension, then the 2 records will get aggregated and will be displayed as:
    ACCOUNT    ENTITY    CATEGORY    AMOUNT
    ACC1       ABC       ACTUAL       3000
    So, you see, the source file has 2 records. However, the application has only 1 record. So, the record count doesnt match. You wont even get any rejected count, because both the records from the file have been imported successfully. Its just that the records have been aggregated.
    Please note that the above example is just to show you how the records will get aggregated.
    Hope this helps.

  • HT4236 Not all photo albums i select are syncing. Anyone have an idea why?

    Not all the albums I select are syncing.  I go to Device > photos >select "selected albums" then choose the albums i want on my ipod touch then hit apply. when its "done" syncing I check my photos in the ipod and only two albums show up out of the 9 i've selected. And theres this stubborn album that won't go away. anyone know what the problem is? And its NOT a software update issue, ive updated it several times.

    Error 1009 means you are attempting to download from the AppStore in a
    country other than the one you are located in or from an AppStore other
    than the one you have an account in. That error can also mean that you
    are in a country that is blocked.
    If your government has blocked AppStore, Apple must comply. Get your government
    to remove the restriction. This is not a decision by Apple, but by your government.

  • Attribute Change Run aborted with an error :Not all data indexed for index

    Hi,
    I have an issue where the master data Attribute Change Run  aborted with an error pointing to the BWA:
    Attribute Change Run aborted with an error :Not all data indexed for index
    we tried to load only 0 data into it,the error still occured.

    Detail message is following:
    not all data was indexed for index 'GBP_BIC:XYCH_098('0' for '114')
    creation of The BIA INDEX for infocube 'YBC_SD015' terminated while filling

  • Display all records from 4 select list

    Hi,
    trying to associate 4 select list where i could display all records from a list linked to an other list.
    1./ Created an item for each select list
    P1_employee_name
    P1_departments
    P1_employee_type
    P1_locations
    2./Set both null and default values to '-1' for each item
    3./Associated these items to source columns in the Region:
    where employee_name=:P1_employee_name
    or :P1_employee_name ='-1'
    and departments=:P1_departments
    or :P1_departments ='-1'
    and ......
    When running the report, couldn't display all records from a given list associated to an other list.
    e.g: Display all emp and type of emp for sales dept in Paris.
    Thks for your help

    I believe the issue is that you need to group your predicates such as:
    where (employee_name=:P1_employee_name
    or :P1_employee_name ='-1')
    and
    (departments=:P1_departments
    or :P1_departments ='-1')
    Also, if you are not already using the "select list with submit" type items, these work great for this case as the page will be submitted when the user changes the value of employeenam and the report will then reflect this change.

  • Urgent: Not all records extracted to ODS

    Hi,
    Not all of the records I am trying to load get updated to ODS. Ex:
    Doc#     Item#     Created On     Debit/Credit
    1000     1     02012007     540
    1000     2     02012007     540
    1000     1     02022007     -540
    1000     2     02022007     -540
    These 4 records appear as 2 records in ODS as:
    1000     1     02022007     -540
    1000     2     02022007     -540
    When I do simulate update it shows me 4 records till communication structure. But from communication structure to ODS it they come in only as 2 records. There is no routine in update rules it is just direct one to one mapping. I am having this problem for records with same line item # within a document. Please advice how to solve this issue…
    Thank you,
    sam

    I personally don't think there would be a requirement to load two line items the way you mention; if that is the case there should generally be some record number also coming in with the data. The data example you gave doesn't look right/complete to me somehow.
    Anyway, you can get the record no in many ways. You can create a number range object in the system (check Txn SNUM), and you can then use standard functions in your code to get the next no (I think you can check functions NUMBER_RANGE* in se37 to get an appropriate one). Or you can always read the MAX() no stored in the ODS in this field and start from there in your routine (likely not as robust as the first option).

  • Selected Keywords do NOT all get written to selected files. bug

    have discovered and confirmed with adobe tech support a bug with adobe bridge cs4 not writing keyword metadata tags to multiple selected files..
    PSD files and raw,jpegs when selected with PSDs fail to write metadata keywords to file. If you select a batch of PSD files or a batch of PSD's and raws,jpegs etc.. then select check boxes of keywords to apply, only some of those keywords will be applied. You can verify this after the write cycle by noticing a "-" sign showing they are not all the same. Raw and other files do not apear to have this problem.
    I have verified this problem with adobe techsupport- having them repeat this problem on their own computer. They repeated this on a mac, I currently run xp. so this is platform independent and looks to be a core adobe bridge issue.
    I do not know if light room has this same issue but would be worth checking.
    I have filed a case report and bug report and apparently am the first one. I find that suprsing as I figure many designers would be using key wording for thier work flow and thsi type of bug is a show stopper.
    Work around in bridge is to select psd's independently and select ONE keyword to apply at a time and wait for (lower left screen) write cycle indicator to stop before adding additional keywords.

    I have this bug too in my Bridge CS4.I work on Windows XP SP3.
    I need to index picture library, that contains a lot of PSD-files (about a 50 megabytes each).
    Do you know - Is this bug fixed now?
    Do you have any decision of this problem?
    Just right i try to use multilayered TIFF instead of PSD.

  • Execute query. Not all records retrieved.

    Hi everyone.
    I have made a screen with the data block and layout wizzards.
    When I click on the default toolbar "Execute query" it brings only 68 records and there are about 25,000!.
    I have a botton which displays a LOV of the same table and the LOV is working well, it brings all the records in the table.
    Any idea ???
    Thanks!

    If you go to the bottom of the query, does
    it get the next set of records??
    Oracle forms buffers the records it gets
    based upon the number of records buffered
    in the "block properties".
    Go to block properties. Look at Number of
    records buffered. If you want it to get
    ALL records. Set the Query ALL records switch
    to "Yes". Try it again.
    Hopefully this helps.

  • Master - some records : Detail - for only a few i(not all)records in master

    Hi
    I have a requirement like master and detail. However I do not wish to see the details of everything that is there in the master but only a few records (based on some criteria). Example:
    Id Desc Col3 Col4
    1 1 desc 1col3 1col4
    2 2 desc 2col3 2col4
    3 3 desc 3col3 3col4
    id col5 col6 col7
    3 abc def ghi
    4 4 desc 4col3 4col4
    How can I have such a layout in which detail shows details of only selected records present in the master?
    Any help appreciated big time.
    Thx!

    1. create two queries. master and detail and link on the fields of interest.
    2. on the layout, have repeating frames. one for the master and inside the master frame, a repeating frame for the detail.
    hope this is what you are looking for..

  • Get all records in multi selected master child tables

    Hi,
    I am using JDeveloper 11.1.1.4 version and using ADF-BC in my project.
    I have a simple master child[one to many] relationship in my project.
    In my view page,I display this master child [Ex: EmpVo1--->DeptVo2] as tables.
    I have multi-slection enabled for master table.
    My requirement is that,on multi selecting the rows in master tables,I want to get all the child records in my backing bean.
    that is if a master row has 3 child records and another master row has 4 child records and on multiple selection of these two records in master table,I should get all the child records in my backing bean.
    I need this to implement cascade delete functionality.
    Following is sample piece of code
    1) called on selecting the rows in master table
    public void onRSCGrpSelect(SelectionEvent selectionEvent) {
    // Add event code here...
    ADFUtil.invokeEL("#{bindings.RscGroupVO1.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    RowKeySet rowKeySet = (RowKeySet)tblRSCGrp.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)tblRSCGrp.getValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData =
    (JUCtrlHierNodeBinding)cm.getRowData();
    Row row = rowData.getRow();
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    System.out.println("Displaying Child Records");
    displayChildRecords(row.getAttribute(0));
    2. private void displayChildRecords(Object rscGrp) {
    ViewObject rscMapVo = getRscMapViewObj();
    RowSetIterator rsI = rscMapVo.createRowSetIterator(null);
    while (rsI.hasNext()) {
    Row row = rsI.next();
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    rsI.closeRowSetIterator();
    But the problem is that ,it is always giving me the last selected rows child record details
    Please suggest the error I am doing.
    Thanks,
    Praveen

    Your problem is that you use makecurrent, which should not be used on a multi select table. Next if you have master detail relationship you should have a view link between them. In this case you can expose a method in you master to get the related child row. No need to get the VO itself as you can use the child iterator accessors to get the child record.
    public void onRSCGrpSelect(SelectionEvent selectionEvent) {
    // Add event code here...
    RowKeySet rowKeySet = (RowKeySet)tblRSCGrp.getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)tblRSCGrp.getValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData =
    (JUCtrlHierNodeBinding)cm.getRowData();
    Row row = rowData.getRow();
    //cast to the right row class
    EmpEmpVoRow empRow = (EmpEmpVoRow) row;
    // now you cann access the child row iterator
    RowSetIterator it = empRow.getDepVO();
    //now you cna iterate over the child rows
    System.out.println("\n" +
    row.getAttribute(0) + " :: " + row.getAttribute(1) +
    " :: " + row.getAttribute(2));
    System.out.println("Displaying Child Records");
    //use hte child rows here
    }Not sure if the code compiles out of the box (doing this on the train :-)
    Timo

  • Help with selecting 10 random records from all records meeting report selection criteria in Crystal 11

    <p>I am trying to select ten random records from all that match the report selection criteria then report on each of these random records for QA/QI.  I have tried the RND function however it is giving me a random number rather than a random record selection.  I cannot figure this out and am despirately seeking assistance.</p><p>Thank you,</p><p>Amy</p>

    <p>I don&#39;t know of any Random record selection functions but maybe you could write your own custom function inside of a record selection to randomly filter the records.  You would use the Rand function we currently have to decide if a record was included in the report data or not.</p><p>Another possible option is to filter the records before they get to the report.  You can only do this if you are pushing the data into the report instead of having the report pull the data.  An example of this would be passing an ado recordset to a report at runtime. </p><p>Rob Horne</p><p>http://diamond.businessobjects.com/blog/10 </p>

  • Not all records are updated in DSO

    Dear Friends
         My Scenario is SAP - FM -> DataSource -> InfoPackage -> DTP ->Transformation - > DSO.
         I have 896 Records in my PSA , but when I run DTP to load the data in DSO only 817 records are added, rest records are not updated.  I have supplied
    Purchasing organization             0PURCH_ORG
    Purchasing Group                      0PUR_GROUP
    Vendor                                      0VENDOR 
    BW: Document Number              0DOC_NUM
    BW: Document Item Number      0DOC_ITEM
    Material                                    0MATERIAL
    Accounting document number    0AC_DOC_NO
    Item in Material Document         ZZEILE
    as key fields of DSO.
    can you suggest me what could be possible reason for not having all the records.
    Regards
    Naim

    Hi,
    is it full load?
    Have you applied any filters at dtp level?
    if its full load then delete whole psa data and dso data.
    reload them again and see the count.
    As per dso primary keys, same combination data will over write it.
    how many records count you see at dso-->manage-->request tab
    Added and transferred.
    Thanks

Maybe you are looking for

  • Do I need an upgrade ProApps QuicRime codecs?

    I do not have Final Cut Pro X, I am using FCP 6.  The upgrade says that its for the FCP X. Do I upgrade anyway or I will brake what I am already have been using for years? Thanks,

  • How to add a network adapter in Windows 2008 Core

    I installed Windows 2008 Core on an older server of mine.  The install worked fine, but I dont think it recognizes the built-in BroadCom NICs.  I downloaded the 2008 drivers and ran the necessary commands to load and install the drivers, aassigned IP

  • Interrupt Request

    It is Noah Yang of Texas A&M studying under Dr. Zourntos for Senior Design class(ELEN405).  I have couple of questions about Interrupt Request(IRQ) as we embark working on the brain. The board we are given is a PCI-7831R, so we would have them in the

  • Sound; Clip functionality (setFramePosition/setMicrosecondPosition)

    Hey, I'm trying to write a fairly simple program which can play sound files while a synchronous simulation runs. Specifically, I want to the sound files to play from a position determined by the amount of time that the sim had been running so far. In

  • Oracle 10g performance tuning tools

    hi, can anyone please suggest me any oracle database tuning tool to use for improving the performance of the database?(oracle 10g)