How can I get total number of pages in the folio?

Hello guys, I need some help.
I'm trying to get  the total number of pages in the folio, but, currently, I only success to get the total number of pages from current article, is there someway to get it? 
My code: gist:de1de89b493024815c3e
Thanks so much.

My first advice in situations like this is the double and triple check that this requirement still exists and it is driven
by the business.  This is great opportunity to refactor some unnecessary complexity out of the solution if you identify it.
Assuming it is a valid and verified requirement, how you approach depends on the composition of the Interchange.  Meaning, if you receive single ISA...IEA blocks with a single GS...GE, you can use the max of BTS.InterchangeSequenceNumber.
If you receive multiple ISA or GS's, it's a little different.

Similar Messages

  • Can I get total number of page in 'After Report' Trigger?

    Currently, I use the format trigger of a field in Margin. In the trigger, I use srw.get_page_num(page_num) to get the current page number and call a package procedure to update a record. For example, if the report has 10 pages, it will update 10 times. However, could anyone know can I use another method instead? (Get the total number of page in one, then no need to update it every page) Thank you.
    (using Report 2.5)

    Thanks. I know I can choose &TotalPhysicalPages in a field for displaying. But the problem is I need to update DB for that number. So I cannot refer that value of field to run a procedure in package for update the total page number in a record. Actually, this function is already done for years. (as I mentioned in my previous message) But I would like to know can I use another method to update it in one time instead. Thank you.

  • How can I get thumbnails of individual pages in the left margin of Acrobat 8?

    Hello:. I am not sure of the term, but in the past, when I opened a PDF in Acrobat 8, in the left margin, it showed "thumbnail" images of each individual page. I was able to jump from page to page without scrolling through the larger PDF image, and also select pages to print. This has now disappeared---how can I get it to return?
    Thanks very much!
    John

    That does it, thanks very much!
    John C Blacksmith
    [signature deleted by host]

  • How can I get Total Number of messages in an EDI Interchange

    Hi All,
     I am migrating a solution from Covast EDI to native BizTalk EDI and ran into an issue. In Covast when an Incoming interchange is debatched some of the properties like The total number of messages in an Interchange is saved into the XML of the debatched
    message. I am trying to find this value in Native BizTalk EDI.
     How can I determine this value? I only see the InterchangeSequenceNumber property which is only the sequence number of the a message in Interchange. 
    Thanks!

    My first advice in situations like this is the double and triple check that this requirement still exists and it is driven
    by the business.  This is great opportunity to refactor some unnecessary complexity out of the solution if you identify it.
    Assuming it is a valid and verified requirement, how you approach depends on the composition of the Interchange.  Meaning, if you receive single ISA...IEA blocks with a single GS...GE, you can use the max of BTS.InterchangeSequenceNumber.
    If you receive multiple ISA or GS's, it's a little different.

  • I have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    Do you possibly mean the contacts have been merged?
    If so, where are each of you syncing contacts?  A supported application on the computer? iCloud or another cloud service? An Exchange server?
    WIthout details, it's difficult to offer specific resolutions.

  • Did the update to OS 5...synched all my apps..then only 11 pages of apps are visible..the others are invisible..If I move an appfrom the 12 plus pages in itunes to a lower page...It becomes visible....WHY?..How can I get all 20 plus pages visible?

    Did the update to OS 5...synched all my apps..then only 11 pages of apps are visible..the others are invisible..If I move an appfrom the 12 plus pages in itunes to a lower page...It becomes visible....WHY?..How can I get all 20 plus pages visible?

    OK....First,you are right, OS 5 has the 11 page limit....you must create folders of Apps until you get below 11 pages of combined folders and apps...NOTE.....the upgrade to OS 5 killed all of my old folders and folder organizations...this may be an issue for all????.....I have over 300 apps so when the old folders went away...I was left with 20 plus pages....only 11 visible....It took me awhile to find out what happened....Since I have 64G it seems that 11 visible pages is a silly limit since the apps are on the machine...

  • How can i get a number of working days in a month PL/SQL

    How can i get a number of working days in a month(excluding Saturday and Sunday) in a query in PL/SQL ?

    Please do a search before posting
    sql>
    select count(*)
    from(
    select trunc(sysdate,'month')+rownum-1 dy
    from all_objects
    where rownum <= last_day(sysdate) - trunc(sysdate,'month')+1)
    where to_char(dy,'fmday') not in ('sunday','saturday');
    COUNT(*) 
    23
    Message was edited by:
            jeneesh
    Please try yourself to change the query to one that doesn't use a subquery..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I get Notification Number from Material Document?

    Can you please tell me that how can I get Notificatin Number(QMEL-QMNUM) from Material Document(MSEG-BELNR)?
    Regards,
    Subhasish

    This question is closed but unanswered.

  • How can i get serial number on my photoshop from creative cloud

    how can I get serial number on my photoshop from creative cloud

    Creative Cloud applications aren’t licensed with a serial number, they are licensed by logging into CC.

  • How can i get iban number in transaction FDTA

    Hi Abaper,
    How can i get iban number in transaction FDTA ?
    Thanks in advance.
    Regards,
    Sourav

    This is a bit past the last activity of the thread, but I just had an idea, that requires me to get the port number in the init.
    When this particular servlet shuts down, it generates an email. Since there is more than one instance running, I figured, I would put the HOST and PORT in the email.
    The problem with saving this information from a request, is say it gets shutdown before any requests are generated.
    The email then would have the HOST portion, but the port would be null.
    Ideally there would be a way to get the port(s) that the server is listening on.
    Thanks,
    Brent Parsons

  • How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    How can I get a version of Pages that is compatible with Mac OSX 10.6.8?

    Buy an iWork retail package from a source such as Amazon or eBay.
    (88544)

  • How can a get more than 1 page on a greetings card in elements 11

    How can a get more than 1 page on a greetings card in elements 11

    Some menu entries in the main menu bar are hidden if you use the mouse and only appear if you use the keyboard to open the menu (Bug 626825).
    You can see the difference if you use Alt+F to open the File menu or Alt+B to open the Bookmarks menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by tapping Alt or by pressing F10.
    * "Bookmark All Tabs" (Shift+Ctrl+D) no longer shows in the Bookmarks menu unless you open the Bookmarks menu via the keyboard (Alt + B).
    * "Bookmark This Page" can be accessed via the right-click context menu of that browser page.
    * "Bookmark All Tabs" can be accessed via the right-click context menu of a tab on the tab bar.
    See also:
    * [[How do I use bookmarks?]]
    * Bookmark All: https://addons.mozilla.org/firefox/addon/bookmark-all/

  • How can I get clip art on Pages like MS Word has?

    How can I get clip art on Pages like MS Word has?

    Pages will use any old graphics, of which there are bucket loads on the internet.
    You just drag, paste or import it or bring it in via the Media Browser:
    Menu > View > Show Media Browser
    If you want WordArt then you will need to create that in another program and bring it in.
    Peter

  • HT5622 How can I get on ICloud when it say the maximum number of free accounts has been activated on this iPad?

    How can I get on iCloud when it say the maximum number of free accounts has been activated on this IPad?

    A maximum of three new iCloud accounts can be created on a single iOS device. If you have already created three iCloud accounts (why?) then log in using one of those to start using it.
    Otherwise, you'll have to find another device to create an iCloud account on.

  • So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    Logging out of itunes store and logging in again has worked for some people

Maybe you are looking for