How to know the total page number of the standard report

How to know the total page number of the standard report?
If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?

Hello Net,
Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
Excel Page Numbering with ActiveX:
http://forums.ni.com/ni/board/message?board.id=170​&message.id=194479&requireLogin=False
Number Pages in Word Report:
http://forums.ni.com/ni/board/message?board.id=170​&message.id=162972&requireLogin=False
There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
 http://msdn2.microsoft.com/en-us/library/aa223048(​office.11).aspx
Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
Thank you
Best Regards,
Dominic L.

Similar Messages

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • How to reference the total pages in a the after-report trigger

    I need to call a procedure in my after report trigger, and send the total number of pages as a parameter. However, a bind reference only applies to columns or parameters.
    I have the total pages displayed on my report, I just can't reference that field in my trigger.
    Does anyone have any ideas?
    Here is a link to my ultimate goal.
    Telling Form the number of pages in a report

    If any body is curious, I found a work around in Metalink that is working for me now.
    Search for Doc ID 130432.1

  • Which variable gives the Total Page Number in a report

    Which variable of Report can give me the total number of Pages. I want this information on first page itself. I want to refer this value in pl/sql thus i want to access the value programatically, and not just show in report as Page 1 of 10.
    Thanks,
    Sudhanshu

    This may help you! This is straight from the Help in Reports! More about this can be found by searching for Physical PAges in Reports Help!
    Suppose that you want to have the page number at the top of each page of your report. Furthermore, you want the page number to be of the form "Page n of m pages":
    1 Create a field named F_PAGE and set the Source property to &Physical Page Number.
    2 In the Field Property Palette, set the Page Numbering property by filling out the Page Numbering dialog box as follows:
    -Check Main Section and uncheck Header Section and Trailer Section because you only want to number the Main Section pages.
    -Type 1 in the Start At setting.
    -Type 1 in the Increment By setting.
    -Type &Report under Reset At because you don't want the page numbers to reset to zero until the report is done.
    3 Create a field called F_TOTPGE and set the Source property to &Total Number of Physical Pages.
    4 Do either of the following:
    -Hide these fields (i.e., set the Visible property to No) and reference them within boilerplate text:
    Page &F_PAGE of &F_TOTPGE
    -Alternatively, position F_PAGE and F_TOTPGE beside each other. Insert boilerplate to the left of F_PAGE that contains the text "Page". Insert boilerplate between F_PAGE and F_TOTPGE that contains the text "of".
    null

  • INSERTION OF THE LOGICAL PAGE NUMBER IN THE LOWER RIGHT CORNER OF PAGE (FOR PRINTING)

    How to make this

    Something to try.
    Use Acrobat's Add Header & Footer to add page numbers to the right side of a footer.
    Be well...

  • Page Number - Total Page number in Blocked ALV

    Hi Gurus,
      I need to print the page numbers like 1 of 5 in the ALV footer. Am able to print the current page number but am unable to print the total page number in the footer of the Blocked ALV. Can any one guide me how to display the total number of pages.
    Points will be awarded
    Thanks
    Ravi

    Hi,
    Please refer to the link below :
    http://www.sapdev.co.uk/reporting/alv/alvgrid_events.htm
    Thanks,
    Sri.

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • How to report current page number to the browser...

    I need to dynamicaly attach a script in a bunch of PDF files. The script will be attached when the user requests the document and the document will be embeded in the page like this:
    <embed id="PDFObj" src="test.pdf" width="100%" height="100%">
    I have a JavaScript in my webpage with a message handler:
    var PDFObject = document.getElementById("PDFObj");
    PDFObject.messageHandler =
      onMessage: function(aMessage)
        switch (aMessage[0])
          case "_pdf_PageOpened":
            alert("!_pdf_PageOpened!\n" + aMessage[1]);
            break;
    I'm using hostContainer.postMessage on Page/Open event and it works just fine when the event(action) is manualy attached.
    My question is:
    How to attach the Page/Open event on every page in the PDF file using script that runs on Acrobat Reader?
    In Acrobat Pro I can use Doc.setPageAction() but it doesn't work in Acrobat Reader that is embeded in the browser window.
    OR
    Is there any other way to report the current page number to the webbrowser for an embeded PDF?

    Hi,
    to get the current page, you can use the index of your master page ("Restricted").
    $ = $.parent.index +1
    and for the total pages use
    $ = $layout.pageCount()

  • How to print logical page number in TOC of report

    My report has three sections - header, main, trailer.
    after each group break in the main section the page number is saved using the srw.get_page_num(pageNum).
    this records are used to build the toc in the trailer section.
    Problem: srw.get_page_num delivers only the logical pagenum of the section,
    means if the header section spans more than one page (for example 2), the main section starts at physical pagenum 3.
    If I don't know how many pages my header contains I never have the real page number in my toc, beacuse i have to add the number of "header pages" to the saved pagenum of the main section to compute the "physical pagenum".
    Is there a possibility to save the physical pagenum in the header section (in a trigger) ?
    Message was edited by:
    [email protected]

    Thats my huge problem - i can not calculate the number of pages
    nor in the main section neither in the header section.
    The problem is not to know how many pages are in the trailor section.
    I have to know, how many pages are in the header section without to start multiple the report.
    If I have this number i can add it to the "logical" page number" of the main section to get the physical page number of the report.
    the page numbers of the main section are available.
    Message was edited by:
    [email protected]

  • How to find opener window page number

    Hi All,
    I have 2 pages. From page 1, I am opening page 2 as a popup. I want to find the opener page number, because the same page 2 is called form different pages.
    Please let me know is there any $x_ variable I can use instead of writing some code. I appreciate your help.
    Regards

    Thanks a lot Jari,
    Some reason it is not working,
    when I alert I am getting following output
    alert(' page no => '+ opener.$x("pFlowStepId"));
    output is
    page no => [object]
    Do you have doc list all these variables?
    I have one more question to same popup.
    I have window.doSubmit('DO'); after that I am doing to refresh parent page and close the window. But the do submit is taking some time and my parent pages is not refreshing the changes because of that ( it seems commit is taking some time).
    I there any way I can force timeout my logic looks like this
    window.doSubmit('DO');
    var w=self.setTimeout('',25000);
    do_parent_refresh();
    var w2=self.setTimeout('',25000);
    window.close;
    The problem is the timer is not working. If I have alert('') everything is working fine. Please help me.
    Regards
    Edited by: james. on Aug 1, 2011 8:33 AM

  • Save total page number

    Hi,
    I want to save the total page number of a report.
    Thanks

    Hi Palermo
    Get current page number using SRW.GET_PAGE_NUM procedure. You may want to keep running count of page number as Page Numbers resets at each section.
    Regards
    Sripathy

  • Is there a way where in i can know the total page of report?

    guys, i would like to know the total page of the report, i am using vb6 calling the report using RDC .
    below is the code why i am on a hurry to know the total page of the report.  i just want to add a loop that will process until a number of total hasn't been reach.
        '   picImage is your report picture object name.
        If Dir("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg") <> "" Then  
            'Replace Your Picture Path Value
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\182483-" & oSectionGH.ReportObjects(2).Value & ".jpg", vbLPCustom, vbLPColor)
        Else
            'Fill Blank Picture
            Set oSectionGH.ReportObjects.Item("picture1").FormattedPicture = LoadPicture("C:\Photos\182483\" & "blank.jpg", vbLPCustom, vbLPColor)
        End If
        Set oSectionGH = Nothing
    as you can see. i want the vb6 go to the last line "Set oSectionGH = Nothing" as soon as the loop reached the total page.  i will much more thankful, if you could modify this code for me and include the loop process.
    thanks in advance..

    Hi;
    I think we are not sure what it is you are trying to do. Could you explain a bit more what you are looking to accomplish? Do you want a specific image to appear on different pages, or something else?
    Regards,
    Jonathan

  • How to hide page number in the table of content

    Hi,
    I'd like to know how to hide page number in the ToC. They show automatically, but at least for the headings of third ad fourth order I'd like to suppress/omit them.
    Thanks for any advice!

    You have in the Inpspector > Document tab > TOC > uncheck button for #'s

  • How to corretly show the total pages when a list of data

    Hi,
    I notice the report result only show 1 of 2? when I click on the View Report in the first place. Indeed, the returned result are spreaded to 4 pages... The user needs to click >| button in order to go to the last page and click |< back to the 1st page
    so he can realised the result does have 4 pages and it is very misleading.....
    Any way to fix this ...?! Thanks in advance ...

    Hi kkcci88888,
    According to your description, you want to know total page number when previewing the report.
    In Reporting Services 2008 or later, on-demand processing has been changed. Reports are now processed and rendered page by page as a report user interactively reads through a report. When we view the report for the first time, it will display an estimated
    number of pages until all pages in the report have been rendered. In your scenario, we can add the TotalPages built-in field in the page header or page footer then hide the textbox. So the total pages can be calculated when processing the report then it can
    display in the navigation bar.
    Reference:
    SQL Server Reporting Services Tips and Tricks to Improve the End User Experience
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How can I remove the page number from the first page of the document that is the cover page?

    How can I remove the page number from the first page of the document that is the cover page?

    If you open the Pages panel, (Window>Pages) you will see thumbnails of your master pages and your document pages. In new documents, there is usually a master called A-Master and one called None. If you drag the thumbnail of the None master onto the thumbnail of a document page, it will apply that master to that page. Presumably, you have made your page numbers on A-Master, so this will usually do the trick. If you have elements on A-Master that you need on the first page, but just not the page number, you can duplicate A-Master (which, by default will give you B-Master, but you can change the names if you like) and remove the page number on the duplicate and apply that to the document page.
    It might also be worth noting that you can apply master pages in the fly-out of the Pages panel. Go to the fly-out triangle and go down to Apply Master to Pages…, then select a master to apply and the range of pages (1-8 will give you all 8, 1, 3, 5, 7 will be the odds, 1-3, 4, 6-8 if you want continuous ranges and individual pages).

Maybe you are looking for

  • Now I've really done it.  I need help with iPhoto as I can't get into it at all.

    I sent a request earlier regarding my MacBook Pro.  I was trying to set up both computers so that I could network, mainly wanted to send my photos from the iMac (running OS X 10.6.8 and iPhoto '08).  After some trials I got the two computers so that

  • SQL Developer 1.5.4 failed to migrate MS Access 2002 database

    Hello, I tried to migrate a MS Access 2002 Database to Oracle. Migration of tables failed in both ways: Exporter for MS Access Rel. 3.2.0.00.13 displayed the following error: Error #5 - XMLExporter - Ungültiger Prozeduraufruf oder ungültiges Argument

  • Cannot print pdf file in Adobe Reader XI

    cannot print pdf file in Adobe Reader XI, using Win 7. msg: cannot print, and pages not selected

  • Import Music from DVD?

    I have a DVD with a concert and I'd like to be able to import the audio portion of it into iTunes and my iPod. Can this be done??

  • Open query in one window

    Hi, I work with BI Portal using BI Portfolio in the Business intelligence role. I build folders (for query menu) and publish BI queries into these folders (KM folders). Every time I execute a query, a new explorer browser has been opened. My customer