Automatic  Number  of record displayed

hi to all,
how can i insert automatic number record displayed on a detail data block.
e.g :
If i input 5 on a text box and press a button the detail will display on 5 records.But during form load initially it has Zero rows dislayed.

You can use the set_block_property method in the when-button-pressed trigger of your button.
set_block_property('block_name',MAX_RECORDS_FETCHED,'<block_name>.<text item where you'll enter the no of rows to display>);
go_block('block_name');
Ensure that Query all records property of the block is set to Yes for the above to work.
Hope this helps.
Please mark answer as helpful / correct, if it helps you

Similar Messages

  • Change number of record displayed for a single item alone

    Hi,
    I have a single data block with few items. Is it possible to make one item in the block as non-database item and make the display of record in the item alone to show multiple lines.
    i.e. All other items in the Data block shows single record, whereas this particular item should shows 10 records.
    Is this achievable?
    Or should i have to put that item in a separate data block and choose the data block property to "Number of records displayed" as 10?
    Thanks,
    Yuvaraaj.

    983448 wrote:
    Hi,
    I have a single data block with few items. Is it possible to make one item in the block as non-database item and make the display of record in the item alone to show multiple lines.
    i.e. All other items in the Data block shows single record, whereas this particular item should shows 10 records.Yes you can. But i will say re-check your design.
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • 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

  • 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 change number of records displayed in Web service: Query_view_data

    Hi experts
    I´m using webservice Query_view_data to fill a Xcelsius model with data.
    The Bex Query contains appr. 300 records but the webservice returns only 50 records. When I test it it says "displaying 50 of 312 records".
    When I tried ABAP FM RRW3_GET_QUERY_VIEW_DATA it gave all 312 records.
    Does anyone know how I can change this setting so that all 312 records are displayed in the webservice?
    Best Regards
    Kenneth

    Mani,
    I have changed the properties of the chart as you said and gave 4 decimal places. If my actual data value is 0.787989, i would expect it to result 0.7879 but the outcome is 0.7800. It is replacing the other two decimal places with 0's rather than the actual number. Is this a bug in OBIEE or am i doing anything wrong?? Is there any other way to do this. Please let e know...
    Thanks,
    vnk
    Edited by: user8708843 on Aug 18, 2010 8:03 AM

  • 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.

  • Number of records displayed in the lookup field on webconsole dont change

    Hi All,
    Issue here is-
    When I select a report or process form to select a value for anything and click on the magnifying
    glass (lookup field) in web console, should get all the resources in the page that pops up.
    For now it only displays 10 records per page. I see all the lookups displaying 10 records when clicked on the magnifying glass icon.
    The property ‘global.displayRecordNum.value’ in the xlDefaultAdmin.properties file is set to
    20. So, all other pages display 20 records but all lookup pages on web console
    show only 10 records per page.
    Now the businees users want that the lookup page should display 20 records per page like other pages.
    For recreating the problem you can follow the steps:-
    Operational Reports -> Click on Attestation Process Name magnifying glass-> the page that pops up should display all the resources on one page instead of displaying 10 per page.
    Anyone has any idea on this if it is possible to change it thorugh an attribute in xlDefaultAdmin.properties or something else ?
    Thanks.

    You may add "and rownum < ..." to the default where clause.
    But that will not change the layout of the block. E.g. if you have a 10 record block where you want to display only 3 records, you will see 7 empty records.
    Also, this is not a good idea if you are using record ordering.

  • Restrict number of records display in BEx

    Hi,
    I'm getting a "number of rows exceeded in excel" error while running some of the BEx queries.Is there any way to run the whole query with no filters but display the result  of only 50000 rows?
    Thanks
    Srishti Reddy

    Hi mathew,
    I'm sorry I got stuck with some other issue. Yes sometimes we can see the 50,000 rows but most times it ended with RFC connection error. We solved the problem by extending the roll area in BW.I detected while running the query in RSRT which ended with runtime errors indicating insufficient roll area.
    Thanks for the help.
    Srishti

  • Maximum number of records displayed on the browser using Query Designer.

    When you display a query on the web using Query Designer is there a maximum limit of how many records (rows) it can display? For example, can it handle 25 million records?
    Thanks.

    Hi Sebastian,
    I still find such a requirement weird as one cannot definitely go thru' so much of data at a time - it would thus always make sense to perhaps filter on some criteria which would make analysis & perhaps even download much faster. The limit as I understand is approx 750,000 data cells. Maybe the below link & SAP notes can help validate
    Limitation in No. Of data cells displayed in BEx Analyzer
    SAP Notes :-
    Note 1040454 - Front-end memory requirement of the BEx Analyzer
    Note 1030279 - Reports with very large result sets/BI Java
    Note 1411545 - BExAnalyzer: safety belt for large resultsets
    --Priya

  • Shuttle not displaying exact number of Records

    Hi
    I have declaratively defined a shuttle wherein the records are being populated by a VO . On calling the Vo.getRowCount() i get 212. Also am calling vo.setMaxFetchSize(-1) .But the number of records displayed in the leading List are only 201. I have also set the size of the list as 500.
    Can any one please help me in displaying all the records fetched by the VO..
    Thanx in advance
    Regards
    Sunny

    Also check the profile option FND: View Object Max Fetch Size. It is by default set to 200.

  • Reducing number of rows displayed causes error in Forms 6

    I created a search page - really just a tabular form displaying 29 records and a scroll bar at the end. Each record has a button adjacent to it. The idea being that the user can search for a specific map in a field and have all records where that map is referenced displayed. When the user clicks the button a trigger takes it to a detail screen where the entire record (and 7 more screens) is displayed. Everything works fine.
    Problem is I want to reduce the number of records displayed to 15, so I select the appropriate block in the object navigator, then change Number of Records Displayed from 29 to 15 and press enter - the number changes in the property palette - but nothing changes in the form.
    When I compile the form I get the following error
    FRM-30356: Too many records displayed for this item.
    Item: MDD_NO
    Block: SEARCH
    Form: MODULE1
    FRM-30085: Unable to adjust form for output.
    If I change the rows displayed back to 29, everything works fine again.
    Any idea of what I am doing wrong?
    All help appreciated
    Glenn

    Thank you - solved the problem
    The number of items displayed property was set to 29 for each column on that page. As I usually only set the Items Displayed at the Data Block Level - I was suprised to see it set at the Item level.
    Since this was the only page where it was set at the Item level - all my other multiple row pages are set at the Block level - Any idea what I may have done to cause this?
    Thanks Again
    glenn

  • Multiple records displayed on form at one time- 2 lines for each record

    Hello,
    I have a canvas in which I want to display 8 records at at time, so in the data block I specified 8 as the "number of records displayed" value.
    However, the record has too many fields to display on 1 vertical line, so I want to split the fields into two separate lines, so there will still be 8 records but each in two lines.
    How do I do that?
    I'm using Forms 10g. The block is a database block using FROM CLAUSE QUERY , and the canvas is stacked.
    Thanks

    Sandy,
    You will need to set the "Distance Between Records" property for each item in the Multi-Record Block. This will increase the space between rows so you can stack them into two rows. Unfortunately, you can't set this property at the block - so you have to set it for each displayed item.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Can you set # of records displayed at runtime?

    I know there's a GET_BLOCK_PROPERTY for records_displayed, but not a SET_BLOCK_PROPERTY. Is there an equivalent I can use? thanks

    The number of records displayed cannot be changed. But you can use workarounds:
    1) create a stacked canvas and change its size
    or
    2) create a dsplayed item and change its size

  • Number of items/records display

    I want to set the number of items/records display base on query. I tried Set_Block_Property and Set_Item_Property, they don't have any option for me to set it dynamically. Any ideas?
    Thanks

    A couple:
    a) Set QUERY ALL RECORDS to YES, and programmaticaly set MAXIMUM RECORDS FETCHED.
    b) in a POST-QUERY block-level trigger, check the :system.trigger_record. When it reaches the number you want, issue an ABORT_QUERY built-in.
    Hope this helps,
    Pedro

  • Displaying the table based on number of records.

    Hi Experts,
    I want to display a normal table based on the records, if there is only one record then only one row should be displayed on the table, if there are 2 records then 2rows should be displayed on the table with the data, if they are more than 2 records only 2 rows should be displayed on the table and remaining rows should be able to scroll on the table.
    Please Provide the requried infformation.
    Thanks & Regards.
    Bhushan.

    Hi Bhushan
      What exactly is row scroll? Did you not refer to the vertical scrollbar that appears when the number of rows is more than the number of displayed rows? Please clarify
    If it is the vertical table scroll bar you refered to then you will get it if the number of records are more than the visibleRowCount you set
    If it is the horizonal table scroll bar you refered to then you will get it by setting a fixed width to the table. If your column(s) value width exceeds the table width you have specified, you get the horizontal scrollbar.
    Regards,
    Gayathri Shanbhag

Maybe you are looking for

  • Number of Page View is showing zero for Site web Analytics Reports

    Hi, We have enabled Site Web Analytics reports in our Site Collection but the Number of Page views is showing zero for all the dates. We have checked all the events to capture in Site Collection Audit settings, Reporting feature is also activated but

  • Simon game. buttons wont flash... help!

    This is a simple "Simon" memory game, produced in GUI........... The main(); invokes the FIRE(); which generates random numbers , which in turns invokes one of four COLOR methods, red(), green(), yellow(), blue(); .... These methods flash one of the

  • "User names cannot start with a number" error while adding a user

    Is it possible to use WL Portal 7.0 admin framework to manage users with all numeric user id ? I got an error "User names cannot start with a number" while trying to add users with all numeric user ids. I am using "portalAppTools" web app provided wi

  • Acceptable file formats - .VOB

    I had a friend burn video copies to DVD and the file extension is .VOB There are also a couple of other files with .BUP and .IFO extensions Unfortunately, I can't import into iMovie. Are these files usable in iMovie or is there something I can do to

  • Adjust photo order?

    How do I change the date on a photo in an album? Some photos are in the wrong order and I want to change that by either adjusting the date or moving them in some other way. Thanks Jen