Is it possible to show the count of number or rows in table on the Home page Tab button.

Is it possible to show the count of number or rows in table on the Home page Tab button.
On home page there is a Tab called Count and I want to show the count on the right corner of this tab button.
Please help

Create an application item. APP_HOME_COUNT.
Create an application process:
  make the application process type "on new instance" if you only want this to run once
  make it "on load before header" if you want to have the value set every page load
application process source:
select count(*) into APP_HOME_COUNT from <your table>
modify the tab name to reference the app item, maybe something like "Count(&APP_HOME_COUNT.)"
result should look like this "Count(5)"
Good Luck,
Tyson

Similar Messages

  • Can we find the number of rows in table from the dump file

    Hi All,
    Can we find the number of rows in table from the dump file with out importing the table in to the database?
    Please let me know ,if any option is there.
    Thanks,
    Kumar.

    <s>Try to import with option SHOW=Y, that should skip the number of rows which are into a table from a dump file.</s><br>
    <br>
    Nicolas.<br>
    Oops, sorry, that doesn't show the number of lines...<br>
    Message was edited by: <br>
    N. Gasparotto

  • 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

  • Using Mountain Lion (OS 10.8), in Contacts, how can I show a count of number of contacts total and/or number of contacts in a group?

    Using Mountain Lion (OS 10.8), in Contacts, how can I show a count of number of contacts total and/or number of contacts in a group?

    If you scroll the list to the bottom, there might be a count. I haven't figured out why you sometimes get a count and other times you don't.

  • How to count number of rows as well as the sum of a column in a procedure

    Hi, i need to count the number of rows a sql returns in a procedure.
    as well as i need to sum up a different column.
    i need the following output:
    count the number of rows output
    and sum the total column
    code:
    procedure samba_extraction (p_errmsg IN out varchar2
    ,p_errcode IN out NUMBER
    ,p_filename in varchar2
    ,p_start_date varchar2
    ,p_end_date varchar2)
    is
    file_handle utl_file.file_type; -- file handle of os flat file
    -- cursor to select the c_samba_resources
    cursor c_samba is
    select
    lpad(h.contract_number,15,'0') contract_number
    ,h.short_description description
    ,h.attribute_category context_value
    ,h.attribute7 samba
    ,h.attribute8 samba_number
    ,h.start_date start_date
    ,h.end_date end_date
    ,h.sts_code active_inactive
    ,l.price_negotiated price
    ,l.tax_amount tax
    ,LTRIM(to_char((l.price_negotiated + l.tax_amount),'00000000.00')) total
    from
    oks_auth_headers_v h
    ,oks_auth_lines_v l
    where h.id = l.chr_id
    and ((h.start_date <= (p_end_date))
    and (h.end_date >= (p_start_date)))
    and h.attribute7 = 'SAMBA'
    -- and h.sts_code = 'ACTIVE'
    and ((h.attribute_category = 'SUBSCRIPTION.DURATION')
    or (h.attribute_category = 'SUBSCRIPTION.VALUE')
    or (h.attribute_category ='SUBSCRIPTION.QUANTITY'));
    l_output varchar2(1000);
    l_counter varchar2(11);
    l_total varchar2(11);
    l_filename varchar2(30);
    begin
    if p_filename IS NOT NULL then
    -- l_batch_no := 'T';
    l_filename := p_filename || '.txt';
    -- open file to write into and obtain its file_handle.
    file_handle := utl_file.fopen('/usr/tmp',l_filename,'W');
    fnd_file.put_line(fnd_file.log,'The '|| l_filename||' file you have requested has been placed in the usr/tmp directory');
    for l_info in c_samba
    loop
    -- l_output := null;
    l_output := l_info.samba_number||'+'||l_info.total||l_info.contract_number;
    utl_file.put_line(file_handle,l_output);
    fnd_file.put_line(fnd_file.output, l_output);
    dbms_output.put_line(l_output);
    end loop;
    else
    p_errmsg := ('Please enter a filename for this file ');
    write_log('UPDATE : ' ||p_errmsg);
    end if;
    -- close the file.
    utl_file.fclose(file_handle);
    exception
    when no_data_found then
    dbms_output.put_line('no_data_found');
    utl_file.fclose(file_handle);
    when utl_file.invalid_path then
    dbms_output.put_line('UTL_FILE.INVALID_PATH');
    utl_file.fclose(file_handle);
    when utl_file.read_error then
    dbms_output.put_line(' UTL_FILE.READ_ERROR');
    utl_file.fclose(file_handle);
    when utl_file.write_error then
    dbms_output.put_line('UTL_FILE.WRITE_ERROR');
    utl_file.fclose(file_handle);
    when others then
    dbms_output.put_line('other stuff');
    utl_file.fclose(file_handle);
    end samba_extraction;
    end xx_samba;

    Hi,
    Initialise one variable TOT_ROWS to 0.
    Then in the for loop
    tot_rows := tot_rows + +1 ;
    so after for loop the value in the tot_rows will be the total records..
    If u want it to get this value in the calling procedure of this , just declare tot_rows parameter as out parameter.
    For sum of a column:
    Initialise a variable sum_col to 0.
    In the for loop
    sum_col := sum_col+I_info.column_name
    aprameter if u wish return this value as out..
    I think this wil give u the o/p..
    cheers,
    Sivarama

  • Count total number of rows present in the schema

    Count total number of rows present in the schema including table, sequence, view
    Desirable Output
    table          Sequence     Views
    1000          20          1000

    You mean You need to count the No of Tables, View and Sequence Present in the Schema ??
    Hi Some thing like this,
    SELECT a.view_cnt AS "View Count", b.tab_cnt AS "Table Count",
           c.seq_cnt AS "Sequence Count"
      FROM (SELECT COUNT (*) view_cnt
              FROM USER_VIEWS) a,
           (SELECT COUNT (*) tab_cnt
              FROM USER_TABLES) b,
           (SELECT COUNT (*) seq_cnt
              FROM USER_SEQUENCES) cWhich give you,
    View Count      Table Count      Sequence Count
           153              878                   32Thanks,
    Shankar
    Edited by: Shankar Viji on Aug 28, 2012 3:03 AM

  • How do you get  the count of number of  checkbox selected?

    hi,
    plz tell me how do you get the count of number of checkbox selected?

    Not sure what you are doing so I will attempt to answer your question. If have one question which can have multiple answers you have will recieve an array so you have to do getParameterValues("name") and move it into an array.
    If you have multiple questions and only value will be selected do a getParameter("name") on each form element.
    HTH, if not provide more detail.
    J.Clancey

  • Unable to close home page tab or unable to close firefox by closing home page tab (when if that is the only last tab remaining in the browser

    Recently I noticed that I could not close my browser by closing the last tab, which is nothing but home page tab. also noticed that when I open my browser and after opening many other tab if I want to close home page tab I could not close. If I closed it then I cant navigate or surf from that tab.
    This may be due to some add-on causing trouble.
    The problem does not arise in safe mode. Also if I group tab after closing, it is counted as tab but I cant open that particular tab.

    # Click the orange Firefox button, then select Options to open the options window
    # Go to the General panel
    #Change the setting "When Firefox starts" to "Show my home page"

  • Universe object that returns the number of rows in table?

    Is it possible to create a Universe object to support the following SQL query:
    SELECT * FROM (SELECT ROWNUM rownum1 FROM TABLE) WHERE rownum1 = (SELECT (MAX(ROWNUM)) FROM TABLE)

    Amr,
    Hey dude, welcome back, long time no hear from you.
    You were on the right track with "number of rows", but here is the correct syntax:
    =NumberOfRows([Query 1])
    Thanks,
    John

  • How to count number of rows in table

    can I get number of row in table except Count(*) in pl/sql
    is there any other way

    Also posted and answered here
    how to count number of rows in table
    count(*) will be the fastest way. It is only slow if the table has a vast number of rows, in which case why do you need to know the tables has 73552436467721 rows and not 73552436467737 rows. It doesn't seem to be much use. Either that or you are counting them a lot, which again seems rather pointless.

  • How do you uninstall the lateswt firefox and REGAIN GOOGLE SEARCH (ONLY) for my home page. thank you.

    just updated with latest firefox - please tell me how to get rid of it and go back to what previous firefox I had with ONLY along with Google Search as my only home page

    You can set your home page in the Firefox preferences/options on the General tab. Select Show my home page from the drop down menu. You can then set your home page by entering the Web address (URL) in the home page text box.

  • Everytime I open Firefox - it takes a really long time and reopens the Firefox Update tab that says "Choose your Persona" and "More ways to Personalize" tab along with my regular home page tab. Sometimes it tries to load the add ons too and takes a reall

    Every time I open Firefox it tries to install the same updates (that I don't want) and the Firefox 3.6 "Choose Your Persona" etc. tab opens along with my home page tab. It takes a really long time to get onto Firefox because of these problems.
    == This happened ==
    Every time Firefox opened
    == Don't remember

    Well, this worked on my desktop! But my problem is on my laptop. :-) I'm running XP, but there was no "Username" under Documents and Settings under the C drive. I did a search for those file names and it wasn't there. I found Mozilla Firefox folder under: C\Documents and Settings\ All Users\Start Menu\Programs\Mozilla Firefox. There are 2 - 1 is Mozilla Firefox (shortcut) and the other is Mozilla Firefox (Safe Mode). I did a Mozilla Firefox search and this is all that showed up.
    When I click on the shortcut link (the 1st one), it opens up 2 screens of Firefox. One is the "this is embarrassing" screen. The other is "Choose your Persona" screen. I closed it and reopened and it took me to my home page.

  • Why does my home page tab no longer have the new tab cross in firefox 5

    I have just updated firefox from 4.6 to 5.o, but when I load it the new tab cross on my home page tab is missing. I can put one in by Ctrl/T, but would prefer to use the cross.

    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    * https://support.mozilla.com/kb/Menu+bar+is+missing
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the <u>"Restore Default Set"</u> button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization

  • Can the cell lines be removed from a table inserted in a Pages document?

    Can the cell lines be removed from a table inserted in a Pages document?

    Inspector > Table > Table > Cell Borders
    The buttons immediately below "Cell Borders" allow you to choose left, right, inside, outside etc.
    Choose None from the border style Pop-up.
    Download the Number'09UserGuide from the Help menu in Pages. Search for borders.
    Regards,
    Ian.

  • I got an unused Adobe After effects CS6 from an ebay seller.He said the disc was cracked and sent me the 24 digit number key.Do I still need the disc to get the program?And where do i input the 24 digit key?Also do I have to sign up for CC I can't afford

    I got an unused Adobe After effects CS6 from an ebay seller.He said the disc was cracked and sent me the 24 digit number key.Do I still need the disc to get the program?And where do i input the 24 digit key?Also do I have to sign up for CC I can't afford that monthly charge.

    You can download from the page linked below:
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html

Maybe you are looking for

  • Report with 5 ALV grids on 1 screen

    I am trying to build a screen/report with 5 ALV grids which are interactive. One grid will display all sales order. When I click on a Sales order Hotspot, the items of the sales order would appear in the ALV grid box below. When i click on an sales o

  • Finder Issue and App Issue

    What can I do to not have the Finder window appear after starting up or restart? I only want the desktop to appear not Finder windows. I have an application that sometimes will not quit even though it will disappear from the screen. Noticing in the d

  • Multiple Selection For Selections screen field

    Hi Friends , Can any body tell me how to create multiple selection for a field in selection screen and how to capture all those values of that fields in program for database selction. Suppose i am having document number EBELN from EKKO exists in sele

  • How can a change a "permission denied" in a JavaScript use on Facebook ?

    Hi, My problem is : On facebook site, clicking on a result from the "searchbox" doesn't rediret me on that page like it used to ( and should )

  • How to move photos from one user to another

    I have photos in iPhoto on one user but I need to move them to another user on my iMac.