How do I run a script so that the user does not have to click into and out of a read-only calculated numeric field?

Hi all
I have a read-only calculated field, and I want to build actions on it, dependent on what the answer to the calculated field is.
I have used action builder, and it works, but only if the form filler clicks in and out ("exits") the field, which they didn't have to enter in the first place, because it populates as a result of a previous script.
To be more precise, The questions asked before this field are:
Date of submission (submitdate):
Date of event (eventdate):
Calculation occurs (days between event and submission), and answer is populated in a field called 'daysbetween'
Now I have a set of conditions:
If the daysbetween is < or = 14, then I want a message to come up saying ineligible to apply
If the daysbetween is >14 and < or = 28, then I want a message to come up saying a fast track fee will be applied, and I want the fast track fee box to be populated, and I want the fast track fee box to appear.
I used the action builder to get all of this to work, except that it only works if the user then clicks in and out of  the 'daysbetween' field, which they shouldn't have to, because it's already calculated for them
I feel like I have to put this script in an earlier field...but I don't know where - action builder won't let me do it in the 'eventdate' field
Thanks in advance

Put a shift register on the border of your loop. Have a case statement that contains the "Get time" function in one case of the case statement. Make that case = 3 and wire the loop iteration to the case selector. Have the time value loaded onto the shift register in the "2" case (interations count from zero), have the shift register passed through on all others ("Default"). Then subtract this time from current to get elapsed time. You probably want to put the subtraction/comparison in a "sub-case" in the "default" that only is valid for interations > 3 or you will get some really ugly "times" until the shift register is loaded, or you could initialize it from outside the loop with the time, but this will cause it to show elapsed times from the beginning that suddenly jump back to a low number after iteration 2.
P.M.
@ Corning? Which one? I was doing LabVIEW at Corning back in '96
Message Edited by LV_Pro on 09-23-2005 10:07 AM
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion
Attachments:
elapsed time.vi ‏24 KB

Similar Messages

  • Hr_maintain_masterdata showing an infotype that the user does not have auth

    subject: hr_maintain_masterdata showing an infotype that the user does not have authorisation for
    Hi all,
    I've a user account that's meant to perform staffing, based on the actual HR role.  The system is also set up with an infogroup that contains infotypes 0000, 0001, 0006, 0185, XYZ and other infotypes; XYZ representing an actual infotype.  The HR role is not supposed to have this infotype XYZ.
    When PA40 is used, infotype XYZ will be skipped, as the user account do not have authorisation for it.  I could then proceed to create the record.
    When the fm: hr_maintain_masterdata is used, I was prompted that I do not have authorisation for infotype XYZ.
    I have setup my fm with the mininum amount of values, as indicated below.
    I did not populate a table for "proposed_values" so the infotypes called were due to the actions of the infogroup.
    fm: hr_maintain_masterdata
    pernr = 01234567
    massn = 01          (new staff)
    actio = INS          (insert record)
    tclas = A          (master record)
    begda = 01.09.2010
    endda = 31.12.9999
    werks = myCompanyPlant
    dialog_mode = 2     (online)
    luw_mode = 1          (commit, if no errors encountered)
    no_existance_check = X
    Q. Is there any way to let the function module call the infotypes, with authorisation checks, as what PA40 is doing?
    Your guidance would be appreciated.
    Thank you,
    James Wong

    A behaviour that has been observed was that, after infotype 0185 was saved, the function module throws me back to infotype 0000, citing, "No authorization to maintain XYZ exists".  Data that I had populated to the screen, either via the FM or by manual input were cleared.  If I skip the next 4 screens, I'll arrive at the Infotype after XYZ, with the data populated.  Subsequent infotypes also have their data filled in.
    Once I complete the sequence, the personnel record will be created.  Upon examination, the frist 4 screens that were skipped in the 2nd pass contains data that were entered in the 1st pass.
    My question, as posted in the original post, is why infotype XYZ is triggered by the function module, as the staffing account does not hae access for it.  If I repeat the process using PA40, the infotype is skipped accordingly.
    Any help would be appreciated.
    Thank you,
    James Wong,

  • My downloads of iTunes and related software onto my Windows PC fails every time with error message that the software does not have valid signature.  How to get around this problem?

    I have trouble downloading iTunes software and related software like the new ios8 on both my desktop--Windows 7, and my laptop--Windows Vista, because I keep getting error messages saying the software has been deleted because invalid signature.   I have tried download and install and I have tried just download, but neither method works.   So I am stuck with the older software and my new iPad 2 Air isn't connecting because I need ios8 apparently.
    I have an iPhone 5 and a new iPad 2 Air.
    How to get around the Windows problem, please?
    Thank you!

    bump

  • DFSR Error that the server does not have Adequate free space. But it does.

    Hi, I have a 3 memeber DFS replication group on Windows 2008 R2 servers.  On one of members replication stopped and the Health diagnostics report states that there is not enough disk space on the drive to replicate.  But there is.  It
    replicates to the other member with much less free space.  I have increased the staging quota after running the caculation command in Power shell to determine the largest 32 files.  There is pleanty of free space.  I have restarted the
    DFS service and restarted the server.  I have created a new Replication group on the same volume and it works fine.
    Any Ideas?
    Steve
    Steve

    Hi Steve,
    It will only copy the changed data to sync all files when re-add the failing member server back to the replication group. If the changed data is very large, you could do a robocopy to copy the changed data, then re-add the failing member server back to the
    replication group.
    You could refer to the article below to know some considerations when re-add a member server back to a replication group.
    After you re-add a member server to a DFS replication group in Windows Server 2003 R2, initial replication does not occur on the member server, and changes in the replicated folder are replicated unexpectedly to other replication partners
    http://support.microsoft.com/kb/961655
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • In the Date Picker, How can I default to select * dates if the user does ..

    In the Date Picker, How can I default to select * dates if the user does not select a date.
    Thanks,
    Doug

    Doug,
    Now lets say l want everythingCould you post some sample data and the output that you want to get..? It would be much easy to understand the requirements...
    When you mean everything, I am assuming you need all possible dates possible between date1 and date2.
    you can use... (from asktom.oracle.com).
      1  select to_date('12-jan-2009','DD-MON-YYYY') + rownum -1
      2    from ALL_OBJECTS
      3    where rownum <= (to_date('20-jan-2009','dd-mon-yyyy') -
      4*                     to_date('12-jan-2009','DD-MON-YYYY') +1 )
    sql> /
    TO_DATE('
    12-JAN-09
    13-JAN-09
    14-JAN-09
    15-JAN-09
    16-JAN-09
    17-JAN-09
    18-JAN-09
    19-JAN-09
    20-JAN-09
    9 rows selected.
    For your case, since you have date1 and date2...
    select to_date(:p12_date1,'DD-MON-YYYY') + rownum -1
      from ALL_OBJECTS
      where rownum <= (to_date(:p12_date2,'dd-mon-yyyy') -
                        to_date(:p12_date1,'DD-MON-YYYY') +1 )Should work.. in my opinion...Haven't tested the second one in Apex .
    Is this what you were looking for ..?? If not, please elaborate...
    Thanks,
    Rajesh.

  • HT1212 I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    I am trying to restore a phone that the screen does not work on, therefore I can't input my password.  How can I bypass this and upload it to itunes?

    You could follow the instructions in the support document that you linked from. There is a section regarding the passcode and the inability to use it or enter it. However, you may encounter more issues since you cannot use the screen.

  • I have my iPhone 4s plugged into a dock and the dock connected to an amplifier, the problem is that the amplifier doesn't have a volume changer and when i plug in the iPhone into the dock the iPhones volume bar disappears. how can i change the volume?app?

    Hi
    I have my iPhone 4s plugged into a dock and the dock connected to an amplifier with 2 speakers and a bass, the problem is that the amplifier doesn't have a volume changer and when i plug in the iPhone into the dock the iPhone´s volume bar disappears and im not allowed to change the volume and its very loud. how can i change the volume? is there an app? any ideas??(my dock doesnt have infrared remote controller )
    TY!!!!

    Kline25 wrote:
    So even if I just ask to pay them to replace the lock button they won't because my screens are third-party?
    Apple does not repair devices beyond replacing the screen on some models or a battery replacement.  They replace the ENTIRE device.
    For the Out of Warranty replacement cost, you could have gotten a fully functional replacement device.  Instead you chose to spend less to get only the screen replaced and continue to live with additional issues.
    Apple will not touch the device now.  They will know that it was opened elsewhere and that the replacement screen is not original.

  • I'm trying to download the trial version of Adobe Illustrator. An error message says that the OS does not meet the minimum system requirements for the installer. 10.6.0 is the minimum required for installation. How do I get my mac to be a 10.6.0 ?

    I'm trying to download the trial version of Adobe Illustrator. An error message says that the OS does not meet the minimum system requirements for the installer. 10.6.0 is the minimum required for installation. How do I get my mac to be a 10.6.0 ? Right now I have a 10.5.8 is there a way to upgrade or something?

    Buy the Snow Leopard retail installer (http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA).
    That will take you to 10.6.3.
    If required you can then use the combo updater to get to the latest version, 10.6.8 (http://support.apple.com/kb/DL1399)
    SL system reqmts;

  • I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?

    Well the error message is in Swedish but says: The installation program database is damaged. Please contact the Adobe support (which is a hard thing to do!!). I use Windows 7 Home Premium with service pack 1.
    Från: Mylenium 
    Skickat: den 29 december 2014 16:48
    Till: Tony Bohman
    Ämne:  I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    I have tried to reinstall CS3 extended student version to my new comuter from the dvd and also from the web download but it does not work - I get the information that the server does not work- why. How should I do?
    created by Mylenium <https://forums.adobe.com/people/Mylenium>  in Downloading, Installing, Setting Up - View the full discussion <https://forums.adobe.com/message/7050595#7050595>

  • How can I merge folder with the same name so that the content does not replace the other

    How can I merge folder with the same name so that the content does not replace the other?

    >
    That's only a good idea if the semantics of sayHello
    as defined in MyInterface suggest that a
    RemoteException could occur. If not, then you're
    designing the interface to suit the way the
    implementing classes will be written, which smells.
    :-)But in practice you can't make a call which can be handled either remotely or locally without, at some point, dealing with the RemoteException.
    Therefore either RemoteException must be part of the interface or (an this is probably more satisfactory) you don't use the remote interface directly, but MyInterface is implemented by a wrapper class which deals with the exception.

  • No question, just a remark to say how upset I am that Apple still does not have flash player on iPad or iPod touch. Still upset not to be able to view my family's video on my iPad! Upset customer!

    No question, just a remark to say how upset I am that Apple still does not have flash player on iPad or iPod touch. Still upset not to be able to view my family's video on my iPad! Upset customer!

    This is a user to user forum, and Apple does not follow these discussions. But here is what Apple says about not having Flashplayer on iDevices:
    Thoughts on Flash
    You can tell Apple your thoughts directly by using this link:
    Apple - iPad - Feedback
    You can watch your videos on your iPad by syncing them via iTunes:
    iTunes: Frequently asked questions about viewing and syncing videos
    Message was edited by: Ingo2711

  • How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTi

    How can I watch a Disney movie from the Disney website I have purchased movie cd and I can go to the website on by gateway computer but can't get it to play on my iPad it wants me to download flash but apple doesn't support flash or I can down loadQuickTime but don't know how. Says to email website did that but takes me back to same place to email help

    Contact iTunes Customer Support, but honestly, there are no returns for iTunes purchases.

  • My iphone 4s keeps saying it does not have enough icloud storage and cannot be backed up. When I go to icloud storage and backup, it says that I have 5.0 GB of total storage and 5.0 GB of available storage.

    My iphone 4s keeps saying it does not have enough icloud storage and icloud cannot be backed up. When I go to icloud Storage & Backup in my settings, it says that I have 5.0 GB total and 5.0 GB available. The only thing I have selected, at this point, to be backed up are my contacts and the Find My iPhone app. Why does it always say I have no icloud storage available when I have ALL of the icloud storage available?!

    It says that my next backup size is 7.3 GB, but I have no idea why, because the only thing selected is the Find iPhone app, which takes up 0.2 KB...How do I get rid of whatever it THINKS it's backing up?

  • I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?

    I have a really old Itunes account.  I no longer have the email and when I go to put in my birthday it is coming up wrong because the birthday on the account does not have a year.  How can I fix this?  I have about 70 downloaded songs on this log in that I would like to get back.
    Thank you in advance.

    Contact iTunes customer support.

  • I'm trying to install iOS 5.0 but getting message that my computer does not have sufficient space to backup my iPad; continuing will result in loss of all media on iPad. I was going to install iCloud but it seems that you have to have iOS 5.0, help?

    i'm trying to install iOS 5.0 but getting message that my computer does not have enough space to backup my iPad and continuing will result in loss of all media on iPad.  an option seemed to be backing up on iCloud, but i think you have to have iOS 5.0 to install iCloud.
    how do i install iOS 5.0 without losing anything on my iPad?

    If you really do not have enough space on your HDD for a backup of your iPad, you do not have enough space at all. Free up at least 15% of your HDD, in any case more than 0.8GB for the iPad update.
    Make backups on an external disk.
    After freeing up enough space, try again.

Maybe you are looking for

  • Transferring photos from PC to i pad

    hi there, i have an i pad 2 16g and iphone 16g. space is limited so i want different apps and stuff on each one. i wanted to store a lot of photos on i pad. i have lots of photo folders on my PC and want to transfer some but not all photos from these

  • Need information on Oracle products

    Hi, I am very new to oracle's products, kindly could you guide me with the below information : 1)ORA 10 g app and web server : Is this product a combination of both app and web server? or are there individual products for the same? 2)ORA 10 g databas

  • My ipod touch keeps rebooting I restored from the back up it but it keeps rebooting,

    My Itouch started rebooting, when i plugged it into itune it told me I needed to restore from back up after several attemps ( I received an error 9 message) I finaly got it to restore, but it just keeps rebooting!

  • Develop Settings and DNG files...where is the info stored?

    I just converted my Nikon NEF files to DNG. Previously I saved all changes I would make to my photos in the XMP sidecar files. I'm confused how things are working now because I thought those same changes would be saved to the DNG file. Now that I use

  • Minor error in Viewer Builder pop-up info

    Hi, I noticed a minor error in the Viewer Builder pop-up information. When you create a viewer for the iPad and choose "multi issue with iTunes subscription", you get to complete the Newsstand information. The iPad 1 & 2 Landscape Subscription Tile i