Running calculation totals when adding pages

http://www.funkylogic.co.uk/equity.pdf
In a nutshell what I want to achieve is this: a cleint may own several properties, and have different percentage holding on each. Each property has a separate page of questions (the PDF above is that page). The first part of the equation is to calculate up the total equity in the property (TotEquity), and then based on the percentage holding (TotInterest), work out the individuals equity share for that property (TotalB). The form has the option to tell us about another property (addInstance), and we then have a second page with its own calculations and a new TotalB. This TotalB then becomes a running total for all pages added. Please can anyone help??

Hi,
Here is a version of the form: https://acrobat.com/#d=b*01ko6g2gn8Jqns9D1Hhg
It shows how to loop through the instances of Page1. It does not appear to be working correctly (by my eye anyway). I am not convinced of multiplying the two values in the script.
Hopefully it will give you a direction.
A couple of things: I would not be inclined to name pages with a capital 'P' (Master pages are 'Page1'), I tend to name design pages as 'page1'. The font you are using is adding to the file size. Something like Myriad Pro is much smaller.
Niall

Similar Messages

  • [JS CS3] Page side when adding pages

    Hello all,
    I am using a script to remove oversets by adding pages with linked text frames to the end of the document. When I am done removing the oversets, I check to make sure the document ends on a left page; if not, I am using the code below to add an extra page. However, the page ends up as a second right hand page right next to the previous one. How do I ensure that the page I add is a left-hand page. Thanks in advance.
    Rick Quatro
    rick at frameexpert dot com
    585-659-8267
    // Set a variable for the active document.
    var oDoc = app.activeDocument;
    // Call a function to remove the oversets
    // Make sure the document ends on a left page.
    if (oDoc.pages[-1].side == PageSideOptions.RIGHT_HAND)
    AddPageAndLinkedTextFrame(oDoc);
    function AddPageAndLinkedTextFrame(oDoc)
    var oPage = oDoc.pages.add(LocationOptions.AFTER,oDoc.pages[-1]);
    var oTextFrame = oPage.textFrames.add();
    oTextFrame.geometricBounds = GetPageMarginBounds(oDoc,oPage);
    oTextFrame.previousTextFrame = oDoc.pages[-2].textFrames[0];

    in "standard" document - without page shuffling, etc. - you can do something like this (VB):
    if mydoc.pages.item(a) mod 2 then
    ' right page
    else
    ' left page
    endif
    robin
    www.adobescripts.com

  • Zoom settings change when adding pages

    Hi
    When adding a page to a document with this code:
    app.activeDocument.pages.add(LocationOptions.AT_END);
    InDesign automatically reverts the zoom setting to FIT_TO_PAGE
    Is there a way to prevent this from happening?
    I would like that it should stay at whatever it was.
    Help will be much appreciated!
    Thanks,
    Davey

    Davey_Doo wrote:
    1) is there a difference between what I wrote "layoutWindows[0]" and what you wrote "windows[0]"?
    Yup, "layoutWindows" refer to just the layout windows -- the ones one is normally working in. The other kind is "storyWindows", which is what you get when you open a text in the "Story Editor". There are vast differences between the two, such as "zoom" (you cannot zoom in on the story editor window).
    Using "windows", without specifying the kind, you get a list containing both types; and using "windows[0]", you get the very first one, whether it is a story window or a layout window. Then, if it happens to be a story window, csm_phil's script will Crash & Burn because you cannot zoom in on a story window.
    Your version will work correctly, and just in case you might have a story editor window open, it's best to stick to "layoutWindows" if you want to change a layout window property.
    2) Although this does help, is there a way to prevent it from happening?
         The reason I ask is because in a script which adds many pages, (e.g., MultiPageImporter script), the script needs to do this after adding each page.
    No, you cannot prevent it in any way. It's just ID's default built-in behavior (although it seems strange that this only happens when using a script!).
    But I disagree with your assessment it needs to be done "after adding each page". ID does not store the zoom percentage for each separate page and so it is enough to read the current zoom, add as much pages as you like, then set the zoom.

  • Page side varies when adding pages

    Dear all,
    When i add pages in stacked document that will starts in left hand side as in the below screenshot
    it will change as right hand and new pages will inserted in left hand as below when added thru script
    of same spread but when do manually it ll insert correctly as below
    Please help me to do thru script as above.
    Thanks in advance,
    Sankar

    Shankar, activate the Pages window by press the F12 key.
    Activate the "Allow Document Pages to Shuffle"
    Activate the "Allow Selected Spread to Shuffle"
    As per the below screenshot. Hope it helps.

  • When adding pages, keeping size the same

    It seemed so easy but, NO. How does one attach pages from a file and keep the pages the same size?

    I may not described my problem clearly. The last page of the document I wish to add to, when it is displayed full-screen is shown to be 18.4% (Zoom to page level). The first page of the new document (File) I want to add, when it is displayed full screen, is shown to be 71.1% (Zoom to page level). The result of adding the new page is that, when the complete document is viewed, the last page (the newly-added page) is miniscule, compared to the preceding page. I simply do not have enough experience to figure out what to do.

  • Sparse templates (when adding page types)

    I'm not sure if this has already been posted in the forum, but I discovered it as I dealt with the growing number of templates, v1.1 templates, and custom templates that my iWeb now has. Also helps stub out the v1.1 'Blank' page type for older custom templates.
    When adding templates to iWeb, iWeb seems to like it's TemplatesInfo.plist to contain EVERY page type for EVERY template. However, as I'm developing a new template, I sometimes like to have just a few page types defined... or, sometimes I create a simple template for a simple site that only has a couple of page types.
    So, when I am defining the new entries for each template within a page type, I specify a bogus filename (I use "Unavailable.webtemplate") for any entry where I don't have that page type / template combination. For example, if my "DogDays" template only has a Welcome and Blog page type, then in every other page type the DogDays template's entry will use the bogus filename.
    Pictures help make this much more clear, so here's a page that I posted to remind me how to add a new page type... I use the bogus "Unavailable.webtemplate" in the example:
    http://web.mac.com/dovinci/iWeb/dovinci/New%20Page%20Types.html
    It also shows what the "page picker" in iWeb looks like.
    Mac Mini, PowerBook, MacBook Pro   Mac OS X (10.4.6)  

    Hi,
    The design for a calendar date box is determined by the "formRegionBody" class style (at least according to theme 12). You, therefore, need to update this.
    In theme 12 ("Blue"), this is defined in the css as:
    .formRegionBody {
    font-size:12px;
    font-weight:normal;
    color:#285577;
    background-color:#D7DFE6;
    border-left:1px solid #BFBFBF; border-top:1px solid #BFBFBF;
    border-right:1px solid #FFFFFF;border-bottom:1px solid #FFFFFF;
    You can either update the css or add the above in a style tag on your calendar page (adjusting the colours as required).
    Regards
    Andy

  • InDesign CS5 crashes when adding pages - is there an answer yet?

    Having scouted around I can see lots of people have this (or a similar) problem, but with far more specific circumstances than mine - e.g. in templates, or with documents created in previous versions, or when adding more than 10 pages, etc.
    Mine is a 'virgin' CS5 install, I've been away since PageMaker 6.5 and I'm not trying to salvage any of that stuff! Every time I try to add pages in the middle of a document it crashes, regardless of how many I try to add. A work around which sometimes works is to add them at the end of a document and then drag them to where they are needed.
    Looks like this problem is widespread, I see lots of people talking about it going back almost a year, but can find no mention of it or possible solutions from Adobe. Are these forums just a sop to the user, a place to moan and vent without ever getting answers or acknowledgement that a problem exists? No offence Adobe, but I don't have time to join a community or spend hours on forums, I'm too busy. I need software that works and timely answers.

    Pixate wrote:
    Looks like this problem is widespread, I see lots of people talking about it going back almost a year, but can find no mention of it or possible solutions from Adobe. Are these forums just a sop to the user, a place to moan and vent without ever getting answers or acknowledgement that a problem exists? No offence Adobe, but I don't have time to join a community or spend hours on forums, I'm too busy. I need software that works and timely answers.
    First, I don't recal more than one or two threads reporting a problem like this that wasn't related to some sort of configuration issue on the user's machine (notably the 3-column master issue that John has mentioned), and that hardly qualifies as "widespread" around here. Poviding full details about what version of ID, including the patch level, and your OS, along with exactly what you are doing, what happens, and any error messages you receive, and what you've already tried to solve the problem, will get you better help faster.
    Second, you are not talkint to Adobe here. If you want to waste your time talking to tech support, you need to do that on the phone. The people here are user volunteers. We don't write the code and have no influence over what happens in engineering, but we do have a lot of collective real world experience that gladly share, and there are very few problems other than genuine bugs that we don't solve. But if you don't have time to participate in the community there's a pretty good chance the community won't find time for you.

  • Missing fonts warning when adding pages to a book

    I have a book with 13 documents added and 105 total pages. I have 10 master pages set up, and each time I add (or delete) pages to a document, I get warning: "The document <doc>.indd needs to be updated but has missing fonts. It may recompose with a default substitute font and result in inacurate page numbers. Do you want to continue updating numbering?"  If I click OK to continue updating the numbering, sometimes an extra page gets added somewhere else in the document. Preflight Book is not showing any errors and I also tried looking at the preflight panel in each of the 13 documents. Neither says anything about a missing font. How else can I find it? Thanks!

    It could be in overset text (though preflight should see that) or in a style not currently in use. Are you sure the priflight profile is looking for missing fonts, bucasue is really does sound like there is substitution ocurring. Also, have you looked in Type > Find Font.
    If none of that is fruitful, I'd try exporting each of the documents to .inx or .idml, then opening those and saving as new .indd docs. Add the new docs to a new book and see if you still get errors.

  • Objects move when adding pages

    When I add/remove pages, or just move pages around in my document using the Pages panel, random objects on some pages move. They normally move just a slight amount, and stay with the page, but it is very annoying. I never know which objects will move, and I have to spend a lot of time trying to find the ones that have moved. Then if I move pages again, or add/remove pages, other random objects move. Does anyone else have this problem, or know how to stop it?
    Thanks!

    Try sending one of these files through .idml and see if it makes a difference. See http://forums.adobe.com/thread/526991  You may also want to try replacing the preferences. See http://forums.adobe.com/thread/526990  If you don't know what layout adjustment is, it's not likely that you've turned it on, and it probably wouldn't do this anyway except to move objects snapped to guides on master pages that have different left/right layouts.

  • ID CS6 crashes when adding page

    This has happened several times today. When I add a page ID crashes and I get this message:
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    InDesign.exe
      Application Version:    8.0.1.406
      Application Timestamp:    50335e39
      Fault Module Name:    TEXT.RPLN
      Fault Module Version:    8.0.1.406
      Fault Module Timestamp:    50336251
      Exception Code:    c0000005
      Exception Offset:    0029369b
      OS Version:    6.1.7601.2.1.0.256.48
      Locale ID:    1033
    plus some Additional Information
    anyone else having this problem?

    I'm also having these crashes whenever I try to add a single page to my document. If add 2 pages (or a even nunber os pages) everything goes fine.

  • CS6 freezes when adding page

    Mac OSX 10.7.5 using ID CS6
    When I try to Layout>Page>Add Page or Insert Pages etc. ID freezes. 
    All ID updates are installed.  Only fix tried so far was to restore preferences.
    Any help would be appreciated.  Have a deadline tonight, of course.

    More likley it's still file damage. Try rebooting and trash the prefs again. In case you don't know how to do that correctly, see Replace Your Preferences
    You might also want to look at Adobe Forums: InDesign CS5.5 Not Responding for instructions on how to generate a crash from your freeze and get the reports.

  • Redisplay calculated total

    Hi,
    I need some help.
    I have a simple 'query/single selection result' page. You select a row and go to a 2nd page where you can make changes to the details.
    One of the changes you can make is a quantity attribute which is part of an EO/VO. If quantity changes, the total amount is re-calculated and updated on a different VO. Total amount is a transient field of a VO without EO.
    The problem is I can't seem to redisplay this new calculated total when the 'apply' button is pressed even though I've updated the VO with the new value. It still shows the old value and I have to go back to the query page and redisplay to see the new value.
    I've tried the following but nothing is working:
    pageContext.setForwardURLToCurrentPage (playing with retain AM)
    ClearCache
    pageContext.putParameter(totalAmount)
    Any help or ideas is greatly appreciated.

    pageContext.putParameter(name,value) worked. I just had the wrong name.
    Thanks for your time.

  • Adding pages to iWeb

    when adding page to iweb, how do i move the name of the new page off of the top of the home page?  looking to have it on the bottom of the page..  thanks!

    Are you referring to the navbar at the top which are links to each page in the site?  If so then you'll have to deactivate (not include)  the navbar on each of the pages in the Inspector/Page/Page pane:
    Click to view full size
    and create your own Text Based Navbar which you can position anywhere.  However, there is a drawback to having the navbar at the bottom:  if the page is longer than the browser's window a visitor would have to scroll down the page to get to the navbar in order to go to a new page. That's not good web page design. 
    However, if the pages are long then having a navbar at the top and bottom is wise.
    OT

  • When Tab Page Changed Promble with FMX

    FORM 6i
    Problem is Run Form Exits When Tab Page B is clicked but all other Tab Pages(A,C,D,E) are working fine. There is no exit_form; code in when tab page changed trigger. This particular FMX was working fine in TEST sever over a year.
    What could be the Problem? I have renamed fmx toxyz_old.fmx put new xyz.fmx in test server this one run fine. But when I xyz_old.fmx ( exits when B tab page clicked) funny.
    Did any one of you guys had similar problem? or Could any one please tell me what was the problem?

    thats a problem. First try in this situation is a complete recompile of the form
    ctrl-shift-K

  • Since updating to FF 5.0, I can no longer access my MAMP server (Mac/Apache/MySQL/PHP) Wordpress development site on my Localhost computer (MacBook Pro, OSX 10.6.4). Why not? It's running EXTREMELY SLOWLY when I try to access the pages on my site.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

    PROBLEM WITH LOCALHOST SITE LOADING VERY SLOWLY (IF AT ALL) AFTER I UPGRADED FIREFOX TO 5.0 FROM 3.6
    I have been successfully running MAMP, a personal Apache server with MySQL, on my MacBook Pro using OSX 10.6.4. This is so I can create a Wordpress blog locally to later upload to my remote website.
    Yesterday, I updated my Firefox browser from 3.6 to 5.0 (and added the following extensions: Better Privacy 1.51, Bloody Vikings! 0.5.3, Copy as HTML Link 2.0, Firebug 1.7.3, Firepicker 1.3.4, NoScript 2.1.1.2, and Ultimate Free Stock Photo Search Add-on 1.0.1, TypeGauge 0.5, and Zotero 2.1.8)
    Now, I'm having trouble: At first, MySQL database server in MAMP wouldn't turn on at all. I restarted both Firefox and MAMP a few times. Finally, MySQL turned on and MAMP started to load into the browser. But it got only as far as the top bar on the MyPHP page, and would not load the rest of the page. Finally, pages do load, but I'm getting a "Waiting for localhost…" message looping at the lower left screen for a VERY LONG TIME (30-60 sec?) before my localhost web page appears (sometimes it says "Read localhost…").
    But even when the localhost pages appears, it continues to run VERY SLOWLY when the browser tries to load the pages (although it runs a little less slowly when I use only the backend Wordpress administration pages). In short, it seems that something is stopping Firefox from accessing the MySQL database properly so that my site can show up as quickly as it did before.
    Since this mess only happened after I upgraded to Firefox 5.0 and added the plugins, and nothing else has changed on my computer, it seems the Firefox 5.0 app and/or an extension is the culprit.
    Can you advise me ASAP about what to do? If not, I'll have to downgrade to 4.0 or something. I've got deadlines to meet.
    Thank you.

Maybe you are looking for

  • Sourcing Rules and Approved Supplier List in 11.5.10

    Does anybody know: Is it possible to default supplier information (and additionally source document information) into requisition and purchase order using sourcing rules and ASL for services, using only category and not item numbers? Thanks, Leonie

  • Oracle RAC training

    Does anyone know who offers hands on Oracle RAC training besides Oracle?

  • Deploy OSX 10.9 replica with OSX 10.6 master

    Hi, I have a single Mac OSX 10.6 Server , this is an OD Master. I plan to replace this with a new Server as the old one has some hardware issues, OSX 10.9 Server and I want to use this device to replace the current Mac Server. I would usually make it

  • Autofill Stopped working after Yosemite install

    I cannot get my autofill to work in Safari, I checked my Contact card, I made the Card Mine, Auto fill is selected Safari Preferences - AutoFill, I moved the AutoFill Icon to the Preference bar..... I am frustrated

  • IOS8 missing full access keyboard toggle

    With a third party keyboard installed, there's supposed to be a toggle for "enable full access" on / off. I just added a simple keyboard (simple key) - to get something with the row of number keys on top after all these years - and would leave full a