Limiting the amount of records or pages that gets generated by a report

Post Author: jjurroz
CA Forum: General
Hey guys,I'm using CR 8.5.3I have a quick question that hopefully one of your can help me out with. I have a report that works perfectly and uses a couple different parameters for sorting etc.. I'm using an SQL database and for a particular report, after inputting the correct parameter values the report would generate for example 12,000 records on 2000 pages. What I'm trying to do is create a new parameter that would limit either the amount of pages that gets generated or the amount of records. I think I'd rather limit the amount of records to start off with and I would like it to be from a list of predefined amounts. I.E. "ALL", "First 10", "First 50". Essentially I'm trying to create a report that gives me a subset or sample of the main report so that it could get printed to pdf and sent to customer for review. Any help would be greatly appreciated! Regards,Jose

Post Author: jjurroz
CA Forum: General
I can only go to 'TopN/Sort Group Expert' menu option if I add a summary field, otherwise the option is greyed out. If I do add a summary field and go to 'TopN/Sort Group Expert' I have no formula button. I can select TopN from a drop down but then I have to hard code the N value. I'm start to wonder whether its even possible to do it dynamically in CR 8.5.   V361:Sorry JJurroz, Here again I have CR XI, so not sure if 8 will do this.  Create a number parameter {? Top_N} then go to Group Sort Expert, you should be able to click on the formula button for Top N and put your parameter {? Top_N} in the formula.
That should work.

Similar Messages

  • Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    Any ideas on how to control the amount of sustain pedal data that Logic Pro 9 records? Every time I press the sustain pedal down, it records 4 sustains. Same thing when I release the pedal. Thanks!

    This gets confusing, you have two Macs with different issues and two pedals with different issues? First let's sort out what's what. So, do the issues come from the pedals or from the Mac software? To find out, simply switch the pedals and note their behaviour. No change: it's the software, change: it's the pedals (imho the most likely scenario).
    Second, what kind of pedals are they? Can you name the type of pedal too? The Yamaha what and the Mgear which?
    Third, with the 4 fold data problem, are the doubled events simultaneous, or a few ticks apart, or more?
    Also, you have no MIDI keyboard? Are the pedals both "standalone"?
    I think you have to sort this problem at its' source, which are the pedals. You could, if push really comes to shove, perhaps create some sort of ingeneous/elaborate transformer setup in the environment to filter the extra messages, although with the 4/4 sustain events that may not even be possible. With the "stepped" events you could set up a filter to just block all events with values 20-110 or so.
    But much better would be to configure the pedal(s) correctly.

  • I need a query that selects the amount of records for each day in a table.

    I need a query that selects the amount of records for each
    day in a table.
    Eg the result would be:
    date 1 14
    date 2 3
    etc
    Any ideas?

    sorted:
    SELECT count([commentID]),convert(varchar, dateAdded, 112)
    FROM COMMENTSgroup by convert(varchar, dateAdded,
    112)

  • I want to diaplay my records from the databasewith 10 records per page. i l

    i want to diaplay my records from the databasewith 10 records per page. i learned that it can be done through pagination . Please can anyone there help me and give me the code of how to page my records in my jsp pages
    I have small code ,but its not working....
    below is the code....
    public ResultSet codeResult(int i){
    if(dataSource!= null){
         try {
                             con=dataSource.getConnection();
         stmt=con.createStatement (ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
         int maxRows=stmt.getMaxRows();
         System.out.println("the maxRows is:"+maxRows);
         System.out.println("the I value is:"+i);
         if((i < 0) || (i > maxRows)){
              i=0;
         stmt.setFetchSize(i);
         long t = System.currentTimeMillis();
         rs=stmt.executeQuery("select asc_code,countrycode,asc_name,asc_address1,asc_address2,asc_city,asc_country,asc_region,asc_contact_person,asc_contact_no,asc_email_id,asc_fax_no,nso_incharge,nso_email,ar_ap_code from asc_master order by asc_code asc");
    but,its giving all records...
    any one help me on this........
    Thank you,
    D.Nagireddy.                    
                        } catch (SQLException e) {
                             e.printStackTrace();
              return rs;
              }

    hey, here my code for paging. hope it helps...
         public void DueRecordInfo(int page,int MAX_PER_PAGE)
              con = new DBConnection().getConnection();
             try
                     Statement stmt = con.createStatement();
                     String sqlcount = "SELECT COUNT(*) FROM INFO WHERE TO_DATE(DATEUPDATED,'Month DD, YYYY') < ADD_MONTHS(SYSDATE,-6) AND OBSOLETE LIKE 'No'";
                     ResultSet rscount = stmt.executeQuery(sqlcount);     
                    rscount.next();
                    total_row_count = rscount.getInt(1);
                  lowerbound = (page * MAX_PER_PAGE - (MAX_PER_PAGE))+1;
                  upperbound = lowerbound - 1 + MAX_PER_PAGE;
                  String sql = "Select * from "+
                                    "(SELECT row_number() over(ORDER BY TO_DATE(DATEUPDATED,'Month DD, YYYY') DESC) AS RN,ID,SPECNO,REVISEDNO,DATEREVISED,TITLE,ORIGINATOR,DCBNUMBER,DCBLOCATION,OBSOLETE,DATEOBSOLETE,WORDFILE,PDFFILE,DATEUPDATED FROM INFO WHERE TO_DATE(DATEUPDATED,'Month DD, YYYY') < ADD_MONTHS(SYSDATE,-6) AND OBSOLETE LIKE 'No') " +
                                    "WHERE RN BETWEEN "+ lowerbound + " AND " +upperbound;
                   ResultSet rs = stmt.executeQuery(sql);
                  while (rs.next())
                         id.add(num, rs.getString("ID"));
                         specno.add(num, rs.getString("SPECNO"));
                         revisedno.add(num, rs.getString("REVISEDNO"));
                       daterevised.add(num, rs.getString("DATEREVISED"));
                       title.add(num, rs.getString("TITLE"));
                       originator.add(num, rs.getString("ORIGINATOR"));
                       dcbnumber.add(num, rs.getString("DCBNUMBER"));
                       dcblocation.add(num, rs.getString("DCBLOCATION"));
                       obsolete.add(num, rs.getString("OBSOLETE"));
                       dateobsolete.add(num, rs.getString("DATEOBSOLETE"));
                       wordfile.add(num, rs.getString("WORDFILE"));
                       pdffile.add(num, rs.getString("PDFFILE"));
                       dateupdated.add(num, rs.getString("DATEUPDATED"));
                         num++;
                   con.close();
                   rscount.close();
                   rs.close();
                   stmt.close();
             }

  • Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. How do I fix this?

    Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. Once i reconnect to the network, the page loads, but after loading a few more pages, the same thing happens all over again.
    This happens each and every time, on different Wifi networks, in different locations.  On the other hand, I don't ever encounter this problem when I tether my laptop to my mobile phone's 3g/2g network using Personal Hotspot. How do I fix this?

    Try this DNS server ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch both your browsers to test.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    And here >  Wi-Fi: How to troubleshoot Wi-Fi connectivity

  • How to know the amount of ora 11g page-out  memory (sga and pga)?

    How to know the amount of oracle 11g page-out memory ( sga and pga) in the SunSolaris 10 Unix and Linux.
    I need to know how many oracle memory are being page-out ( all and for a one oracle server process).
    thanks

    You can monitor the paging with vmstat or sar commands.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b32009/tuning.htm#sthref500
    You can also get the paging information on OEM home page if configured for your database.
    But I don't know if there exists a method with which one can find out how much memory per session/server process is getting paged out.

  • Limit the number of records per page in webi

    Hello All,
    How do i limit the number of records per page in webi?
    i was asked to have not more than 20 records per page.
    In " NUmber of Vertical records per page"(Quick display mode) the default value was 100, i am trying to set it to 20 ...but its not updating....its still taking 100.
    I am on BO XI 3.1 Sp2 fix pack 3
    Please let me know a way to accomplish this.Any inputs appreciated
    Thanks

    It can be done as follows:
    1. create a variable at report level as:
            v Test = Floor(RowIndex()/20)
    2. Added this variable in the Block as a new column.
    3. Select the v Test column, Right Click and set as section (also you can apply break).
    4. Go to structure mode select section\break and go to properties tab and select the property "Start on new page".
    Regards,
    Rohit

  • PLD - limiting the amount of lines

    I have read some of the other threads regarding limiting the amount of lines in a repetitive area.  I tried to apply this to my current layout, I am formatting a check, the print is going into the tear away section on the check. 
    The check is printing 15 lines in this area and I would only like to print 13.  I change the format section to 13 lines in repetitive area, with nil effect on the output.  Are there any other options?

    Hi
    What is your set up for print preference for checks for layout ?
    Go to administration >> System Initilaisation >>Print Preference
    Click on Document tab>>
    Find checks for payment >>
    What is the maximum lines you have set ?
    Hope this helps to troubleshoot your issue
    Thank you
    Bishal

  • ITunes over charge my Debit card 27 time. In the amount $277.16 how do I get my money back

    iTunes over charge my debit card 27 time more in the amount of $277.16 how do I get my money back

    First, report the incorrect charges to the bank that issued your card as incorrect/fraudulent. Then contact the iTunes Store and explain the situation to them:
    http://www.apple.com/support/itunes/contact.html
    If these charges were for apps you did not purchase rather than being billed multiple times for an app you did buy, you should also immediately change the password on your iTunes Store account.
    You may also want to just remove your debit card information from your account, at least until you get things sorted out. I usually recommend against using a debit card in any situation where it is stored in the online store for just this reason; should something go wrong or someone obtain access to your iTunes account, your bank account can be drained dry very quickly. If you don't have a credit card, I'd suggest purchasing and using prepaid iTunes cards. That limits the amount of damage any fraud or problem can do to you.
    Regards.

  • Ken burns cropping in iMovie 9.09 changed with mavericks update.  Cant zoom in to a small area....it limits the size now.  How do i get back to the old way?

    Ken burns cropping in iMovie 9.09 changed with mavericks update.  Cant zoom in to a small area....it limits the size now.  How do i get back to the old way

    These timezone definition changes are fairly common, when viewed world-wide.
    For notifying Apple, contact the folks at the Apple Support Center or (if you have access) log a bug report.  (The folks at Apple might or might not notice any postings made here.)
    For the immediate case, updating the timezones yourself is straightforward; the sequence is basically the same on Linux, OS X, Unix and even OpenVMS.  Ugly, but it works.  (The US folks got to see this mess first-hand a few years ago, but there are other locations that see these sorts of timezone definition changes far more often.)
    For those following along that aren't familiar with this sequence, this old posting should get you close when rebuilding your definitions, though the timezone database has moved to IANA.

  • How to limit the no of records per page in crystal reports 2008

    I have to limit the number of records =10 per page in crystal reports 2008.
    Any help appreciated.

    Hi,
    1. Open the report in Design View
    2. Right click on the Details section and select Section Expert
    3. Make sure the Details section is selected in the Section Expert dialog box. goto paging tab
    Check the box that says u201CNew Page Afteru201D
    4. Click the formula editor button to the right of the checkbox.
    5. Enter the following formula
    if Remainder (RecordNumber, 10) = 0 then true else false
    6. Click Save and Close and then click OK.
    If you run the report it should break after each 10 rows.
    @Sri
    Edited by: Sri kamesh on Jun 22, 2011 1:50 PM

  • Limiting the Amount of Memory the WSUS Database Can Use

    Have installed GERMAN WS2012 R2 Essentials and have added plus configered WSUS role. Have "unfortunately" installed ENGLISH SQL Server Management Studio. Have connected Management Studio to
    \\.\pipe\MICROSOFT##WID\tsql\query with  Windows Authentication, can browse Databases ... BUT when right clicking the server's name and selecting Properties to limit the amount of Memory WSUS Database can use after
    a while returns with error stating "cannot show requested dialog because failed to retrieve data for this request as the System could not find the requested file":
    Cannot show requested dialog.
    ADDITIONAL INFORMATION:
    Cannot show requested dialog. (SqlMgmt)
    Failed to retrieve data for this request. (SqlManagerUI)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&LinkId=20476
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    A severe error occurred on the current command.  The results, if any, should be discarded.
    'RegQueryValueEx()' hat den Fehler '2', 'Das System kann die angegebene Datei nicht finden.' zurückgegeben. (Microsoft SQL Server, Error: 0)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=11.00.2100&EvtSrc=MSSQLServer&EvtID=0&LinkId=20476
    ==> The suggested Help links aren't really helping ... What file? Where?
    ==>==> Maybe I'm in troubles because of the language mix?
    ==>==>==>Any Chance to set the memory limitations via PS Script? 

    Hi,
    à
    Any Chance to set the memory limitations via PS Script?
    Please use
    osql command-line to check if can help you. For more details, please refer to following article.
    WSUS-Limit SQL (Windows
    Internal Database) memory
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    à
    when right clicking the server's name and selecting Properties to limit the amount of Memory WSUS Database can use after a while returns with error stating "cannot show
    requested dialog because failed to retrieve data for this request as the System could not find the requested file"
    On current situation, I’m also guess that this issue (above error message) may be caused by different language
    versions (GERMAN Windows Sserver 2012 R2 Essentials and
    ENGLISH SQL Server Management Studio).
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Limiting the amount of APEX logins

    I had an interesting request where 1 of my clients wants to limit the amount of active log-ins a user has. They run into issues where some users open up multiple browsers and log-in a bunch of times. They want to only allow a max of 3 log-ins for the user at 1 time. Is that possible to check?

    Apex is does not maintain a persistent connection between the end user and the server and the communication happens when a request to the server happens(page load,submit,ajax etc). So "active sessions" is not well-defined.
    For instance users can close their application page without logging off, or they can just leave that page idle.All of these would be active sessions in Apex.
    You can check the tables <b>APEX_WORKSPACE_ACTIVITY_LOG(you might be interested in the columns:SECONDS_AGO,IP_ADDRESS,AGENT,APEX_SESSION_ID) and APEX_USER_ACCESS_LOG,APEX_WORKSPACE_ACCESS_LOG</b>(for login details). Formulate a definition for active sessions based on your business case and the data in these tables and add that to the authorization function.You might have to use a time frame(say 30) mins and check for the number of distinct sessions/logins for that user during that time or set a maximum no: of logged in sessions in such a time frame and maybe couple it with some activity from such a session in the last 5-10 mins.
    This old {thread:id=534778} has a very detailed discussion on the subject.I would suggest reading through that before you starting with your design.

  • Limiting the amount of space available for time machine

    How do I limit the amount of space time machine is allowed to use on my 500gb external hard drive? I need the rest of the space for other stuff. Is there a way to partition the external hard drive or make time machine think there is only a certain amount of space available?

    Yes. Open up Disk Utility (located in utilities in your applications folder), and select the drive. Make sure you select the actual Drive (the one with the amount of space listed on the name) on the panel on your left. click the partition tab, and open the drop down menu under "Volume Scheme". choose the number of partitions. I have my external drive at 2 partitions, one for TM and one for general files. move the slider bar that will appear in the panel below to determine the size of the partitions. the size of you TM-dedicated partition should be at least twice the size of the drive you are backing up.
    Hope this helps.

  • While on my td bank secure site i log off then press the back arrow my secure page that i closed opens up.when i use internet explorer the same page doesnt sho

    when i log off my td bank secure account page with the td log off botton i get a new td page. if i press the back arrow on the address bar the secure page i just closed pops up. when i do the same witn onternet explorer a generic td bank page home page pops up NEVER an account page with secure info shown. when this happens every time i dont know if i have logged off the secure page. i close my online browser[now firefox] to be sure the connection is broken but is the secure page open to any kind of breach? i am using firefox due to concern about intternet explore but i know on explorer when i log off td bank secure page i was on i can not access that page again unlees i login ,on firefox i press back arrow on address bar and the secure page i logged off shows up.i feel this is an important issue and must be addressed. thank you

    Hi grdy83,
    What are your cookie settings?
    *[[Enable and disable cookies that websites use to track your preferences]]
    *[[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]
    You can delete all history when you exit Firefox, but it seems odd that a secure page that should expire is still accessible. It may be a timed expiration, but check the third party cookie settings to make sure it is not allowed to be saved.
    I hope this helps prevent this from happening again.

Maybe you are looking for

  • BlackBerry Curve 9320 not able to access BlackBerry App World

    Hi All, I am new to Using BlackBerry.I have got a BlackBery Curve 9320 also as it requires 3G Net Connection for accessing internet i have put Vodafone's 3G internet pack as my network provider is Vodafone.But still i am not able to access my BlackBe

  • Unable to save imported contacts file or sync

    I imported a contacts .csv file into palm desktop for a Z22.  It opens well in palm desktop, but does not seem to save or sync. I tried just entering a contact into desktop and even this would not sync with the Z22. I have my drive partitioned with W

  • OS 10.6 on 2011 iMac

    I just got off the phone with apple support. I just received my new iMac. (well new to me bought a refurb.) This machine was originally built in July 2011. It shipped to me with 10.7 Lion installed, but was originally shipped with 10.6 in july 2011.

  • Adding Nationality Field in iRecruitment Page Using Personalization

    Dear Sir (+most probably Mr. Prabhu who is only helping here in this Forum) :)+ I found one document on how can I add Nationality and National Identifier Fields in iRecruitment Pages Using Personalization, so it gave me an example so when he was pers

  • Instead of onPress, is there an offPress

    I am attempting to make my own drop down menu (combobox) When you click on the first item, it goes to and plays a movie where all the other 5 buttons apear below it. I want it to act like a combo box and have it so when you click anywhere else, it wi