How can we Print Row count in OAf page

Hi,
I want to print No rows in adv. table in my page after i click search button in page..
i wrote code in AM as below..
B2BLookupTypeVVOImpl vo = getB2BLookupTypeVVO1();
System.out.println("total no of count"+vo.getRowCount());
But can i print this no. of records OAF page plz assit me in this
Thnk
chinna

use
pageContext.writeDiagnostics(this,"total no of count"+vo.getRowCount(), 2);
to read this line enable the statement level logging .
right top corner
Diagnostics--->Show Log on screen-->Statement1
now u will be able to see the statements .
enable profile "FND:Diagnostics" to see diagnostics on top right corner.
Thanks
Pratap

Similar Messages

  • How can I print an envelope from a Pages document ?

    How can I print an envelope from a Pages document?

    Not from a document, but there are envelope templates in Pages you can use.

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How can we export the data from OAF Page to Excel instead of .csv or .txt

    Hello,
    How can we export the data from OAF Page to Excel instead of .csv or .txt
    When i click on the export button it is exporting to txt file, But i need to export the data into Excel by default
    Please help me
    Thanks in advance
    Thanks,
    Raju
    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju
    Edited by: 1006649 on May 21, 2013 10:55 AM

    We have changed the below profile option to get the data in excel by default
    Profile Name Export MIME type
    Profile Code FND_EXPORT_MIME_TYPE+
    Existing Value: text/tab-separated-values+
    Change as: Excel
    Thank you,
    Raju

  • How can i print logo in all the page

    i've created a form(SAP script) which have  five page.pls can anybody tell me how can i print logo in all the five page?

    hi,
    u can try this in
          windows
    change window type as CONST or MAIN.
    cheers,
    sam

  • How can I print row and column headings?

    In AW6 I was able to select Appleworks in the print window and check if I wanted to print row and/or column headings. I have not been able to find how to do this in Numbers. Can anyone tell me how?
    Paco

    Paco wrote:
    I have not been able to find how to do this in Numbers.
    Perfectly logical, the feature is unavailable.
    Workaround:
    Use a row header and a column header to mimic the missing feature.
    In cell B1 I entered
    =CHAR(CODE("A")-1+COLUMN())
    and applied fill to the right
    CAUTION, this formula is OK only from colum B thru column Z.
    In cell A2 I entered
    =ROW()
    and applied Fill Down
    Then convert column A as header one
    convert row A as header one.
    Yvan KOENIG (from FRANCE dimanche 22 février 2009 12:28:34)

  • How can i print a AdvancedDataGrid in multiple pages with ColumnHeaders?

    Hi all,
    I need to print a AdavancedDataGrid in multiple pages with columnheaders in all pages.
    Rite now, i can able to print column headers in first page only.
    is there any chance to split the ADG into multiple pages with columnheaders??
    Thanks in Advance
    Shravan.

    Shardul,
    Thanks for your help.
    Your logic is working fine when i have a single datagrid.
    What i'm doing here is, i took a VBox(playout) and printing 2 ADG's in that,so the column headers of 2nd ADG are not printing when it continues to next page.
    Here is the sample code:
    custComp1
    custComp2 are ADG's
    <mx:VBox id="playout" width="100%" visible="false" includeInLayout="false"></mx:VBox>
    private function preparePrint():void{
    var x:custComp1 = new custComp1();
    var y:custComp2 = new custComp2();
    x.dataProvider = arrayColl1;
    playout.addChild(x);
    if(arrayColl2 >=1){
    playout.addChild(y);
    y.dataprovider = arryColl2;
    while(y.adg.validNextPage){
    playout.addChild(y);
    y.adg.nextPage();
    private function doPrint(event:Event):void{
    var printJob:FlexPrintJob = new FlexPrintJob();
    if(printJob.start()) {
    playout.includeInLayout = true;
    playout.visible = true;
    printJob.addObject(playout);
    printJob.send();
    playout.visible = false;
    playout.includeInLayout = false;
    is there any way to get column headers when we use printing multiple ADG's in a VBox?

  • How can I print only 'even' or 'odd' pages in Pages version 5.1?

    Hi,
    Sorry but I was not able to see it in the detailed Print menu. Does anybody know the solution?
    Thanks

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • How can I print only one or two pages, not the whole article?

    I just want to print one page not the whole article.  There is no provision for what pages to print.

    I don't know where they are in Word but the print dialog is standard throughout OSX and this seems logical enough.
    The only problem is the Paper Handling is hidden under Layout. But sort of makes sense.
    Peter

  • How can I print a JTable with varying sized rows?

    How can I print a JTable with varying sized rows?
    I am using java 1.5, and have made a cell renderer to display multiple lines in rows and it works well, however when I use the new print method it doesn't separate the cells onto the next page, it cuts them and will print the rest of the row on the next page. Does anyone know how I might go about making this happen?
    cheers

    I finally found out the reason, The column heights were being set through my renderer. If I hadn't viewed them in the scrollpane the row heights were set to the default height of 16 therefore when the print method was called it clipped all the rows wrong, what is weird though is that the row height printed out correctly but the clipping area was set wrong because it was getting the default value of 16 from rowHeight(row).

  • How can I get a count at the same time I am inserting into another table

    I have a requirement where I have to find out the count(number of records inserted into another table) at the same time I insert into the table:
    Like
    I am copying records from table B to A, while doing this I have to find out how many records I've inserted since I need this count in subsequent steps
    INSERT INTO A
    SELECT * FROM B
    how can I store the count into any variable while doing above statement
    Please advice

    No, Warren that doesn't work!
    SQL> set serveroutput on
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 15
    PL/SQL procedure successfully completed.
    SQL> declare
      2     vCtr  number := 0;
      3  begin
      4     insert into emp2
      5     select * from emp;
      6
      7     select count(*)
      8       into vCtr
      9       from emp2;
    10
    11     dbms_output.put_line('rows created '||to_char(vCtr));
    12  end;
    13  /
    rows created 30
    PL/SQL procedure successfully completed.
    SQL>

  • How to get  visible row  count  in JTable ?

    I have one table which is added to one scroll pane. For example my table have total 1000 rows, but at a time only 20 rows should be visible to the scroll pane. And I want to scroll the rows and show only 20 at a time.When user scrolls JTable then next time he can view only 1 to 21, then 2 to 22, and so on. I want to know how to get that number which represents the visible row( in this case it is 20).So kindly help me how to get visible row count. Any help regarding this will be appriciated.
    Thanks and Regards,
    Sheetal

    how to get visible row count.First you need to get the viewport used by the scrollpane. Then you can use methods like getViewPosition() and getViewSize() to get information about the current postition of and size of the viewport.
    Then you can use the table method getRowAtPoint(). to determine the first and last visible row which can then be used to calculate the visible row count.
    When user scrolls JTable then next time he can view only 1 to 21, then 2 to 22, and so onThis is the default behaviour when a "block" scroll is done.
    However when you click on the arrow button on the scrollbar it will only scroll a single row. You could override the getScrollableUnitIncrement() method to return the value from the getScrollableBlockIncrement() method.
    However the user can still drag the scrollbar manually which would cause a problem. So you would also need to remove the MouseMotionListeners from the scrollbar to prevent this.

  • How can we reduce Row Chaining?

    In a 10gR2 db, how can i reduce row chaining in tables?

    Hi,
    First, the prevention techniques for chained rows vs. migrated rows is a bit different. Note that both chained rows and migrated (relocated) rows manifest as "table fetch continued row" in v$sysstat and stats$sysstat for STATSPACK and dba_hist_sysstat for AWR.
    Preventing chained rows - Chained rows can occur when a row is to large for a data block. In these cases, moving large objects into a tablespace with a larger blocksize can often relieve chained rows.
    Preventing migrated rows - Migrated rows occur when a row expands (usually w2ith a varchar2 data type), and there is not enough reserve defined by PCTFREE for the row to expand. In this case, you adjust the PCTFREE to ensure that future rows will have room to expand and reorganize the table to remove the fragments.
    On some tables which are stored tiny and grow huge, you may need to set PCTFREE to a "large" value, so that only one row is stored per block. For example, if I have a row with a varchar2 that is stored at 2k and grows to 30k, I would need to use a 32k blocksize and set PCTFREE=95 so that only one rows is stored on each data block. That way, at update time, there will be room for the row to expand without fragmenting.
    Operationally, Oracle consultant Steve Adams offers this tip for finding the difference between chained and migrated rows:
    http://www.freelists.org/archives/oracle-l/10-2008/msg00750.html
    +"You can tell the difference between row migration and chaining by listing the chained rows with ANALYZE table LIST CHAINED ROWS and then fetching the first column from each "chained row" in a single query.+
    +The count of continued row fetches will be incremented for every migrated row, but not for most chained rows (unless the first cut point happens to fall with the first column, which should be rare)."+
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • How can I print some pages from multipage report

    Hello,
    I have created a multipage report in word. I would like the user to be able to print the pages selected (as in word printing: pages: 1, 2-3); 
    I am using Office 2007 pro, the LabVIEW Report Gen Toolkit, LabVIEW 2009, and Windows XP.
    I used the suggestion in thread:
    http://forums.ni.com/t5/LabVIEW/How-can-you-print-a-single-page-of-a-multipage-report/m-p/155233 , modifying the print VI that comes shipped with LabVIEW: NI_ReportGenerationToolkit.lvlib:Word_Print.VI.
    first of all I put two integer constants on "From" and "To" in the Invoke node (PrintOut), but Labview return an error:
    Error 1015 occurred at NI_ReportGenerationToolkit.lvlib:Word_Print.vi -> NI_Word.lvclassrint Report.vi -> print2.vi
    Then I searched for PrintOut Method in word 2007 Reference guide, and I saw that for using From and To the Range field must have the string  wdPrintFromTo;
    I insert wdPrintFromTo string  in RANGE Field and tryed.... same error......
    After that I change approach; removed all constants and used the field Pages; I put a string "1-2" connected to this field and now the printer respond, but all pages was printed!
    What's wrong?
    many thanks
    Attachments:
    print2.vi ‏18 KB
    parte comune.doc ‏43 KB

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How can I print to hp photosmart all in one 7280 from ipad

    How can I print to hp photosmart all in one 7280 from ipad
    This question was solved.
    View Solution.

    Hi,
    Although the C7280 is not AirPrint enabled, you may still print through the local network using the HP ePrint mobile app.
    you may find the steps to get and use the app in the following document:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02775166&cc=us&dlc=en&lc=en&product=3204785&tmp...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • How can i get data from jcalendar in format dd/mm/yyyy

    hello i want to get data from jcaledar in format 06/12/2009 10x

  • How can I redo my inital photo sync on my iPad 2?

    When I did the initial sync of my photos from my PC to my iPad 2, I only selected a few folders from My Pictures.  Now I'd like to add additional folders from My Pictures, but when I open the iPad 2 device in iTunes, I no longer have a Photos tab und

  • How to connect MySql database with JSP

    Dear everyone, how to connect MySql database with JSP......

  • Cisco MSE Best Practice

    Hi there, I have two MSE 3355, MSE-1 for wIPS and MSE-2 for Location. In the PI (Prime Infrastructure) site maps reports I can't look the wIPS attackers from the MSE-2 Location. It is possible to do this without having the wIPS license in the same se

  • Everything to trash

    We don't know how it happened but all our photos ,movies and documents went to trash. It's a lot of stuff. Our iphoto events appear as blank squares. At times, we can even see glimpses of what once appeared there. And I tried to move them to the side