Need ot diaply the row count as Formatted

Hi!!
I am using jdeveloper 11.1.1.5
I had created a FinYrVO as a af:form and FinPer as a af:table
My scenario In af:form i need to display as formatted below
[Record / TotalNoofRecords] [4/50]
In 50 records it was the 4 th record
How can i show it
pls verify the below link if i am not clear
http://www.4shared.com/photo/03fso_1J/E047.html

Hi,
[Record / TotalNoofRecords] [4/50]
You use an af:outputText component and set the component Value to (below EL contains some -1 checkings)
row no. [#{(bindings.allDepartmentsIterator.rangeStart < 0 ? 1  :  bindings.allDepartmentsIterator.rangeStart+1) +( bindings.allDepartmentsIterator.currentRowIndexInRange ==  -1 ? 0 : bindings.allDepartmentsIterator.currentRowIndexInRange)}] of max rows [#{bindings.allDepartmentsIterator.estimatedRowCount}]Set the PartialTriggers property to point to the table so the text component is updated when the table row currency changes
Frank
Ps.: I used a different format in the EL but you get the idea I hope

Similar Messages

  • How to add the Row count(number of rows in table)  in  the table header?

    Hi,
    I'm having a table. This table is viewed when i click on a search button.
    <b>On the table header it should dynamically display the number of rows in the table, i.e., the row count.</b>
    How to do this? could any one explain me with the detailed procedure to achieve this.
    Thanks & Regards,
    Suresh

    If you want to show a localized text in the table header, you should use the <b>Message Pool</b> to create a (parameterized) message "tableHeaderText" like "There are table entries".
    Next, create a context attribute "tableHeaderText" of type "string" and bind the "text" property of the table header Caption UI element to this attribute.
    Whenever the table data has changed (e.g. at the end of the supply function for the table's data source node), update the header text:
    int numRows = wdContext.node<TableDataSourceNode>().size();
    String text = wdComponentAPI.getTextAccessor().getText
      IMessage<ComponentName>.TABLE_HEADER_TEXT,
      new Object[] { String.valueOf(numRows) }
    wdContext.currentContextElement().setTableHeaderText(text);
    Maybe you want to provide a separate message for the case that there are no entries.
    Alternatively, you can make the attribute calculated and return the header text in the attribute getter.
    Armin

  • How to get the row count of a Table DATA?

    Hi,
      In my Adobe form layout, I have a Table node which is bound to an internal table. Now at runtime, I want to determine the number of rows that the internal table has, i.e the row count of the DATA node of the Table. How will I be able to determine the no. of rows of the internal table at runtime using Javascript? I am not being able to find any suitable answer in this forum. Please suggest. Thanks in advance.

    Hi,
    If you bind the interactive form table to the internal table and specify some properties, the table will vary its row size according to the number of data available in the internal table.
    You have to wrap the table in a sub form,  check 'allow page break with contents' and property 'flowed'.
    the table will automatically increase its row size...
    Is this the reason for which you wanted for the row count..?
    If so, this will help you..
    Regards.
    Surya

  • How to get the row Count of a ResultSet

    How to get the row Count of a ResultSet

    Hi
    I'v tried rennie1's way ,but I only get zero,my code is:
    rs.executeQuery("select count(*) from t_test");
    if (rs.next()) int rowCount=rs.getInt(1);
    I also tried barni's way ,but the method rs.last() and rs.beforeFirst() throw a same Exception
    I tried another way,the code is:
    while rs.next(){
    // Do nothing ,just move the cursour to the last row
    int rowCount=rs.getRow()
    However,the rowCount still equal zero
    Any help would be greatly apprecite!
    note:
    I get connection by DataSource's JNDI name from client, the Server is Weblogic Server 6, the DBMS is Oracle.

  • I always need to see the time counter on the music player, is that possible?

    As a spinning instructor I need to see the time counter on the music player all the time. Now it dissepears after a short time and I need to touch it to see it again and that is not good! I also wish that it was bigger numbers on the counter so I easy can see how long time it's lest on the songs.
    Ideas anyone?

    By default the screen display will dim in about 20 seconds to conserve the battery. And I cannot find any setting to inhibit this function. I am afraid there is no way you can keep the screen bright and enlarge the numbers on the timer.

  • Localization in OBIEE 10g(Error "start row is set higher than the row count

    Hi All,
    I m Working on Localization.
    I have used exteranize string and saved excel file and added language column and inserted data en and fr and loaded the file into the database.
    then i have created 2 variables
    one is for weblanguage SELECT 'VALUEOF(NQ_SESSION.WEBLANGUAGE)' FROM DUAL
    second is SELECT SESSION_VARIABLE, TRANSLATION FROM TAB_EXTERNAL WHERE LANGUAGE = 'VALUEOF(NQ_SESSION.LOCALE)' when i click on Test for the second variable it showing error
    "start row is set higher than the row count"
    i have seleted start row =10 and show some 10.then also it is showing same error.
    Please send me the solution ASAP.
    Thanks and Regards
    Kiran Kumar

    Hi Kiran,
    I am working in OBIEE localization. I created two variables and when press test i am getting vaules successfully. But in OBIEE application i am getting columns in english only. It seems there is some problem with values in DUAL table. It contains only 1 column called 'DUMMY' and value as 'X'.
    Please give me complete configuration steps to setup localization OBIEE 10g. Please drop me a mail to [email protected] if u have steps. I will call u if u provide contact number.

  • Need to get the row selected in table control without ay action

    Dear Team,
    I have a requirement in which I need to pass the row selected of a table control to a variable.
    Here I need to get the row selected with out any other action
    then the action of selection of a row.
    Is it possible to read table control values using FM DYNP_VALUES_READ.
    thanks in advance,
    regards,
    Sai

    HI,
    Sai Kumar Potluri
    I tried in IDES it working.
    Here is the code.
    REPORT  ZPRA_TC_D.
    TABLES : SCARR.
    CONTROLS TC TYPE TABLEVIEW USING SCREEN 1.
    DATA : SELLINE TYPE I,
           SELINDEX TYPE I.
    DATA : ACT LIKE SCARR-CARRID,
           ANT LIKE SCARR-CARRNAME.
    DATA : ITAB LIKE SCARR OCCURS 0 WITH HEADER LINE.
    CALL SCREEN 1.
    *&      Module  STATUS_0001  OUTPUT
    *       text
    MODULE STATUS_0001 OUTPUT.
      SET PF-STATUS 'ME'.
    *  SET TITLEBAR 'xxx'.
    SELECT * FROM SCARR INTO TABLE ITAB.
    ENDMODULE.                 " STATUS_0001  OUTPUT
    *&      Module  MOV  OUTPUT
    *       text
    MODULE MOV OUTPUT.
      MOVE-CORRESPONDING ITAB TO SCARR.
    ENDMODULE.                 " MOV  OUTPUT
    *&      Module  USER_COMMAND_0001  INPUT
    *       text
    MODULE USER_COMMAND_0001 INPUT.
    CASE SY-UCOMM.
    WHEN 'BACK' OR 'UP' OR 'EXIT'.
      LEAVE PROGRAM.
    WHEN 'SEL'.
      GET CURSOR FIELD SCARR-CARRID LINE SELLINE.
      SELINDEX = TC-TOP_LINE + SELLINE - 1.
      READ TABLE ITAB INDEX SELINDEX.
      ACT = ITAB-CARRID.
      ANT = ITAB-CARRNAME.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0001  INPUT
    In Flow Logic.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0001.
    LOOP AT ITAB WITH CONTROL TC.
      MODULE MOV.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT ITAB.
    ENDLOOP.
    MODULE USER_COMMAND_0001.

  • Capturing the row count

    How can we capture the row count of the rows affected by executing an update statement?

    If you are doing this by PLSQL block:
    declare
    v_num pls_integer := 0;
    begin
    for c_rec in (select id
    from table_name
    where ...)
    loop
    update other_table
    set col_name = ...
    where fk_id = c_rec.id;
    v_num := v_num + 1;
    end loop;
    dbms_output.put_line ('Total count is '||v_num);
    end;

  • How to increase the row count for display in OBIEE Answers-Dashboard page?

    Hi All,
    I have problem in exporting my reports. I need to export my report to either PDF or EXCEL format. My report contains more than 1200 rows. But when i am exporting the report to PDF it contains only 500 rows, for rest of the rows i have to scroll down and again i have to export to get the contents from 501 to 1000.
    Is it possible by changing any property, can i export the entire 1200+ rows in a single EXCEL or PDF? Pls anybody shed light on this issue.
    Thanks in Advance
    Thenmozhi.

    Hi,
    D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig.xml
    before take it u r back up and then update the below code ..
    <Views>
    <Pivot>
    <MaxCells>6500000</MaxCells>
    <MaxVisibleColumns>100</MaxVisibleColumns>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>65000</DefaultRowsDisplayedInDownload>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
    </Pivot>
    <Table>
    <MaxCells>6500000</MaxCells>
    <MaxVisiblePages>1000</MaxVisiblePages>
    <MaxVisibleRows>65000</MaxVisibleRows>
    <MaxVisibleSections>25</MaxVisibleSections>
    <DefaultRowsDisplayed>500</DefaultRowsDisplayed>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
    <!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>65000</DefaultRowsDisplayedInDownload>
    </Table>
    </Views>
    finally re start all services then try it again... here its working fine...
    Thanks
    Deva

  • Unable to get the row count of supplier site for each supplier

    Hi,
    In the sourcing module, suppliers page is having an advanced table in which there is a field 'supplier' and another filed 'supplier sites' (supplier field is of type picklist).Now, how can i get the count of 'supplier sites' for each supplier???

    Hi sumit,
    Thanks for the reply, can u please help in writing the code to loop through the VO...
    I was trying to get the first row and then finding the count of supplier sites, but in each iteration of for loop(for each row) i am getting the same count value for each and every row...
    Code :
    int j=vo.getrowcount();//count of no. of rows
    for (int i=0;i<j;i++)
    row=(xxVORowImpl)rowsetiterator.getRowAtRangeIndex(1);
    int a=am.getSupplierSitesVO.getRowCount();//this is the view object in the pick list
    oapagecontext.writeDiagnostics(this,"value of   a is :"+a,1);
    this code is giving row count of last row of supplier.
    How to get the count for each and every row of supplier sites ?
    Thanks.

  • Regarding Need to measure the rotation count of the Compass either by clockwise and anti clock wise from 0 to 360 degree

    Dear All,
    Since I am new bee for labview, I want to count the no. of rotations that the compass will be rotating. I just did for one count, but I need to measure the count continuosly. Please some one to help me as soon as possible. Attached is me code. Please do the needful.
    Thanks and Regards,
    Dinsulpri
    Attachments:
    Compass Count.vi ‏10 KB

    The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
    Example -
    1> Start at low state and 10 degrees
    2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
    3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
    4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
    4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
    5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
    The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
    On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

  • Need to limit the user count to 10,000 in all the Organisations

    Hi,
    We have a requirement that the user count should not exceed 10,000 in any of the organisation. If it exceeds, then OU Admin should request superadmin/xelsysadm to clean up records i.e to remove inactive accounts.
    We need Custom request screen in OIM, so that OU level admin can request/notify super admin about the increase in user count in an ou.
    Any suggestions, on how to implement this scenario, will be of great help.
    Thanks.

    Hi,
    Actually, I want that during create user, as soon as user clicks on create user page, an message should get displayed saying user count in that organisation has exceeded more than 500 and user will not be created.
    Then that OU level admin(who was creating user) should request Super admin/xelsysadm to clean up records (Custom request screen in OIM, which should notify super admin). I want custom screen/request, where the ou level admin can say/request xelsysadm that the user count in that org has exceded more than 500 and request to delete unwanted/locked and Inactive account from that OU.
    Is this requirement possible, if yes then please guide me.
    Thanks.

  • Need to reorder the rows in my report

    Hi,
    i have generated an report like
    d1 f1
    a 10
    b 20
    c 30
    d 40
    e 50
    and also i created two rows by using calculated items in pivot table view as
    d1 f1
    a 10
    b 20
    c 30
    g 40
    h 50
    e 50(b+c)
    f 90(g+h)
    in the dashboard my reports as
    d1 f1
    a 10
    b 20
    c 30
    g 40
    h 50
    e 50(b+c)
    f 90(g+h)
    but my requirement is i need to rearrange the order like
    d1 f1
    a 10
    b 20
    e 50(b+c)
    c 30
    h 50
    f 90(g+h)
    g 40
    any way to reorder the rows.its urgent can anyone reply me soon.
    appreciate your response!
    Edited by: Nandha on 10 Jan, 2012 5:09 AM
    Edited by: Nandha on 10 Jan, 2012 5:11 AM

    Hi,
    Take dummy column and apply rank to the first column and make it hidden and apply sorting on the column..
    Hope this works for you..
    Regards,
    Kishore

  • Need to measure the head count of each organization

    i need to find out the head count of employees for each organization based on salaried direct employees and salaried indirect employees as below
    my output must be like this
    in 1st column org unit name, 2nd column salaried fultime direct , 3rd column salaried indirect 4th colum is total as shown below
    orgunit | sal-fulltime direct | sal-fultime indirect | total | hourly-fultime direct | hourly-fultime indirect | total
    B& w__| 7000 __________| 5000 __________ | 12000 | 1500 ___________ | 500 ________________| 2000
    jray ___| 2000__________| 1000____________| 3000_ | 500_____________| 500_______________| 1000
    _______| 9000 __________| 6000____________|15000 | 2000 _____________| 1000 _______________| 3000
    under organization unit organization names must come and for employee count must be as above
    organization unit we get from pa0001
    salaried fultime , hourly fultime we get from pa0001-persk
    based on these conditions i need to get the out put as show above
    please give me an idea how to make it with sample code
    very urgent
    regards
    sachin

    The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
    Example -
    1> Start at low state and 10 degrees
    2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
    3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
    4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
    4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
    5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
    The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
    On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

  • Need to get a row count

    How do I rewrite the following NOT to retrieve the actual rows, but to retrieve the COUNT only (because the number of rows is very large - takes tons of resources to retrieve).
    Thanks for any help,
    Russ
    ExpressionBuilder eb = new ExpressionBuilder();
    ReportQuery qry = new ReportQuery(eb);
    qry.setReferenceClass(Employee.class);
    qry.setSelectionCriteria(eb.get("lastNameUpper").like(lName));
    Vector v = (Vector)session.executeQuery(qry);
    return v.size();

    ExpressionBuilder eb = new ExpressionBuilder();
    ReportQuery qry = new ReportQuery(eb);
    qry.setReferenceClass(Employee.class);
    qry.addCount();
    qry.setSelectionCriteria(eb.get("lastNameUpper").like(lName));
    Vector v = (Vector)session.executeQuery(qry);
    return (Number) ((Map) v.get(0)).get("COUNT");

Maybe you are looking for

  • How to get sub totals in alv list

    Hi all, i have a data in internal table which need to display by alv lis display, but i need to display sub totals, like sub total by customer, subtotal by state, and complete total amount. In alv we have standard function buttons , by i need by defa

  • Config of bank clearing ion FPCJ

    Dear Experts, On screen FPCJ, I want to have an additional bank clearing account in the drop-down field Clearing Account. In config Define Bank Clearing Accounts for Payment Lots, I defined an account but it is still not appearing. Is there any other

  • Lightroom 2.6 ????

    In another post Oct 16th I think) Eric said: "Yes, official 7D support is on the way (work in progress). Eric" I wonder if Eric (or someone else in the know) will actually confirm whether or not there will be a 2.6 in the near future. I'm pondering b

  • Re: how to sort an array of type string

    thanks bina and turing pest. well i can't use collections.sort or arrays.sort i need to create a method to sort. stupid instructor dont want to take advantage of this good java language. anyways i am able to do the sort but now OMG the whole data is

  • What PDA best for iSync?

    I'm going to ditch my old Treo600 and switch carriers to probably cingular because they have great coverage in my part of the country. Any suggestions?