Controlling the no of records display in report

Hi,
I want to create a display field(text box item) in which user will write the number of records he wants to display in a SQL tabular report. I donot want the next button. Please suggest.
regards
Kaushik

Hi Kaushik,
first create the tabular report region.then add a text field there as choose any name of the text field say p4_x as item.Add one button say Go button.Select the region where you like to associate those text item and button with the region .
Now go to the report attributes of the tabular report and then add one line after the automatic generated sql query as -- rownum <= :p4_x . and press Go button.
e.g, select * from emp where rownum <= :p4_x .
this will take the input from text field and restricted the record to be displayed only the number which you will put in the text box.
More any query revert back to me .
Cheers,
Rosy

Similar Messages

  • Rows Per Page doesn't affect the number of records displayed

    I just updated from 3.2 to 4.0 this morning. When I change the Rows Per Page value in the action menu the report doesn't change and the number of records displayed stays at 10. The report has ~6000 records. I edited the report attributes and add the rows selector to the IR search bar. This doesn't change the behavior either. I noticed that if I change the rows per page in the action menu then the drop down select list is updated, but the report still doesn't change from 10. I tried paging to the next set of results and it still remains at 10.
    Has anyone else experienced this problem?
    Tony

    Yes, Tony, I've seen this in several versions of APEX. In most cases, simply starting a new session was enough to force APEX to refresh the page and grab the new set of pagination directives. If that doesn't work, please give more info like: what type of report you are doing and what the Pagination values are. Please note the following:
    Report Template
    Pagination Scheme
    Enable Partial Page Refresh
    Display Position
    Number of Rows/Number of Rows Item
    Maximum Row Count

  • How to set the number of records displayed at run time

    Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!

    Bookmark Go to End
    goal: How to vary the number of records displayed in a block
    programmatically
    fact: Oracle Forms Developer
    fix:
    Block property 'Number of Records Displayed' can not be changed during runtime
    using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
    the visual appearance of the form so that it creates effect of changing this
    property. To achieve such an effect follow these steps:
    1. in Forms Builder, in the multirecord block define the new set of items.
    The simplest way is to copy/paste the original item and rename created item.
    2. set properties of these new items so that they are the same as the properties
    of the original items. If these new items were copied from original items
    then properties are already the same. Modify following properties
    'Database item' on new items to value 'No'
    'Synchronize with item' to the value of the original item
    'Number of Items Displayed' to desired value.
    'Visible' to 'No'
    In other words, these new items are mirrors of original items.
    3. code event, which is meant to trigger the change in block appearance.
    This code should use SET_ITEM_PROPERTY built-in to set properties
    like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
    to desired value for items which are about to be displayed, then
    move cursor to one of these just displayed items with GO_ITEM built-in
    and then hide the previously displayed items.
    Example:
    Assume that the block is built on SCOTT.DEPT schema. Following will
    change the set of displayed items
    set_item_property('dept.mdeptno',visible,property_true);
    set_item_property('dept.mdname',visible,property_true);
    set_item_property('dept.mloc',visible,property_true);
    set_item_property('dept.mdeptno',enabled,property_true);
    set_item_property('dept.mdname',enabled,property_true);
    set_item_property('dept.mloc',enabled,property_true);
    set_item_property('dept.mdeptno',update_allowed,property_true);
    set_item_property('dept.mdname',update_allowed,property_true);
    set_item_property('dept.mloc',update_allowed,property_true);
    set_item_property('dept.mdeptno',navigable,property_true);
    set_item_property('dept.mdname',navigable,property_true);
    set_item_property('dept.mloc',navigable,property_true);
    go_item('dept.mdeptno');
    set_item_property('dept.deptno',visible,property_false);
    set_item_property('dept.dname',visible,property_false);
    set_item_property('dept.loc',visible,property_false);
    Regards,
    Monica

  • How to limit the number of records in WebI Report

    Hi,
    I have a requirement where I need to display the WebI Report data only if the number if record is less than 65k.
    Incase if the records are more than 65k then the report should be blank and a text message needs to be displayed.
    The client dont want to set the number of records either in universe or at the edit query at the report. They want to limit once the report is executed.
    Please let me know if its possible to do it at the report level.
    Thanks in advance!!
    Best Regards
    SAP BO

    Optional prompts are not a problem.
    Assuming you first query uses the following SQL statement
    select a,b,c from t where x=y and z=@prompt(...)
    The query for checking the number of rows should use the following SQL code
    select count(*) from t where x=y and z=@prompt(...)
    The original query should be modified as follows
    select a,b,c from t where x=y and z=@prompt(...) AND (select count(*) from t where x=y and z=@prompt(...)) < 65000
    Regards,
    Stratos

  • How to control the  space between records in form layout

    Hi ,
    I need to display mutiple records (15-20) in a form ,
    and have choosen FORM layout as I need to display each record in two lines (Can a record be displayed in two lines in TABULAR layout ? ) .
    Now There is lot of space between each record and I could not move records closer . How can I control space between reords in FORM layout ?
    (While creating Canvas I selected Distance bwteen records = 0 )
    Thanks in advance,
    Asha

    Asha,
    no in tabular layout there is no way to display a record on two lines. All you can do is to use a stacked canvas and use it to make the table scrollable horizontally
    The distance between record setting is a property on the item level. if this is set to 0 (please double check) then all that is loeft is the item bevel. You can set the item bevel property to plain and then work on resizing the items hight until close to acceptable.
    Frank

  • How To control the cutting edge of a wide report

    Hi All;
    I have a wide report with 3 panels horizontal per page, i.e. i have 3 physical pages
    for each logical page.
    Is there a way to control the cutting edge between page 1&2 and between page 2&3 so that it comes at a specified position to avoid data cutting ?
    Regards

    In general, you can just execute the transaction and then at the selection screen go:
    System->Status
    It will show the program name and you can just double click on it to see the source code.
    Rob

  • How to change the number of records displayed on personnel profile?

    Hi Experts!
    1.The thing which I would like to do is as a title.
    2.And There is a part it is considered that is a change part.
    However, the method of changing that is not known.
    I need your help also with the direction and right or wrong which the modification method of the number of display records understands.
    Best Regards!

    Hi jyothi.
    thank you for your reply!
    >Change the visible row count as 1 and check.
    I changed.
    but change was not shown in the display of the number of the line.
    when 「rendering style 」was changed, change was shown in the display of the number of th lines.
    but  we need 「row repeat」 style.
    regards.

  • Updating the previously updated records in Crystal Reports

    Hi All,
         Well I am currently working on Crystal report 11. The issue that I am facing is in regard to the already updated row's record.
    In one of my reports I am fetching data from the database which is received by the Crystal Report's one by one as in the normal cases it is being done. For each record some manipulation is done and then it is printed for the user's viewing.
    The problem that I am facing can be better be explained while taking an example.
    Lets suppose, I have 100 rows of records in the database table which I have to show to the user after modifying any row of record if necessary. And in each row of record there are suppose 10 columns. Now in the data in the 10th column of the row is dependent on the any xth row of record which is a variable value which can be 5th row, 19th row or even 100th row.
          Now when I receive 1st row I manipulate it if required and print it, then I receive 2nd row and print in the same fashion, n so on. Now in the 15th row I receive some data by which I have to modify the 10th column of the 2nd row which I had previously modified and printed. This dependency could be for any row depending upon the kind of data the record brings.
         Is there any way to handle these kind of cases at the Crystal Report end side. If you need any further clarification in regard to this or any more information then please do let me know.

    To be honest, I'm not really following the logic you need to implement.  However, if you base your report on an SQL Command, you can do all of the logic there.  (It is functionally equivalent to a database Stored Procedure.)  You can use a temporary table if you don't have a permanent one to store the modified data.  At the end of the command, return the already-modified data from the temp table.
    One other possibility might be to read the data into arrays, perform the logic on the array data, then print.  You may run into array size issues (among other things), though...
    HTH,
    Carl

  • SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column

    Hi All,
    I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
    in matrix report?
    Please help. Thanks in Advance.
    Regards
    Kumud

    Hi Kumud,
    Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
    recommend you update your SSRS 2005 to SSRS 2008.
    There is a similar issue, you can refer to it.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
    Alternatively, I recommend you that submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How Do I Control The Order of Photos Displayed by an Emitter

    I have a Motion 4 particle emitter which is displaying a sequence of photographs and text (all transparent TIFs), which works exactly as required, except the customer has requested the photographs appear in a particular order. How can this be achieved?
    I have tried changing the random seed to see if I could hit the sequence by chance, but no luck!

    Great link Patrick, thanks for that! The solution as you suggested is animating the Source Start Frame, and the video make it clear. So the solution is as follows:
    Set Random Start Frame and Play Frames off.
    Animate the Source Start Frame by setting a keyframe at the start of the sequence with frame one, and then set a keyframe at the end with the number of the last image.
    Result: Images which fall through space from the emitter and display in a known order. If the customer wants to change the order of the sequence, then rename the files and re attach to the emitter. Simples!

  • How to control detail records displayed after requery

    I have a master/detail form. I did not like the behavior of the screen clearing after I did a save so I added code to requery the master/detail records. There is still one behavior which I need to fix -- after I requery the master and detail records, I always get the first set of detail records, not the set of records displayed on the screen when I did the save. So if I have detail rows 40-50 displayed on the screen and do a save, the master/detail rows are requeried but I see rows 1-10 on the screen, not 40-50. Any ideas how to code around this?

    This is due in part to the fact that detaching the detail object from its master and actually deleting the detail object are two different things. To work around this, add the following in your session bean, where Departments and Employees are your master/detail objects, respectively:
    public void removeNestedEmployee(Employees entity) {
    Departments owningDept = entity.getDepartment();
    owningDept.removeDepartment(entity);
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    uow.deepMergeClone(owningDept);
    Object empWorkingCopy = uow.readObject(entity);
    uow.deleteObject(empWorkingCopy);
    uow.commit();
    Re-generate the data control for this session bean and then drag and drop this method onto your JSF page. The argument you'll pass in is the data provider for the selected employee:
    ${bindings.departmentCollectionIterator.currentRow.dataProvider}
    This will both detach the record from the owning entity, delete the record, and force a refresh of both the master and detail iterators.
    Hope this helps,
    Lynn Munsinger
    Oracle JDeveloper and ADF Product Management

  • What is the best way to display a Interactive Report having 20 columns

    Hi,
    I am having a Interactive Report having many columns (around 20).
    What is the best way to display that report...by default we have to scroll it horizontally to see all the columns.
    I want to avoid Horizontally Scrolling.
    Thanks,
    Deepak

    Hello Deepak,
    You mean apart from using a smaller font size or a bigger monitor?
    You can think about combining / wrapping columns (so more data in one column).
    Or hide some less important data and show that only on demand.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • AFTER LOADING THE DATA INTO THE INFOCUBE IT SHOULD NOT DISPLAY IN REPORTING

    Hi experts,
                     I have the data in infocube. When i selected the cube in reporting it should not display i.e; the data should not display in reporting.
    thanks nd regards,
    venkat

    Bit strange requirement. But if you have data in Cube and automatically its will be available for Reporting. unlike ODS, we do not have option of "Automatic request activation".
    However on repoeting side, you can restrict the values to #  and exclude everything from slection. But not good solution as such.
    Regards
    Pankaj

  • Controlling the colour of chart bars

    A quick question to which i think i already know the answer.
    Is there anyway of controlling the colours of bars on a report chart, depending on the data being displayed?
    I have a graph of sales/store and which to assign stores their own individual colour, but each store can have multiple bars. Which was done like....
    select store, actual_sales
    from table
    union
    select store, planned_sales
    from table
    union......
    Thanks, Matt.

    Right now it is not possible. But is is expected in a future release
    null

  • Can not display BI report in Web ui

    I created reporting profile with both bi and interactive reporting active and assigned to the business role functional profile
    I gave the BI connection client in the report that I wanted. When I select the report in webu ui, it's taking me to a sign on pad. I assume this for BI sign on pad and When i enter sign on, it's not taking me any where.
    This just a standard report in CRM My top 5 quotations. All necessary steps in basic bi connection, basic sales analytics are done too
    How does the the connection between BI and crm works?
    Please advise

    Hi Experts,
    We are using Webiu 2007 with BI 7. 
    We linked our sandbox to RWT system to test the report output. In my CRS, I have source system RWT defined and the same way in BI also we have assigned CRS to link these systems together. It is my understanding that when we select the report, we are just calling the from BI into CRM.  I have done the following steps in CRM
    1) Created reporting profile in CRM analytics as both BI and CRM interactive reporting activated
    2) Assigned this reporting profile to business role
    3) I selected My-Top-5 quotation report and gave the BI system in display  bi reports
    4) I can see the report on webui.
    Problem: When I selected the report,  a logon pad appears and I enter RWT user id and password, it's doing nothing.  But, I have another user who is logging in for the first time got an error "Error loading template "OTPLB_OCRM_QUTO_Q0001_1 notification number BRAIN276". When the same new user tried to login second or third time, it's not showing the error and nothing is happening when we enter userid and pass word.  But, we can logon to GUI RWT.
    We tried to pull a query view report and web template reports see if we can display data. The BI team gave me couple of info objects keys. 
    1) I created the report with object key and type as one for 3.x template and one for 3.x query view
    2) Created logical links for these two reports and selected these two reports in business role. Now the reports are showing in webui
    3) When I select any of these, it taking to a blank screen without any logon screen. 
    BW team says that these reports are running with data in their system.
    Can someone please help?

Maybe you are looking for

  • Determine what documents system is looking a when calculating the Sales Val

    One of the dealers is subject to Static Credit Limit Check. understand that system is going to look at the total value o open orders, deliveries, and billing docs. However, I am no sure the way SAP treats returns/credit memos. It seems to m that the

  • Cant access my portal applicaion via internet

    hi i have installed 10.1.0.2 OAS infrastructure and middle tier "portal and wireless" OS = win 2003 server /etc/host file I have included 10.132.12.132 myservername.dpw.gov.za mytest my machine is on the domain=dpw.gov.za i have created page_group na

  • MBPRD 15" - Dead Pixels, Loud Fan, Overheating...

    "Hello there! Have been a devout user of your products since my early years! Never had an issue (dodgy disc drive here and there, but nothing to write home about!) Last year I purchased my first PRO product, in the form of the brand spanking new Reti

  • Activity price

    Hi What is the reason that a production activity can only post costs into a secondary cost element instead of a normal account? milk

  • Datacopy problem Business rules

    Hi Experts, I am having some problems in trying to get the following business rule to work. FIX("CUSTOMER_NA","INDUSTRY_NA","VENDOR_NA",[Version],[Year],@Relative("Area",0),@Relative("VALUE TOTAL",0)) FIX(@Relative("Account2",0),@Relative("Account1",