How to set an expression by the range of values & run function value entered

I'm looking for help with an IF statement that focuses on value ranges and executes a sum based on what it finds.
I use LC D 8, the script runs on FormCalc - Client-side - calculate events. Numericfield1 is a value entered by the user.

I currently have (which does not work):

If (numericfield1 > = 1000 < = 4999) then / / I want to check is the power of users lies between these figures

numericfield1 * 5 / 1000 / / if I want to run this sum only

else if (numericfield1 > = 5000 < = 9999) then

numericfield1 * 10 / 1000

else if (numericfield1 > = 10000 < = 19999) then

numericfield * 20 / 1000

endif

So if I get 2500 in numericfield1 the sum would be: 2500 * 5 / 1000 = 12.5

I want to keep these ranges of values in these games: 1000 to 4999 | 5000 to 9999 | 10000 to 19999. 20000 to 49999. 50000 to 250000.

(here also to enforce that 1000 is the lowest possible entry)

The above work when numericfield1 is anything below 4999, but anything after that he continues to * by 5 then / 1000. Where there should * 10 / per 1000.

Hope someone can push my thinking in the right direction, thanks in advance.

You need an "and" in your statement:

If (numericfield1 > = 1000 and numericfield1)<= 4999)="">

Tags: Adobe LiveCycle

Similar Questions

  • How to set up and enable the WINS and WINS-R resource records?

    How to set up and enable the WINS and WINS-R resource records?

    Hello

    Please repost these questions in the Technet Forums

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    See you soon.

  • How to set background color of the text?

    I have a TextFrame: abcd

    I want to set the background color of the text "bc" is red

    How to set background color of the text?

    Who would be with custom underscore. Set the solid style, choose a color and to adjust the weight and offset of an underline, making it thick and move up behind the text.

  • Need to convert the Varchar2 column number for the extraction of data based on the range of values.

    Hello

    I have a ZIP column which is the Varchar2 data type, it has values such as 2345, 09485, 10900, 07110, 06534.

    I have to go look up records from the range of values for the ZIP column as between 00000 and 07500.

    Could you give a logic.

    Thank you.

    Hello

    I think you can use the following code:

    SELECT T.*

    OF t

    WHERE the to_number (ZIP) between TO_NUMBER('0000') and TO_NUMBER('07500')

    ;

    CGomes

  • How to set a vacation on the microsoft exchange message response?

    I can't find the setting to a message of holiday on outlook express, where should I go to find the application?

    Outlook Express is noy uses Exchange, so you may need to clairify, but by OE, you can use a message rule.
     
    If you do this, you must let your computer 24/7, be connected to the Internet and open your e-mail program. If you want to do this anyway, the link below will show you how do it. One thing I would say is that where it says to create a rule and change you it to check for all Messages, and that the rule for the people in your address book. Otherwise you will answer Spam as well and could end up in an infinite loop of rebounds.
     
    Most of the servers of ISPs Internet/Mail to offer this service which would be a better choice.
     
    How to set up a reply automatic holiday in Windows Mail, Outlook Express or Windows Live Mail
    http://email.about.com/od/windowsmailtips/Qt/Vacation_Auto_Response_in_Windows_Mail_or_Outlook_Express.htm
     
    Configure Outlook & Outlook Express auto respond to incoming e-mail messages
    http://www.onecomputerguy.com/app_info/outlook_autoresponse.htm 
  • How to set up VPN on the router via ASA5505 2811

    Hello everyone

    I apologize for the possible triviality of my question. The current configuration of our society considers appropriate for the edge, two ASA5505 below that are installed two routers configured with the CCME 2811 Express. When the two AS5505 is configured a VPN connection for the transmission of data in our network traffic. Given the presence of several public addresses available on our two sites, I was wondering if you could (and if so, how) to set up a VPN between two routers 2811, except that when existing data traffic, dedicated exclusively to the voice traffic. It give me a document that teach me how can I solve my problem?

    Thank you very much

    Damiano,

    If you want an IPsec VPN for only separate voice and termination traffic on routers, there are several possibilities. Especially if you have a spare IP addresses:

    IPsec VPN endpoints on the routers.

    GRE over IPsec routers ending (gives you that soften what and where can be routed, in particular, identify voice traffic)

    Termination of free WILL on the routers and unloading IPsec to ASAs. (Benefit of the foregoing + ASAs making encryption).

    There is no problem to close the tunnels through the ASA, the only warning is that even in the case of static NAT you should probably use NAT-Traversal.

    Marcin

  • How to set up and test the Profibus network, using the number of piece OR interface master/slave 780161-01

    I bought this card of NEITHER. I've been in contact with Comsoft which apparently is the developer of this Council. I used the Configurator II to try to build the network. The GSD file for my slave is entered. I can also see the GSD file for the master. There seems to be no obvious way to test the bus of the configuration tool. I tried the Express VI provided by Comsoft. Nothing happens. I have a purchased with endings installed profibus cable. I know that the works of cable as a another division has an another Profibus master that works with this cable how to configure correctly for you? How to test?

    Thank you

    Rick

    The problem has been resolved. In the configuration tool, after the slave device is connected to the network, all of the attributes listed under it must also be dragged over and placed in the list that appears. Never seen this step in the documentation. Once this has been done the configuration tool could initialize and find the slave.

    Rick

  • How to set up hotkeys on the keyboard wireless upper left Office 2000 model

    I bought MS Wireless Desktop 2000, keyboard/mouse combo.

    My PC is from 6 HP Pavilion 6000 came with wireless keyboard/mouse.

    I would like to define shortcut keys (1), (2), (3) on the top left of the foloowing IE and Mail keys for my anti virus update and the Update window.

    I can't find how to set these keys in naywhere on the Web.

    (1) how to set these keys?

    (2) what I have to install MS sweet came with the keyboard set?   If so, I have to remove old wireless flexible keyboard that came with my PC.

    (3) what is the name of the program for HP wireless keyboard, I will not facilitate the kidnapping by mistake.

    Also, how to set the sideway movement buttons on your mouse wheel.

    http://www.Microsoft.com/hardware/en-us/d/wireless-keyboard-2000 go to this link to download the software, so you can configure the keys 1,2,3,4 & 5

  • How to set parental controls for the zone

    Im trying to set up parental controls for children. I have set up for the clock, but they got smart and started to change the time zone. Does anyone know how to set up parental controls for the time zone... At least the name of the program for the time zone. Any help is appreciated, thanks.

    Im trying to set up parental controls for children. I have set up for the clock, but they got smart and started to change the time zone. Does anyone know how to set up parental controls for the time zone... At least the name of the program for the time zone. Any help is appreciated, thanks.

    If you have a superior taste of Windows 7 you can / must define the rights to change the time system and time zone via the policy editor gpedit.msc. They are defined in the strategy/Security Settings user rights assignments / Local. Ensure that only administrators and the Local Service can change these settings.

    If you have a taste less then you need to do it via a number of commands in the console, i.e.
    net localgroup
    NTRights users - r seSystemtimePrivilege-u
    NTRights u users - r seTimezonePrivilege

    You can download ntrights.exe here: http://www.microsoft.com/download/en/details.aspx?id=17657. If you choose this option, you may need to then more detailed instructions. Post again if this is the case.

    Note also that your children are more intelligent, they will find additional methods to bypass your restrictions. If you let me sit in front of your machine then I would be able to do as I please in less than five minutes, without knowing a single password. This means that you may need to solve this problem by teaching ways rather than technical.

  • How to set a password for the networks?

    Original title: related networks

    Hi, my request is how to set a password for networks

    Hello Manu,

    I suggest to follow the steps below and check the steps in the section to change the homegroup password , if it helps.

    Homegroup from start to finish

    http://Windows.Microsoft.com/en-us/Windows/HomeGroup-help#HomeGroup-start-to-finish=Windows-81&V1H=win81tab7&V2H=win7tab1

    Let us know the status.

  • How to set up/configuration of the network on virtual servers?

    We just bought the license for vSphere with two processors. I will put up at least three virtual servers on that host computer. Can someone point me to an instruction step by step on how to set up the network so that each guest operating system will have their own unique IP address and/or MAC address? The server is an HP Proliant DL380 G7 with two NIC standard more map of the ILO.

    Any suggestion is appreciated.

    MAC address of the virtual machine is generated by ESXi host when you first power on the virtual machine and the IP address will be assigned by an existing DHCP server or you can configure it manually. Regardless of the implementation of a server as a virtual or physical machine, you generally EF static IP settings to a server system.

    André

  • How to set a variable in the main timeline of in a symbol?

    Just get started with Animate and coming from Flash, it may be apparent to my question. How do you define a variable for the main timeline of in a symbol?

    I have 24 pairs of clickable elements, each in their own symbols, and 24 of these symbols to sit inside another symbol. I want every 24 to set the global variable even when you click on it. I do not find that this question is anywhere, which makes me think that I can be stuck in a mentality from Flash and approaching the task in a bad way. (However, there are MANY discussions address showing how objects to different levels in the hierarchy.) Which is well covered).

    By the way, how to access a function on the main timeline of in a symbol?

    Adobe should consider putting on foot (or pages) support just for people migration form Flash. In the documents that I've met so far there seems to be a studied effort to refrain from mentioning Flash somehow. I imagine that there are many people out there like me who have a deep background in coding Flash, but start with Animate. We don't need help with most of the basic concepts, but we still have some pretty basic questions on how to achieve certain things in Animate because our knowledge of Flash gets in the way.

    Hi Bill,

    There are a lot of discussions here on the scope, but here's a way to create a global variable:

    code on Stage.compositionReady

    sym.myGlobalVar = 1;

    Then, anywhere in your project, you can check/set this var as follows:

    sym.getComposition () .getStage () .myGlobalVar = 2;

    And here is a way to create a global function:

    code on Stage.compositionReady

    sym.myGlobalFunction = function() {}

    Console.log ('myGlobalFunction');

    }

    Then, anywhere in your project, you can call this function as follows:

    sym.getComposition () .getStage () .myGlobalFunction ();

  • How to set different color for the table column header

    Can I set different colors for the 4 following as being attached.

    -color of the header text

    -the head of the column of the background color

    -color of the text of the content

    -color of background content

    The value of the cluster - 2, -2 to define all of the cells,

    Then go back and the cluster the value-1, -2 to simply set the line header.

    (If you also had a column of row headers, then -2,-1 would set them.  Course the upper left corner which is the intersection of the column header and row header will change with any of them.)

  • What is the range of values of type of data accepted by prepareBulk file?

    In the Oracle documentation under "bulk 7.12 load graphics Using RDF Semantic support for Apache Jena", I see the code example for perpareBulk. The third parameter is documented as "type of data file: can be RDF/XML, N-TRIPLE, etc.". I found a thread code example that uses "TTL." as a value as well. It seems that "TTL" is accepted but not documented. What is the range of accepted values for the type parameter of data to prepareBulk file?

    Hello

    You can use the triple data serialization format following as string values:

    "RDF/XML", "N-TRIPLE", "TURTLE" (or "TTL") and "N3".  "RDF/XML-ABBREV" is a synonym for "RDF/XML".

    For the quads, you can use either "N-QUADS" or "TRIG".

    Thank you

    Zhe Wu

  • validate the range of values

    Hey!

    I would like to make a simple script, validate a range of values between 500-1500 and if the value is outside of the range, is marked with red.

    Anyone who could help?

    Thanks in advance!

    Use this code:

    event.target.textColor = (event.value > = 500 & event.value)<=1500) color.black="" :="">

Maybe you are looking for