Why my script does not compute?

The first event is the calculation correctly, but the second event is not.  What is the problem with the script?

var A = Number (this.getField("OriginalAwardedBid").value);

var B = Number (this.getField("NegFinalPrice").value);

var C = Number (this.getField("CurrentVolume").value);

var D = Number (this.getField("Department").value);

var E = number (this.getField("Ttl_Proj_Original_Bid").value);

var F = number (this.getField("Ttl_Proj_Final_Neg_Price").value);

If ((D == "Domaine Sourcing», «entrepôt National", "Achats") & & (A!) (= 0) & & (B! = 0) & & (C! = 0))

{

Event.Value = (A * C)-(B*C) ;}

on the other

If ((D == "Category Management") & & (E! = 0) & & (F! = 0))

{

Event.Value = (E-F) ;}

on the other

{event.value = "0.00" ;}

Works perfectly!  1 million thanks!  You are a life saver

The game, 10:47, 8 January 2015, Gilad D (try67) [email protected]>

Tags: Acrobat

Similar Questions

  • Why my form does not compute?

    Can someone please tell me why all of a sudden that nothing does not compute when it was working fine earlier? I moved that a few small things around, but can't see why it won't calculate at all.

    http://www.milesmemorials.com/estimator.html

    First, make a backup copy of your page before doing anything else.

    First off, you have the input field 'minsiter_fee_crem' associated with 'Meeting place for service' select tag (cf. infra red): partner which, with the correct, select the tag option "Select Minister."


    £

    I don't know what of supposed to go in the field "Select the venue", because you don't seem to have a variable associated with relevent there so go 'civil_fee_crem', which was in the field "Select the Minister" in it?

    Then modify the script at the top of the page:

    minister_fee_crem = Number (document.catwebformform22057.CAT_Custom_00003.value)

    civil_fee_crem = Number (document.catwebformform22057.CAT_Custom_00006.value)

    If I'm honest I have no idea why some are written as:

    carry_fee_crem = Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_76923)) and others like:

    crem_fee = Number (document.catwebformform22057.CAT_Custom_76930.value)

    To get "additional services" menu work drop edit the script at the top of the page as below (copy and paste)

    total_funeral = 1640 + Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_76922)) + Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_00000)) + Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_76924)) + Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_76926)) +.

    (Number (document.catwebformform22057.CAT_Custom_76927.value)) + ((document.catwebformform22057.CAT_Custom_00010.value) Number) + Number (GetSelectedItem (document.catwebformform22057.CAT_Custom_76926))

  • Why my scripts does not work when scheduled in the calendar?

    Hello

    I created scripts to start and stop onedrive using the "Tell" command

    When I plan their schedule they fail to run.  They were created as programs and work if I launch them manually.

    Is there something that I am missing?  Or is there a better way?

    PS: Scripts are the OneDrive to run after hours to prevent it completely hogging my bandwidth to broadband.

    If there is a better way to control the use of bandwidth for OneDrive I would be grateful.

    See you soon

    Memn

    A workflow schedule alarm will not work unless it is attached to a local calendar ("on my Mac"), instead of a network such as iCloud calendar.

  • Why the script does not when I use the action "success: Show '?

    Hi all

    I have a group of objects, that are initially hidden from view. I also have a button on the slide, which is configured to display this group of objects by clicking on it.

    The timeline is put on pause after 3 seconds, allowing the user to press the button to display the hidden group - but when the button is clicked the timeline resumes, I don't want to happen.

    No idea how can I avoid this problem?

    Captivate 8.0.1

    By replacing the simple action by action standard oneliner. Take a look on:

    Why choose Standard Simple action? -Captivate Blog

    This blog also has a link to a YouTube video that shows the difference.

  • Why my script does not work on all files in the folder?

    Hi , here's a script I've hobbled together from various sources using the search function on this forum. It is supposed to replace dashes quadratins in a file in a folder. However, when I run it, it only works on a single file. After making the changes and closes the first file, it stops. Can someone help me troubleshoot and resolve the problem?

    var destFolder sourceFolder, files, type sourceDoc file, targetFile, pdfSaveOpts;

    sourceFolder = Folder.selectDialog;

    If (sourceFolder! = null)

    {

    files = new Array();

    fileType = "* .ai;

    files = sourceFolder.getFiles (file type);

    If (files.length > 0)

    {

    destFolder = sourceFolder;

    for (i = 0; i < files.length; i ++)

    {

    sourceDoc = app.open (files [i]); Returns the document object


    var active_doc = app.activeDocument;

    var search_string = '-';

    var replace_string = "\u2013;

    var text_frames = active_doc.textFrames;

    If (text_frames.length > 0)

    {

    for (var i = 0; i < text_frames.length; i ++)

    {

    var this_text_frame = text_frames [i];

    var new_string = this_text_frame.contents.replace (search_string, replace_string);

    If (new_string! = this_text_frame.contents)

    {

    this_text_frame.contents = new_string;

    }

    }

    sourceDoc.save ();

    sourceDoc.close ();

    }


    }

    }

    }

    you use the same variable (var I =...) for two loops, when you start to treat the first file I = 0, then after that loop you through all managers of related texts, I = 10 for example, then he wants to treat the next file, file [11] and if you have fewer files, it will stop, if you have more than 10 then it will continue...

    .. .change one of them to something else (var j =...)

  • Why this scriipt does not work with Firefox? &lt; embed src = "News2008Fall.pdf" width = '615' height = '3200' &gt; &lt; / embed &gt; "

    Please tell me why this script does not work with Firefox. It works with Safari. Here is the page that includes the script: www.lionsgatehoa.org/newslettertest.html. Thank you. Tom Engleman

    Here's the script in my html document:

    < embed src = "News2008Fall.pdf" width = '615' height = '3200' > < / embed > "

    Edit: removed # phone

    Works for me on Linux.

    Your system details list does not display the Adobe Reader plugin, so you'll have to (re) install this program.

    See:

  • Point culminating script does not work correctly

    I try to get the yellow filled rectangle to become visible behind the digital field when the numeric field is greater than "1". Can anyone help to see why my script does not work?

    https://Acrobat.com/#d=MJObRvA * l9tbFmrlHcMHUA

    Thank you

    -Don

    Hi Don,

    Your code does not work because because it is not actually executed. It's because of put you the code on the text box itself output event and this would require the user to move to that field and then leave the field and then run the code.

    I would recommend you change you form to add this code at the end of the code that runs your "addAttachment" button and then the form works as I expect.

    If (NumberOfAttachments.rawValue > 1) {}

    RectangleYellow.presence = "visible";

    }

    Hope this helps

    Malcolm

  • Describe in SQL script does not work as you wish

    Hello

    Could you please help me determine why this script does not work.
    He said that the date is not set.

    Thanks in advance


    set p_day_sh = & data_sh
    set p_rowid_sh = & rowid_sh
    declare
    date of p_day_sh;
    p_rowid_sh varchar2 (18);
    Start

    If & p_day_sh is not null then
    trains t update
    Set t.offdate = to_date ('& p_day_sh ',' DD-MM-YYYY HH24:MI:SS')
    where t.rowid = '& p_rowid_sh';
    commit;
    end if;
    end;

    Hello

    In a command SET, if the string to the right of the = sign contains spaces, then it must be in quotes: in the case otherwise, only the first group of characters, white space will be affected.
    For example:

    define p_day_sh = &data_sh
    

    If & data_sh has this value:

    11-06-2009 06:25:09
    

    then the DEFINE command is

    define p_day_sh = 11-06-2009 06:25:09
    

    and & p_day_sh Gets the value of the part to the workspace:

    11-06-2009
    

    Either eliminate the space, Alex has proposed, or place the chain on the right side of the sign = in double - quote:

    define p_day_sh = "&data_sh"
    

    The double quotes will not change the meaning if & data_sh contains no white space.

  • Why do I get a message from Script does not

    Whenever I turn on my computer and go on the internet (Firefox), I get a message from script does not always.  I always click the stop script.  For up to about half an hour, the computer is very slow and sometimes does not.  After about half an hour, the computer starts more smoothly.

    The complete message, I just had was: A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script ends.

    Script: chrome://divxhtml5/content/script.js:6

    I use norton 360 and Malwarebytes anti-malware to scan my computer for viruses and also auslogics disk defrag every week.  I also use Windows Vista, which he said can cause some problems.

    I spoke to a staff member of my internet provider who told me it was a simple problem to solve, but they could not advise me on how to do it.

    Thanks for any help.

    Hi johne278,

    Thanks for posting in the Microsoft Community.

    Please answer the question-

    This problem occur on Internet Explorer as well?

    Method-

    If the problem is specific to Firefox, so I'd like you to contact the Support of Mozilla Firefox and post a question the Mozilla Forums as well.

    We know if you need help. We will be happy to help you.

    Thank you.

  • Why my printer does not print with Windows 8?

    Why my printer does not print with Windows 8?

    Did you just upgraded or purchased a new computer with Windows 8, and now you can't get your printer to work?  If so, this can help you.  Many people have questions about the installation of their printer on a new OS.  This will help you answer these questions and make sure you get everything installed.

    Before you start

    Before you try to install the printer on a Windows 8, you should check to make sure that the printer is compatible with the new OS.  The link below will give you a list of printers that will work in Windows 8.

    http://support.HP.com/us-en/document/c03168175

    If you have upgraded your computer to Windows 8 formed another version of Windows, make sure all software uninstall complete of your printer.  It should still print, but to use all the features, you will need to reinstall the software, if available.

    Another thing to consider is how you want to connect the printer to the computer.

    1. USB.  You must ensure that you have a USB cable which does not exceed 6 feet (about 2 m).  Be sure to connect the printer directly to the computer.  Do not use a USB hub.

    2. Ethernet cable.  Make sure you have the network configuration, you have a free cable port on the router, and you have an available Ethernet cable.

    3. Wireless.  You must ensure that you have the configuration of the wireless network, and you have the password of the wireless network.

    1. installation Via USB

    Installation via USB in Windows 8 became much simpler for users of HP printer.  In other versions of the Windows operating system, you need to launch the installation and wait that it asks for the USB connection.  If you do not, you will need to uninstall the printer from the devices and printers folder and then launch the installation.  In Windows 8, which won't be a problem.  If you plug the USB cable from the printer and then install the printer software, work remains.  Now for in depth instructions on installing the printer via the USB port click on the link below.

    http://support.HP.com/us-en/document/c03521864

    2 installation Via an Ethernet network connection

    For an Ethernet connected printer, the installation is disconcerting.  All you have to do is to connect the printer to the network.  Once you have done so, Windows 8 will automatically install the drivers for you.  Then, all you have to do is install the rest of the software, if available.  It's really as simple as that.

    http://WWW8.HP.com/us/en/support-drivers.html

    3 installation Via a wireless network connection.

    For a wireless printer, network installation is disconcerting.  All you have to do is to connect the printer to the network.  Once you have done so, Windows 8 will automatically install the drivers for you.  Then, all you have to do is install the rest of the software, if available.  It is roughly the same as just Wireless Ethernet installation.

    http://WWW8.HP.com/us/en/support-drivers.html

    Alternative installation methods

    With Windows 8, the drivers of many printers are installed with the operating system.  These are called pilots InOS, since they come built-in to the operating system.  If you have one of these printers, you should have to do simply connect it to the computer via USB, or connect to the network via Ethernet or wireless.  Once you have that makes Windows will take care of the rest.  There are other methods of installation of your printer if normal methods don't work for some reason any.  You can install the printer is using the printer, or through Windows Updates Setup Wizard.

    Set printer wizard:

    http://support.HP.com/us-en/document/c02681060

    Windows Update:

    http://support.HP.com/us-en/document/c03460648

    Note: The drivers of Laserjet for the Asia-Pacific and the Japan will come only at a later date.  See below the link support site for the availability of the driver.  I will update this post once they become available.

    http://WWW8.HP.com/us/en/support-drivers.html

    Hope that answers some questions.

  • WARNING the script does not have anyone can help on this?

    I get this warning whe script does not try to use firefox.

    I get sound on my computer laptop windows vists home premum.

    Hello

    I suggest that you try the Firefox Forums for assistance.

    http://forums.mozillazine.org/index.php?c=4

    See you soon.

  • Why my PC does not install updates? Although located to automatically receive my last update was February 2015 and all others have failed.

    Original title: updates

    Why my PC does not install updates? Although located to automatically receive my last update was February 2015 and all others have failed.  Although I tried to reset nothing help.

    Have also tried to download Windows 10 but computer spends all day looking for updates, but nothing happens.

    As its been almost a year that it is updated, you may be better off to backup your data and backup of your entire system, so you can get back to this point at least if something goes wrong. Then:

    Update your anti-virus software and run a full scan. Then download, install, update and run a full scan with Malwarebytesfree. Keep it free, no need to start a trial etc. Malware can be a cause of failure of the updates, the scan won't take long to run and should report something nasty, if its there.

    Then you can try the following:

    1 convenience store update Windows - http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

    2 system update readiness tool - http://windows.microsoft.com/en-us/windows7/what-is-the-system-update-readiness-tool

    3 components of reset update - https://support.microsoft.com/en-us/kb/971058

    4. check that "Windows update service" and "Background Intelligent Transfer Service" are listed and running according to the details in this article - https://support.microsoft.com/en-us/kb/2730071 "

    If the above does not help, consider trying a 'repair installation system' - http://www.sevenforums.com/tutorials/3413-repair-install.html if you have windows installation discs, or a 'factory reset' (updated) If your PC came with no windows disk and was preinstalled. NOTE - in case backup your data and your system first in the form of data may be lost if something goes wrong, and data will be lost in the case of a factory reset.

    If you do not want to reinstall again, post back with more details, that is at least what is the error code when the updates fail? (find an update failed in "view history update", right click and click details.) Check a bit to see if the same error code. ). Then someone else can we hope to help more.

  • Why my pc does not work no matter what .exe? I couldn't even run diagnostics

    Why my pc does not work no matter what .exe? I couldn't even run diagnostics

    Hi SteliosArmenis,

    Thank you for keeping us posted on the State of the question.

    I see there is that the antivirus installed on the computer could not detect infections. To ensure that the computer is clean, we can run a thorough scan using Windows Defender in offline mode.

    I suggest to download Windows Defender Beta offline to a flash drive, CD, DVD or USB and then perform the steps.

    The articles explain how to create a disk and run the scan.

    NOTE: the program must not not to be run / run from the office.

    http://Windows.Microsoft.com/en-us/Windows/what-is-Windows-Defender-offline

    http://Windows.Microsoft.com/en-us/Windows/Windows-Defender-offline-FAQ

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Hope the information is useful. If you need help with this problem, feel free to post you question in the forum. We will be happy to help you.

  • Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Why pes 2012 does not work with me and my video card is 1699 MB Intel HD Graphics(core i3)?

    Hello

    You receive an error message?

    Method 1:

    You can update the drivers of graphics cards and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly


    Method 2:

    You can also perform a clean boot and check if it works:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: after a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article

    You can also check out the link:
    The problems of the game performance
    http://Windows.Microsoft.com/en-us/Windows7/fixing-game-performance-problems
    Diagnose problems running DirectX
    http://Windows.Microsoft.com/en-us/Windows7/diagnosing-basic-problems-with-DirectX

  • Adobe Story Script does not allow me to integrate the script into Premiere Pro

    Integration with Premiere Pro Adobe story Script does not work I would like to integrate the script

    Goal: Incorporate a Story Script from Adobe in Premiere Pro. (mac)

    Method: I have a video with a text transcript.

    I inport the transcript in Adobe Story and save it in the file extension "Adobe" correct history (.astx)

    I save on the cloud to Adobe, and I also exported it to my office.

    I launch Premiere Pro and import the video that I transcribed.

    The I try one of the 3 ways to get the script of the video in PP.

    The first steps are the same as below:

    I go to Adobe Story and you connect from PP.

    I search for the file.

    I add a scene.

    Make sure that the scene is the same as it is in PP

    then...

    1.

    I drag and drop it on the movie file.

    Nothing appears in the Embed Adobe Story Script Meta Data field.

    2.

    I click on Analyze and the box integrate Adobe Story Script script remains greyed out (impossible to select)

    If I click on analyze then PP will analyze the script (does a decent job) but this isn't what I want.  I want to join the script verbatim in the video, that's why I've transcribed.

    3.

    Right click on the movie file in the PP and the context menu allows me to attach a script.

    I find my .astx file downloaded on my Mac and select it.

    Still nothing appears in the field to incorporate Adobe Story metadata.

    I worked with Anand of support suggested that I have post this question here.

    I don't know if there are only some Adobe models for which it works (IE script of TV, movies etc.)

    He suggested that this would probably work only for the formats .mov file, but then discovered that it should work, even for .mp4 files.

    In any case - if anyone has any ideas, ideas, or has experience with this it would be greatly appreciated.

    Jon

    17 views Tags: first proContent the tag with premiere pro, adobe story scriptContent script adobe story, the story adobe script in first embed tag proContent tag integrate adobe story script in first pro

    Translate

    I followed the below and so that the video above, it worked for me:

    https://forums.Adobe.com/thread/1235896?TSTART=0

Maybe you are looking for

  • Missing buttons from the bottom of the sidebar in Mail

    On my iMac, by post, the button "+" at the bottom of the sidebar (used to create new mailboxes) disappeared.  The other buttons (which I don't remember functions) there also are no longer present.  While I can always create a new mailbox by using the

  • can I use my license oem windows 7 after swtiching my computer motherboard?

    My motherboard has failed and so I have to migrate all the components to another motherboard... same CPU and gpu and memory, but I have heard that I might have problems with the my oem license on the new motherboard, if you can give counsel about wha

  • Plugin eclipse JDE only offers not anywhere what component pack

    Hello I installed the JDE 'net.rim.eide_1.0.0.67' eclipse plugin and component pack "net.rim.eide.componentpack4.7.0_4.7.0.46". I installed the Inc. using the ZIP of the eclipse install mechanism. When I check the installed Plugins both are listed in

  • BlackBerry Smartphones BATTERY SAVER

    Hi all Could you please help me because I can't see the battery saver options in my BB BOLD 9900. Thank you very much

  • Center text in a cell

    Hi all, I'm new to FrameMaker 10. I'm trying to modify an existing table. want to center the text in a cell and nothing I try in table designer has worked. any help appreciated. Thank you