Can we specify limit on the number of records to be fetched?

Can we specify limit on the number of records to be fetched from the database?
I have millions of records in my DB and I want to fetch say some 50,000 latest records to optimize the performance of reports.
Is it possible in any version of Crystal Reports?
Regards,
Amrita

Hi Amrita
Do you have any groups in your report.  If yes then this is what you need to do: 
1) Insert a section below on the Details section so that there is a Details A and Details B.
2) Create the following formulas:
@Formula1
WhilePrintingRecords;
NumberVar Number := 0;
@Formula2
WhilePrintingRecords;
NumberVar Number;
Number := Number + 1;
3) Place @Formula1 in the Group Header. Format the formula to Suppress.
4) Place @Formula2 in Details A. Format the SECTION (not the formula) to Suppress.
5) Format the Details B section to conditionally Suppress by selecting the X+2 button INSTEAD of the selecting the Suppress box. This launches the conditional formatting Formula Editor.
6) Enter this formula:
{@formula2} > 3
When you preview the report you will only see 3 records per group.
Let us know if you need any further help with this.
Regards
Girish Bhosale

Similar Messages

  • Restrict the number of records to be fetched

    Hello Gents,
    The situation is like this, I have a report on Oracle reports 6i which fetches 2+ million records and it takes lot of time to generate,
    I’m not sure whether it can be handled in discoverer because the report has some validation procedures (Program Unit) and triggers.
    I want to restrict the number of records to be fetched in groups; I have gone through of Oracle online help
    1.     Group Filer: Filter fetches all records from database and displays only the number of records which is set to the property
    2.     Maximum Rows to Fetch: This property fetches only the number of records which is set to the property.
    I want to fetches records incrementally; I don’t want to keep resources busy
    Is there any property similar like Discoverer “Retrieve data incrementally in groups of” or any workaround?
    Help or any advice is appreciated

    If you generate a pdf, it has to fetch all records for pdf.
    If its in previewer: do you display total number of pages on the report?. If yes, >remove that and see how it comes. Other options are tunning queries and gather >the data into temp table before displaying it on the report. No, I'm generating a pdf
    No, the report is not having display page no on it.
    If I would have to create temp table, I would have used discoverer instead
    Is there any property in reports to restrict the query to get the data in groups?
    Any advice appreciated.

  • Is there a limit to the number of records a dynamic page query can return

    I am using a dynamic page in portal. In between the <ORACLE></ORACLE> tags I have a query that should return 4032 records. All I get on my portal page is the first 1000.
    Any ideas appreciated.

    Hi ,
    Please follow below links for your query :
    http://www.utteraccess.com/forum/lofiversion/index.php/t1991312.html
    http://answers.microsoft.com/en-us/office/forum/office_2010-access/combo-box-limitation-of-500-records-in-access-web/355c33f0-8a32-447e-ae93-ea9e040a0d5f
    http://social.technet.microsoft.com/Forums/office/en-US/baaf8988-3ead-4fd5-8ef0-880552e1f8b3/listbox-dropdown-limit-in-access-2010-form-in-sharepoint?forum=officeitproprevious
    Hope it helps . :)
    Whenever you see a reply and if you think is helpful, click &quot;Vote As Helpful&quot;! And whenever you see a reply being an answer to the question of the thread, click &quot;Mark As Answer

  • Limit to the number of values I can specify in a query

    Hi,
    I want to select a certain number of rows from a table in my Azure Table Storage by specifying the PartitionKey and RowKey. Say, I have a list of 500 PartitionKey and RowKey pairs that I need to read from my table. Can I specify these 500 values in my query?
    I have a feeling that I'll have to come up with a composite key as my partition key so that I don't have to specify so many PartitionKey/RowKey values but I want to first make sure that there's a limit to the number of values I can specify in a query.
    Thanks, Sam

    Hi,
    Thank you for reaching out to us.I am currently researching to gather more information with regards to your request. I shall revert back to you with an update at the earliest.Sincerely appreciate your patience.
    Regards,
    Prasant

  • Is there a limit to the number of addresses can I put into a group of multiple users in my address book?

    I have just started using Thunderbird and want to set up a number of list groups in my Address Book so that I can simply click on the list name and the email goes to multiple people.
    Is there a limit to the number of addresses that I can put into each group? Or, can I put as many addresses into each group as I want to? Thanks for your answer.

    Thunderbird has no limit.
    See http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Create_Mailing_List

  • In my Mail program (4.6), OS10.6.8, can I send bulk email bcc? If so is there a limit to the number of names/addresses that I can send?

    In my Mail program (4.6), OS10.6.8, can I send bulk email bcc? If so is there a limit to the number of names/addresses that I can send?

    To add the BCC field to the message window, create a new message, click the 'three lines' button near the to and from fields & select the 'BCC Address field' or choose the 'customise' option. This button may be a 'gear' on the older OS (I don't recall for 10.6.8 Mail).
    The BCC field is more likely to be limited by the email server than Mail app. If you add hundreds of addresses (or use large groups with many addresses) the email server may assume you are sending spam. Sometimes it causes the server to drop the message or bounce them, different providers also have different rules, so you need to use bcc & ccc with care.
    If you plan on doing mass mailing you would be better with a service that handles it correctly for you (i.e. sends multiple messages without using ccc or bcc).

  • Add Folder - is there a limit to the number of files you can add in one go?

    I have a fairly large collection (60GB+) of 192kbps mp3 files which are stored under My Music in a folder structure of Artists / Album, e.g. "My Music \ ACDC \ Back in Black\ Hells Bells.mp3"
    I recently bought an ipod and having installed itunes I wanted to add all my music. I figured out that the way to do this is to go File / Add Folder and select the "My Music" folder.
    However, itunes starts adding the mp3s and stops at the Bruce Springsteen folder. At this point the itunes library can see all the "A" folders and the "Bs" up to and including Bruce Springsteen. If I try the process again nothing happens.
    However, if I then try to add a specific folder e.g. "My Music \ Charlatans" it works.
    This suggests to me that the Add Folder option has a limit to the number of files it can process.
    Any thoughts on this would be appreciated as I'm not looking forward to manually adding a hundred or so folders.
      Windows XP  

    Well the part about putting songs in the "iTUnes Music" folder I only brought up because it seemed you liked things very organized. You could use iTunes to so all the organizeing. Plus once you add something to the iTUnes library, if you change ANYTHING about it in windows explorer, like its name, change the name of the folder its in or move it to another folder, iTUnes "Looses Track" of it. Its not like other programs that "Watch" files and folders for changes outside its "iTUnes Music" folder
    But to have iTUnes auto search, you have to delete a hidden pref file. After doing this, when you open iTUnes again it will throw up a setup wizard, just like its the first time ever installing it. Its in this wizard where you get your ONLY chance to have iTUnes auto search and add files from the system. Just goto the link below and follow Scott P's steps
    http://discussions.apple.com/message.jspa?messageID=607357
    Also since your new to the ipod, you my want to check out the "iPod 101" section so you can learn the ropes of everything
    http://www.apple.com/support/ipod101/

  • I'm having a problem connecting my BlueRay DVD player and other non-Mac devices to my wireless network. Is there a limit on the number of devices I can connect to my AirPort? I never have a problem connecting an Apple device (AirBook, iPad, etc).

    I'm having a problem connecting my BlueRay DVD player and other non-Mac devices to my AirPort Express network. Is there a limit on the number of devices I can connect to the wireless network? I never have a problem connecting a new Apple product (AirBook, iPad) and even a basic laptop. Thanks for your help.

    The AirPort Express Base Station (AX) can support up to ten (10) simultaneously connected Wi-Fi clients.

  • Is there a limit to the number of apps that can be Hidden from view in Family Sharing?

    I've just set up a Family Share and have issued invitations to a couple of family members.
    I'm trying to take full advantage of the "Hide" feature that's available in the Purchased list in the App Store app, mostly to hide really old apps that I haven't used since the beginning of time.  These apps have been long gone from any of my iOS devices, and it has always bugged me that they still appeared in my Purchased list. It's pretty cool that Family Sharing allows people to hide some of their app purchases from others in the group, as this also allows folks to hide apps that they also don't want to see in our own lists.
    The first couple of dozen apps that I decided to hide stayed hidden. However: now, no matter what I try, I can't hide any more apps.  I swipe on an app to reveal the Hide button; tap the button; the app disappears from the list; I go to another screen in the app; I return to my Purchased list: and the most recent Hidden apps are still listed.
    This is driving me nuts. I'm wondering if Apple has imposed a limit on the number of apps that anyone can hide; or if there's something I can do to force a hidden app to stay hidden.
    Advice will be gratefully accepted.

    Hi, Gail
    > I would suggest that you wait until tomorrow and check those devices again. Remember,
    > this information is being pushed to your device from the iTunes store based on the changes
    > you were making.
    Not a bad suggestion, but it does not explain why an app refuses to REMAIN hidden on my iPhone -- as I explained in my first post:
    > I swipe on an app to reveal the Hide button; tap the button; the app disappears from the list;
    > I go to another screen in the app; I return to my Purchased list: and the most recent Hidden
    > apps are still listed.
    Given the clunkiness and general unreliability of iCloud - which rarely "just works" - it doesn't surprise me that hiding an app on one device doesn't mean the same app will be hidden immediately on other devices logged into the same account. I've learned to be patient and wait hours for changes to anything synced via iCloud to be reflected on other devices in the sync loop.  But again, this in now way explains why apps were not staying hidden on the device that was used to hide them. 
    I've finally managed to hide all the apps I wanted hidden, after many hours of waiting and multiple attempts at hiding.  I am in no way confident that these apps are going to REMAIN hidden permanently, or until I choose to unhide some of them; only time will tell if iCloud decides to behave and accept my series of "Hide this app" commands to be honoured permanently!

  • HT201272 I no longer have any of my pcs that I had registered on iTunes and I am at my limit on the number of registered devices  how do I unregistere old machines that I no longer have so I can get my old music that I have down loaded.?

    I no longer have any of my pcs that I had registered on iTunes and I am at my limit on the number of registered devices  how do I unregistere old machines that I no longer have so I can get my old music that I have down loaded.?

    Go to your account in the iTunes Store and look for the De-authorise All button in your account's details. Use the De-authorise All and then authorise the PCs you still have.

  • Why can I no longer add photos my iPhoto book? Is there a limit to the number of photos? Must I delete unused photos??

    Why can I no longer add photos my iPhoto book? Is there a limit to the number of photos? Must I delete unused photos?

    This is book # 13 and I've not encountered this problem before. I am dragging photos into the sourse pane but they are not imported. I have other books w/ over 700  pics (not all used) but this has only 300+ so far. I've copied the book to a pdf and it looks as if I'll have to redo it unless there's another solution.

  • HT204053 Is there a limit to the number of devices I can have on one account.  I have all two of my kids ipods, plus, mine, an ipad, and my iphone, and need to add one more.  I do this so that I have control over and can see what they are downloading.

    Is there a limit to the number of devices I can have on one account.  I have been putting my kids' ipods on my account so that I can manage their downloads, and control it.  Then I just create playlists for them specifically.  Now, adding another one for my youngest, but have no idea if there are limits. 

    Well the part about putting songs in the "iTUnes Music" folder I only brought up because it seemed you liked things very organized. You could use iTunes to so all the organizeing. Plus once you add something to the iTUnes library, if you change ANYTHING about it in windows explorer, like its name, change the name of the folder its in or move it to another folder, iTUnes "Looses Track" of it. Its not like other programs that "Watch" files and folders for changes outside its "iTUnes Music" folder
    But to have iTUnes auto search, you have to delete a hidden pref file. After doing this, when you open iTUnes again it will throw up a setup wizard, just like its the first time ever installing it. Its in this wizard where you get your ONLY chance to have iTUnes auto search and add files from the system. Just goto the link below and follow Scott P's steps
    http://discussions.apple.com/message.jspa?messageID=607357
    Also since your new to the ipod, you my want to check out the "iPod 101" section so you can learn the ropes of everything
    http://www.apple.com/support/ipod101/

  • Is there a limit to the number of Apps you can download to your iPod touch?

    I just downloaded a batch of new free apps the the App store to my Mac and then synced my iPod and it showed in the progress bar that it was transferring the new Apps to my iPod but when I checked it most on the new Apps weren't on there. Is there a limit to the number of pages you get on the iPod to add new Apps? I actually have 9 pages full now and if the other apps I downloaded are on the iPod where would I find them?
    They are a nightmare to reorganise into groups on the same pages.
    Thanks
    Kevin

    9 pages of apps is a LOT, though I have to admit, I'm about halfway there.
    It doesn't affect how many are SOLD/downloaded... it only affects how many can be used at ONE TIME.
    But you see, will you actually be using ALL 9 pages worth of apps at the same time? Not likely. And as time goes by, you'll find some apps aren't as useful as you thought. While others prove too useful and end up replacing a few others.
    For example, there are dedicated Facebook, LiveJournal, MySpace, etc apps. But if you don't do anything specific, and only blog, you could use one of the third party apps that allows you to blog to most, if not all of them from the same app.
    Do you need a separate app for football, then basketball and baseball, if all you do is see who won? Again, there are other apps that'll give scores for more than one sport... and even include various stats (RBIs, TDs, etc).
    Of the 80+ apps I've downloaded, I've flat out deleted from my computer a handful (cause they stink). And I've "put in reserve" a few others (sort of useful).
    Yes, I agree, there needs to be an easier way to organize them.

  • Is there a limit to the number of video files that can be included in a captivate 6 project?

    I have a project that includes 15 slide video files.  When I preview the project in html or publish it, I get a green rectangle where the video should be on about the 10th slide.  Even if I rearrange the order of the slides, always on about the 10th one I get a green rectangle where the video should be.  Is there a limit to the number of slide videos you can have in a project?

    Craig,
    It was image.cpp line 2770.  I am told (by another person in the company that has seen this) that it has been seen on several machines, always PXI controllers, but not on all PXI controllers.  I am told that it is not always image.cpp that reports the error, but for me it was always the same line of code identified by the error message.  I did not have a chance to do any experimenting to find a particular threshold number of mnu files.  I may be able to find error logs.  I currently sent the controller to our IT department, doing a windows XP repair, just in case there was something corrupted in the system itself.
    The error was reproducible.  This installation at one time must have included real-time / FPGA, because on the opening screen I ge the drop-down ring for selecting a target.  If I click on this drop down ring, I get the crash on line 2770, every time.  If, instead I open an empty new VI, I am able to switch to the block diagram by selecting the window directly with the mouse, but if I try to pull down on the "window" menu to do "show block diagram", I get the crash on line 2770, every time.  Because the user-defined mnu files are now deleted, I would have to create them again, or find a way to reinstall them, to reproduce the error at this point.
    Vinny

  • Is there a limit to the number of groups that can be created in BusinessObjects?

    Hi all,
    We are planning to implement a group structure where there a quite a lot of groups that has to be created. that's why i'm wondering if there is a limit to the number of groups we can create in CMC.
    Thanks in advance for your answers..

    Damien,
         I have NOT come across any limits but you need to be very careful on how many nested layers you create and if you are also going to use 3rd party security like AD &/or LDAP.   Then you will see some performance issues.
    How many groups are looking to create 2,000 / 4,000 / 6,000 ?
    Regards,
    Ajay

Maybe you are looking for

  • Can I create digital signatures for other people?

    I am trying to determine if there are rules/software limitations that prohibit me from creating a digital signature for other people on my PC. As an example, I support a Vice President-can I create his digital signature and store it to use on his beh

  • Does the noise come from harddisk or fan?

    Hi all, My powerbook 17'' always has this noise come from left side of the powerbook. I am unable to determine the source of the noise coz I am not sure where is the exact location of the noise. (I read that the fan supposed to be in left side of key

  • Solid color printing on glossy paper 6500n

    Trying to print some brochures with some fairly large solid  areas (Pantone Reflex Blue C and 1235 C) on 32lb glossy paper. Printing from InDesign. Pictures look excellent but the solid areas look awful. Tried many different paper settings and other

  • Load Query

    Hello, I am trying to load data to a master data attribute from psa through dtp but it is taking a really long time only in production but it is okay in dev and qa. the problem seems to be with this one object because all the other loads are okay. th

  • Simple coordinate transformation

    I'm new to Oracle Spatial (8.1.7) and try to figure out a simple way to run a query to get values for a single point coordinate system transformation. For example: If I know the x y coordinates of a point and its coordinate system (srid) and want to