Calculate fields do not work

I am fairly new to working with Adobe Acrobat 9 Pro, JAVA Scripts, and PDF files. So this may sound as a newby question. I have a PDF that has tons of fields that are filled in under program control from a database. When the PDF is rendered to my MVC View, the PDF comes up and the the fields display the correct values but the fields that hold the Total Values are all Zero (0). These calculate fields I went into Properties, Calculate Tab, and then set the Value Set Is to (Sum +), then picked the fields to be Summed. to test it, I set the default values of the fields to one (1) and the field I set to calculate the Sum shows the correct number. Then I Saved the PDF file and moved it to my MVC folder. When I run the program and tell it to render the PDF, the PDF is called up, values are filled in, and the PDF then displays on the screen. The filled in fields all have the correct values but the calculate fields display Zero (0).

It could be related to the application you're using to display the files.
It sounds like this is some sort of custom application, and not Adobe
Reader or Acrobat. So it could be that this application doesn't support the
JavaScripts that are embedded in the file.
Another option could be that since you're populating the fields from a
database, the calculation scripts are not triggered.
To do that you could try embedding a piece of code in the document that
will force it to refresh the calculations when it's opened.
The code to use is:
this.calculateNow();

Similar Messages

  • Field value not working as "Can grow" when exported in PDF

    Hi, I have a unique problem. We have a report which is using a sub-report. When we run that report in Crystal report and preview then it looks fine. This subreport is designated as "can  grow" so if the field length is bigger than the size then it is coming in the second row. Everything works fine except when we export this report in PDF.
    When we export in PDF then this field is not working as "Can grow" and remaining value of the fields is  truncated. This is happening both in XI and 2008 version of Crystal client.
    Thanks,

    Hi, This is declared as bug by Business Objects Support and Product team will decide if they want to include fix in next release (or fix). This is not possible before Dec 2009 or Early 2010. 
    Below are the general steps on how to apply the suggested workaround:
    1. Remove the on-demand subreport caption, and add an empty string to it instead.
    1.1 In the u201CDesignu201D view of the report, right click on the subreport and select u201CFormat Subreportu2026u201D
    1.2 In u201CFormat Editoru201D window, under the tab u201CSubreportu201D, click on the u201CX-2u201D button of the option u201COn-Demand Subreport Captionu201D
    1.3 In the u201CFormula Workshopu201D window, highlight the text in the formula, and cut it. ( Ctrl-X)
    ( We are just copying the text, as we need to use the samething for the formula or text object we will use to replace this. )
    1.4 Type the following in the formula: u201Cu201D
    1.5 Click on the button u201CSave and closeu201D, to close the u201CFormula Workshopu201D
    1.6 Back to the u201CFormat Editoru201D window, click on the u201COKu201D button to accept the change.
    2. Create a formula or insert a text object in which you add the text or fields you will like to display
    ( In the following steps we will be using a formula )
    2.1 In the u201CField Exploreru201D, right click on u201CFormula Fieldsu201D and select u201CNewu201D
    2.2 In the u201CFormula Nameu201D window, type the name of the formula. ( Example: My subreport caption )
    2.3 In the u201CFormula Workshopu201D, copy the text you cut in step 1.3, or simply add the database fields and text you will like to display for your on-demand subreport caption.
    2.4 Save and close the formula by clicking on the u201CSave and closeu201D button
    3. Insert the formula over the on-demand subreport, and resize the field to be of the desired length.
    4. Format the formula to display like a hyperlink. ( Blue font and underlined text )
    4.1 Right click on the formula inserted in step 3, and select u201CFormat Fieldu2026u201D
    4.2 In the u201CFormat Editoru201D, under the tab u201CFontu201D, set the color to blue
    4.3 Still under the tab u201CFontu201D, check the u201CEffectsu201D option u201CUnderlineu201D
    4.4 Under the tab u201CCommonu201D, check the option u201CCan Growu201D
    4.5 Click on the u201COKu201D button to accept the change
    5. Move the formula to the back in order to ensure you can drill-down on the on-demand subreport
    5.1 Right click on the formula inserted above the on-demand subreport and select u201CMove u2013 To Backu201D
    Now, when exporting the report to PDF format, the formula used to replace the u201Con-demand subreport captionu201D that displays more than one line will all be exported.
    This workaround has following limitations:
    The User can see the service description in two lines because of the u2018Text Objectu2019, the On demand subreport is not growing into the second line in the crystal report since we removed the caption.
    So the user has to carefully click on the first line of the description in the main report to open the subreport. If he clicks on the second line then it wonu2019t open the required subreport and it may create confusion.
    If we manually stretch out the subreport to occupy two lines space then it will leave a gap in between when we have only 1 line service description.
    So plan ahead of time about how lengthy text in su-report would be.

  • Field selection not working in Calculate tab

    Hi, I'm trying to use a simple "Sum" calculation and it is suddenly not working.  I can't select individual fields.  "Select All" will put a check mark in every field.  Trying to pick the four fields I need does not.  I used this feature successfully in the past but cannot understand why it won't work now.  Please help!  Thanks in advance.

    Use the space-bar or click a bit off to the center of the check-box to toggle it. It's a known bug of Acrobat (I answered this same question like 3 times in the last two days alone...).

  • Dynamic Action with field DIVGV not working

    We have built the dynamic action below to default values from infotypes 0007 and 0008 behind the screnes in infotype 0491 Payroll Outsourcing. The issue that we are having is that the dynamic action will not work for field P0008-DIVGV, but will work with all the other fields.
    The only difference between the DIVGV field and the rest of the other fields mentioned in this dynamic ation is that it seems to be a free text field (which you can modify), even though the values are pulled from the work schedule rule in infotype 0007. We have also hidden the DIVGV field in 0007 per client requirement.
    Does anyone have any suggestions on how to get this working. Do we need to populate these values in any of thh HR tables first?
    06     10     *     *** COP 0491 US PAYROLL OUTSOURCING ***
    06     12     P     T001P-MOLGA='10'
    06     14     I     COP,0491,,,(P0008-BEGDA),(P0008-ENDDA)/D
    06     16     W     P0491-OTF06='PS TYPE'
    06     18     W     P0491-OTV06=P0008-TRFAR
    06     20     W     P0491-OTF07='PS AREA'
    06     22     W     P0491-OTV07=P0008-TRFGB
    06     24     W     P0491-OTF08='WORK SCHEDULE RULE'
    06     26     W     P0491-OTV08=P0007-SCHKZ
    06     27     W     P0491-OTV09='WORK HOURS/PERIOD'
    06     28     W     P0491-OTV09=P0008-DIVGV

    Hi Damas,
      it seems to be no specific reason for not updation P0008-DIVGV only.Please cross check whether field is populating or not in Infotype 0008, before dynamic action triggered, other that that there is no reason.

  • Suddenly can't enter anything in some blank search fields, dropdowns not working, and javascript popups freeze randomly. WTH?

    I noticed a few random things not working on my computer in the last month or so, and I tried everything I can think of to figure out what it is...still haven't figured it out yet. Some examples - I was on ebay, and the tracking number I clicked on from the "My ebay" page popped open a javascript window, but then froze the page so I had to close the whole tab. Then on Grooveshark, the main page comes up, but if I type anything in the search field, I can see what I'm typing, but at the same time, I can still see their default search message. If I try to enter something and hit search, it just gives me the warning that I'm being asked if I want to leave the page, it never searches. There are a few other times I can think of that I tried to use a dropdown menu, and they don't always work - they just look like they're being clicked, but nothing shows. Also not sure if this is related or not, but it bears mentioning - I tried to install Freecorder, and even though I tried both the toolbar and just the button for installation options, it doesn't show up for me to use it, and that's with adblock plus disabled. Also not positive my last update of Adobe Flash took, even though I downloaded it.
    I have adblock plus, but I've had that for years now, and it's never caused a problem or stopped me from seeing anything I actually wanted to see. My system was pretty bada** before this, and it's frustrating that suddenly I can't go everywhere and do everything I could before. Why is it doing this, and can I fix it??

    Meh...if I had started here instead of trying to research this randomly, I would have fixed the problem weeks ago. I just did a Firefox reset, and tried all the things I mentioned in the OP, and it all seems to work fine now. Well, aside from Freecorder, but I can make that work another way, I guess. Anyway, Firefox reset = solution. Yay!

  • How do I resolve: Field Selection dialog [Pick... button] in "Mark as read-only" section of Signed tab for Digital Signature field is not working

    I am using Acrobat Pro X on Windows 7 Enterprise x64 to create a form. When I have a simple form with a few fields, I am able to use the "Pick..." button to select the fields I want to select, but in a more complex form (20 fields with 3 Signature fields) The Field Selection dialog does not work. I can make the selections, but they are not saved. Removing fields does not resolve issue. IF I start with a blank form and add a few fields, the dialog will work, but after adding more, it quits working. Reader XI is also installed.

    And that is why many responders use only the custom JavaScript calculation option.
    The UI for the select fields and simplified field nations are only a way to pass field names to a JavaScript function that performs the actual calculation. Sometimes these functions call other functions and pass the parameters can lead to errors in the attempted code.
    I would start to learn code JavaScript for Acrobat.
    The pick field dialog is for performing calculations involving sums, products, averages, minimum, and maximum. I am not sure how that would work with a digital signature. Once a signature is applied the form fields could be locked.

  • Field symbols not working in data transfer VOFM routine

    Hi,
    I have been trying to set a value using field symbols, however for some reasons its not working. I am using a field symbol in a data transfer routine and the value which I am trying to set is a standard field outside the VOFM routine code.
    I am trying to set a  field gla_subrc which is actually a changing parameter.
    The actual paramter is gn_subrc of type sy-subrc and within the form the name is gla_subrc. I need to set this changing parameter gla_subrc using the data transfer routine.
    Is there a specific rule that field symbols dont work for changing paramters within subroutine or is there a specific syntax.
    The syntax I am using is
    ASSIGN ('(SAPLV50S)gla_subrc')  to <fs>. 
    I also used the local program name instead of main program but still that does not work. Tried using the actual parameter as well.
    Can someone please help me in this.
    Thanks & Regards,
    Naresh.

    I need to stop outbound delivery creation against STO using vl10b transaction. The only way to stop creation is using data transfer delivery VOFM routine.
    If i give an error message MESSAGE E001, this will give a hard error which is not acceptable. To avoid this, i use a perform message statment with message id and certain parameters which can displayed in a log.
    However to make sure this message is displayed in log, I am clearing a work area having specific data needed for delivery creation.
    Because of this clear, my error message gets captured in log but along with this another fake message is displayed in log which caused by the clear message.
    The user gets confused as he now sees 2 messages, 1 which is correct and other 1 which is fake and that confuses him.
    Data transfer routine is not the best place to give messages in log but we have very few options. The only way the system can give 1 message is if i set gla_subrc to 1. This is a variable which will help the system understand that the delivery should not be created as there is something wrong because the value is 1. Hence it will stop the creation and instead display whatever message i had passed to the log.
    I need to somehow set this variable to 1 based on lot of analysis that has been done in the past.
    Please let me know if there is any way by which we can fix this.
    Thanks & Regards,
    Naresh.

  • Auto field mapping not working

    Hi,
    I am working on LSMW for transaction DGP2. for the 5th step (  5 Maintain Field Mapping and Conversion Rules), this functionality is not working niether I am able to assign manually. The source structure might have problem. How should I find out the error in which step and how to sort out that?
    Thanks in advance,
    Rgds,
    Madhuri

    Hi Chenna,
    I have given same structure for this one. Still its not working.
    please help.
    Thanks
    Rgds,
    MAdhuri

  • The Relate Field is not working, why ?

    Hello,
    I'm editing the Customer Statement Report (Collection Report) from the System.  I need the Customer Reference Number and it never works with the original system report.  I don't understand why I don't have anything there because I did save data in those fields.
    So tried to pick the A/R Invoice : Customer/Vendor Ref No field and paste it in the report.  Then I extract the Invoice no from the reference field and I use it in the relate field.  But it's not working, it only points on the first record.  Why ?  Do you know why ?  If I could do a formatted search it would be done already.  It's simple I want do do a simple SQL query....
    Message was edited by:
            Daniel Gagnon
    Message was edited by:
            Daniel Gagnon

    Ok, I did like you said.  And I got the reference number, but I'm missing many rows of transactions.
    If I run the report from the "By Journal Posting" I got my 5 customers and all their transactions.  But this way, I can't get the reference number.  But with the "By Document Sales" I got only 2 customers with few transactions. I must see all the transactions and all the customers.  All those customers had at leat 1 invoice and the incoming payment related to that.  But I don't see those with "By Document Sales".
    Instead I began to work on XL Reporter to do the same thing.  But I can't find a way to insert a Page Break after each customer.
    The best would be to do it from SAP, but without the reference number and all the transaction, the report of SAP can't be used...

  • Hot key(Ctrl+F1) for More field help not working

    Hi all,
    I am facing a strange problem. When I have run my WD application there will be some UI elements on the browser say one Input field. If I want to check the More information about this input field, I have to make a right mouse click on it and the More field help appears. By this I am getting the technical information about the UI element.
    The Hot key to do this is Ctrl+F1. It's not working with in my server, it's just open the Internet explorer Help. Although I am able to use this Hot key in an other server to find the More field help.
    Can anyone suggest me why I am not able to get the More field info from the Hot key Ctrl+F1 in my server. Is there any setting which needs to be made in my server.
    I have also tried out to check the HandleHotKeys property of the ROOTUIELEMENTCONTAINER in my view but it's not working for me as well.
    Please suggest what will be the reason.
    Thanks
    Sanket sethi.

    Your right, I was thinking the opposite - that it wasn't working in 7.0.
    Perhaps this change is becuase F1 now launches the Help Center as of 7.01 and higher.
    I'm not sure there is a hot key associated with the more field help any longer.  I checked the javaScript and F1 is tied to the "help" event (the help center).  Alt, Shift or Ctrl - F1 are all routed back to the browser help functionality (bHelp). See this screenshot:
    http://farm2.static.flickr.com/1382/4606421952_5824ee1507_o.png

  • Smartforms: Output Options for Field Contents not working within table

    Hello,
    to display an amount and its unit I am using &GS_MM_IT_GEN-MENGE(R)& &GS_MM_IT_GEN-MEINS& with a line of a table. Unfortunatly it seams that the output option "R" (right-justified) is not working with the table context. Has anyone an idea, what to do?
    Thanx,
    Peter

    Dear all,
    thank you for your suggestions. I have found out, that the output option work pretty well as described in the documentation. The are output options of a field and not of a column! To get a right justified column, I had to change the attribute of the parapraph assigned to the column.
    Regards
    Peter

  • On Android 4.2.2 on a Nexus7 tablet - No Firefox button and most text entry fields do not work at all

    I installed Firefox 19.0.2 and appears to be ok, but I don't see a Firefox button anywhere, so I cannot access any of the functions that it controls, such as bookmarks, which is why I installed it!
    The ASUS Nexus 7 tablet shows up as a supported platform.
    I set it as the default link browser, but quickly realized that I could not enter text into any data entry fields, so I reset the default back to Chrome, which works fine for that.
    I installed Firefox because bookmarks in Chrome are very lame, but I can't use bookmarks at all in Firefox, so again Chrome wins.
    Any suggestions, before I uninstall it?

    I am now a Democrat supporter. dccc.org does accept text input from my mobile.
    The forum problem I mentioned earlier is apparently a known issue but only affecting legacy phones.

  • Printing "Form Fields Only" not working correctly in Adobe XI

    I have a pdf form with fields including check boxes. If I print this form with all fields it prints correctly, but if I select "Form Fields Only" then all check boxes print as checked regardless of whether or not they are checked. When I use this form in earlier versions of Adobe I do not get this problem. Any ideas or solutions?

    Also the "PrintParams" properties require version 6 or above of Acrobat/Reader.
    One has to review the Acrobat JavaScript API for all sorts of version variations in the way Acrobat's JS object works. And the documention is not always correct.

  • Multivalued lookup field validation not working

    Hi Experts ,
    I have a scenario where one of my table is looking to a multivalued look up table .
    I have placed a validation on the main table , which works fine if the first value is selected properly , but if i select a wrong record (which should fail according to the vlidation ) it does not fail .
    Eg : For a multivalued field first value i have slected as "TRUE" (which is correct ) - No validation error (as expected)
    again if i seltect another value "FALSE" (WHICH IS WRONG) - No validation error ( Not as expected)
    on the other hand if i select the wrong value in the first attampt the validation fails (which is as expected) .
    Please let me know what has to be done .
    Regards,
    Vignesh

    Hi,
    Can you please explain in details whats your requirement is?
    Many thanks
    Regards,
    Kiran

  • Auto resize of form fields does not work as supposed

    Back in the good old (?) days of compiling as Flash (as opposed to Flex 2) input fields in a form component could be made to streeeeeeetch automatically to fit the varying width of a model. If one  chose "Fit contents = Fit width" for both the iview, and the specific form in the iview, then the fields in the form would resize to fit the width of the loaded window (which of course varies depending on screen resolution and window size).
    Now we have upgraded to SPS 18 and I no longer am able to deploy as Flash (it fails at runtime) so I am left with Flex 2 (which is not a bad thing besides this one issue).
    I have tried all possible settings for my iview and form layouts, but nothing works as it did with Flash. I simply cannot get the fields to resize.
    Can anyone help?
    Henning Strand

    Just received this from SAP:
    17.04.2009 - 09:20:53 CET - Reply by SAP
    Hi Henning
    Thanks for contacting SAP and providing with most of the details required to analyze the issue.
    As per note 1235408,this is a known issue with Flex2.
    Visual Composer UI elements are displayed relative to the browser size and not relative to each other.
    Solution: None; there is no relative layout available for the Flex 2 runtime.
    Workaround: Choose the "Actual size" option in the "Fit contents" list in the Configure task panel of the UI elements.
    Please refer to the note for workaround on the issue.
    See mentioned note if this also applies to your problem.
    Henning

Maybe you are looking for

  • How to whitelist mail sender?

    My sister's e-mails have been ending up in my junk mail folder quite often of late.  We often share short messages with links, and she's one of the few people whose links are virtually always of interest to me.  Even messages in reply to messages I o

  • Refresh groups to administer several materialized views?

    Hi, I had three materialized views in my database. They are used for decision support and access local data. Each one is completely refreshed at a distinct time during the night. Now, application developers asked for more 3 materialized views. Althou

  • Oracle errors(Urgent)

    Hai all, Can you please tell me what are the critical oracle errors (critical meaning any of the these errors come then your application can not run at all . For Example DB Connection loss or Disk is out of space etc..) that can come ? If these error

  • Mac osx 10.4.11 and HP Deskjet 3520

    hi , I have perfectly functioning Max on OSX10.4.11 and just got HP Deskjet 3520 and info says I need OSX 10.6 minimum- any way of making printer work on 10.4.11 ? cheers GT

  • Restored ipod not updating entire itunes music library

    after restoring ipod to factory conditions, the ipod does not "update" all the music in my itunes music library. instead, both the ipod and itunes freeze. what needs to be done to complete an update? mac ibook   Mac OS X (10.4.7)