Timer problem??help?

Hi
i have a 12 record db block on a form with 10 items but only four are text items..when the form runs the cursor automatically comes to the first of the four text items..
i want to create a repeating timer that will do some job on expiry, my requiremtn is to that if the mouse cursor is in the first two of the four text items then the timer should be activated otherwise it should be deactivated...
DECLARE
timer_id TIMER;
OneSec CONSTANT NUMBER := 1000;
BEGIN
timer_id := CREATE_TIMER('timer_name,OneSec,REPEAT);
END;
what code on which trigger and at which level i need to put to achieve this ..
thanks in advance..

Hello,
You could create the timer in a When-New-Item-Instance on the item you want, and kill the timer in a Post-Text-Item trigger.
Francois

Similar Messages

  • I have installed photoshop elements 12. when I try use the editing features it said that i must login to Adobe to register the product. but each time i try to it said there is a problem. help the problem stated that the internet is not connected, but that

    i have installed photoshop elements 12.
    when I try use the editing features it said that i must login to Adobe to register the product.
    but each time i try to it said there is a problem.
    help
    the problem stated that the internet is not connected, but that is not the case.

    I had the same issue and I'm running Windows 7.  Tried working with technical support for several hours but they were no help.  They just had me doing the same things over and over, offering no real answers.  I finally got fed up and have decided to return my product for a full refund.

  • TS3899 I can receive, but not send emails on iPad. All settings checked several times and with internet provider. imap settings confirmed as ok. Account deleted and set up under guidance of service provider several times - problem not solved - help!!

    I can receive, but not send emails on iPad. All settings checked several times and with internet provider. imap settings confirmed as ok. Account deleted and set up under guidance of service provider several times - problem not solved - help!!

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Using a POP account with multiple devices
    http://support.apple.com/kb/ht3228
    iOS: Adding an email account
    http://support.apple.com/kb/HT4810
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
    http://support.apple.com/kb/TS1944
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    How to Sync Contacts with Your iPad Using iTunes
    http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iCloud: Create a group and add contacts to it
    http://support.apple.com/kb/PH2667
    eMail Groups - You can use a third party app that many users recommend.
    MailShot -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    Group Email  -  https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Hi can you please help me to fix my iPhone 5 when I update it to the iOS 6.1.2 my carrier signal indicator states searching all the time please help me what to do

    HiHi can you please help me to fix my iPhone 5 when I update it to the iOS 6.1.2 my carrier signal indicator states searching all the time please help me what to do

    Hi Samantha,
    Are you aware that if you restore your ipad that you will lose all data from your ipad and very difficult to get it back unless you had previously made a back-up of your data on itunes or in the cloud. and that would be on the computer you set those up on. (There are some independent apps out there that might help restore data but I don't have any experience with them...)
    Also, I think if you restore on another computer you're supposed to have administrator rights and have the latest itunes update. And I think if you sync (if restoring is considered syncing with another computer, you'll be locked out of your computer or a new one.)
    I don't know if there is a way for you to safely eject your ipad from your mom's laptop and find another way, but please read this
    http://support.apple.com/kb/ts1275
    Also, I suggest you start a new post and title it something like First, stuck on update and now on Restore on another computer. Please HELP! And then tell the story of your problem that you originally included and your follow-up efforts to restore given a suggestion on previous post (though I think you SHOULD AVOID RSTORE if you can.) And refer them to your original post
    https://discussions.apple.com/message/22050045?ac_cid=tw123456#22050045
    Hope this helps and if you can get back to your ios before the upgrade, stay with it. I hope it all works out for you.
    FYI - If it's a new or refurb bought within the past year you might be able to have it replaced by Apple.

  • My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.

    The problem would seem to be in the firewall in your router.  Have you tried disabling it? I assume you've updated the router firmware, right?  Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.

  • Time Machine Data Transfer - From FireWire Drive to Time Capsule - HELP!

    Time Machine Data Transfer - From FireWire Drive to Time Capsule - HELP!
    I've been searching for weeks for a solution to my problem. Here's the story I've come across since I installed Leopard on Oct. 26, 2007.
    I first installed Leopard on my Early 2006 MacBook and set up Time Machine with a 200GB external FireWire drive. Since then, things have been fine, until Time Machine started deleting the oldest backups. I'm a pack-rat and hated this feeling of losing data. So, I now have a few months worth of backups on my 200GB FireWire drive.
    The Time Capsule is released, I finally talk myself into getting one and transferring my old data from the 200GB drive to my 1TB TC.
    I did some researching through forums about how to move data from one Time Machine drive to another, so I took the concept and wanted to apply it to my Time Capsule. I made a DMG image of my 200GB drive, in order to move the data. I figured if I can make an image, copy it, and open it on the Time Capsule - all will go smoothly - just as some had mentioned they've done with external drives.
    Now, I have a 164GB DMG image of my Time Machine, with no hope in sight of gaining it back. I've tried taking the image, using Disk Utility, and restoring my original 200GB external with the imaged Time Machine data, but whenever I do, I come across error messages.
    In Disk Utility, I've done the following steps:
    * Disk Image is found on Time Capsule
    * I select the 200GB drive and select 'Restore'
    * I drag and drop the Disk Image to the 'Image' field
    * I drag and drop the 200GB drive into the the 'Restore' field
    * Select 'Erase Destination'
    * Select 'Restore'
    * I get the warning message that I'll erase the drive - I proceed
    * I enter my password
    Error message pops up:
    "Restore Failure: Could not find any scan information. The source image needs to be imagescanned/scanned for restore."
    I select the image in Disk Utility, then proceed with the following steps:
    * Click on "Image" then down to "Scan Image for Restore"
    * I enter my password
    After hours of waiting, I get another error message:
    "Unable to scan. (Broken pipe)."
    I'm going to see, after transferring the DMG to the Time Capsule, if I can drag-and-drop the files from the Time Capsule drive onto the 200GB hard drive.
    IF anyone has any more suggestions, please let me know!

    32 updates on this Mac since December 2007 - Hardware, software, OS...
    They keep coming at about 6 or 7 a month. Some of them I don't care about, but several are essential. 10.5.3 has been seeded to the testers a couple of times and will probably show up in the next few weeks. Jaguar wasn't worth a d*mn until 10.2.6, Panther about 10.3.4, Tiger about 10.4.4 - I'd say we are ahead or on schedule Too bad I can't get Apple to fix Spaces. I wish they'd focus on what I want but I guess some take more time than others.
    2007-12-18 00:32:39 -0800: Installed "GarageBand Update" (4.1.1)
    2007-12-18 00:32:43 -0800: Installed "QuickTime Broadcaster" (1.5.2)
    2007-12-18 00:33:07 -0800: Installed "Security Update 2007-009" (1.0)
    2007-12-18 00:33:29 -0800: Installed "QuickTime" (7.3.1)
    2007-12-19 09:32:03 -0800: Installed "MacBook MacBook Pro Software Update" (1.1)
    2007-12-23 23:57:32 -0800: Installed "Security Update 2007-009" (1.1)
    2008-01-16 09:18:07 -0800: Installed "iMovie Update" (7.1.1)
    2008-01-16 09:18:14 -0800: Installed "Front Row Update" (2.1.2)
    2008-01-16 09:18:45 -0800: Installed "iTunes" (7.6)
    2008-01-16 09:19:31 -0800: Installed "QuickTime" (7.4)
    2008-01-29 21:33:14 -0800: Installed "Keynote Update" (4.0.2)
    2008-01-29 21:33:23 -0800: Installed "Pages Update" (3.0.2)
    2008-01-29 21:33:31 -0800: Installed "Numbers Update" (1.0.2)
    2008-02-02 01:18:43 -0800: Installed "iWeb Update" (2.0.3)
    2008-02-05 20:12:17 -0800: Installed "iPhoto Update" (7.1.2)
    2008-02-15 09:03:49 -0800: Installed "iLife Support" (8.2)
    2008-02-15 09:04:17 -0800: Installed "QuickTime" (7.4.1)
    2008-02-15 09:04:51 -0800: Installed "Leopard Graphics Update" (1.0)
    2008-02-19 23:44:37 -0800: Installed "Keyboard Firmware Update" (1.0)
    2008-02-25 19:24:33 -0800: Installed "iTunes" (7.6.1)
    2008-03-03 17:14:18 -0800: Installed "GarageBand Update" (4.1.2)
    2008-03-03 17:14:31 -0800: Installed "iPhoto Update" (7.1.3)
    2008-03-12 18:11:36 -0700: Installed "AirPort Utility" (5.3.1)
    2008-03-18 10:03:57 -0700: Installed "Safari" (3.1)
    2008-03-20 13:00:58 -0700: Installed "Security Update 2008-002" (1.0)
    2008-03-20 13:01:04 -0700: Installed "Time Machine and AirPort Updates" (1.0)
    2008-03-21 22:49:16 -0700: Installed "Digital Camera RAW Compatibility Update" (2.0)
    2008-04-03 00:50:22 -0700: Installed "Front Row Update" (2.1.3)
    2008-04-03 00:50:50 -0700: Installed "QuickTime" (7.4.5)
    2008-04-03 00:51:58 -0700: Installed "iTunes" (7.6.2)
    2008-04-08 17:16:02 -0700: Installed "Keynote Update" (4.0.3)
    2008-04-08 17:16:08 -0700: Installed "MacBook Pro EFI Firmware Update" (1.5)

  • Hi , any body can send real time problems they faced

    hi every body this is siva from banglore, any body can send the real time problems they faced in sap crm and how they solved if any body kindly send to my id : [email protected]

    hi Siva,
    All the issues in the forums are the real time issues
    YOu can just go through them .
    Also why do you need real time issues.
    If you have any issues post it here and some one can help you

  • Jdk1.4 Timer problem

    Hi all,
    I am using the Timer class provided with JDK1.4. During scheduling, you take the current time as the reference time for relative timer. Everything is ok if i dont change the system time.
    But consider this scenario. If i have a heartbeat timer (which dont worries about the current time) which ticks every 500 milliseconds ( after some 5 to 6 ticks I am disconnecting from the server) but when I change the system time, the heartbeat will tick many number of times depending on the changed time assuming that timout is happened and get disconnected with the server.
    How can I solve this? If it can't be done with jdk timer, please help in identifying a solution for this?
    TIA
    Karthik

    In response to cpolizzi: (Not in original posting order)
    One reason that I do not like the
    javax.swing.Timer is that it requires a
    graphical subsystem to be present.One would expect that from a javax.swing class, yes. Swing is a graphical toolkit.
    Digressing slightly, note that since Java 1.4, the AWT no longer needs a graphical subsystem to be present, so image manipulation (and such) is now possible on headless J2EE servers.
    The Java application created and started both J2SE
    supplied timers each for a one minute delay as well as
    two other threads. One thread does a
    Thread.sleep for one minute and the other
    thread does an Object.wait with a timeout for
    one minute on a locally created object to synchronize
    on. After the two timers and threads were started,
    which I tried to start as close as possible, the main
    application thread also does a Thread.sleep for
    one minute. After the main application thread went to
    sleep, I changed the system clock back by one minute.
    The results: the two threads doing a
    Thread.sleep and Object.wait "woke" back
    up after one minute even despite the change in the
    system clock as did the main application thread also
    doing a Thread.sleep. However, the two J2SE
    supplied timers did not. Instead, each of those
    timers "expired" when the system clock reached one
    minute after the time in which each one was scheduled
    or started. I encountered this behavior on both of
    the JVM's I have loaded on my W2K box.This is 100% correct behaviour, exactly as I would expect.
    I also tried setting the system clock ahead by 30
    seconds, one minute and even five minutes after
    everything is going and it seems that the J2SE timers
    were not affected - each expired right when other
    threads resumed from their sleep and wait. I
    encountered this behavior on both of the JVM's I have
    loaded on my W2K box.Once again, this behaviour is as close to correct as is reasonably possible.
    Without delving into the implementation into either
    one of the J2SE supplied timers, it seems to me that
    both of these timers, when they are effectively
    started ticking, calculate the expected expiration
    time relative to the current system time and use a
    polling mechanism on seperate threads.Perhaps you should have delved.
    java.util.Timer works on a priority queue of tasks. It will wait (using Object.wait()) for the time period required for the next task to expire, and then test if the task has indeed expired, through a comparison to System.currentTimeMillis(). If it hasn't, presumably because of spurious wakeup, it will again wait until it expects the task to expire and retest. Exceptions to this flow may occur if the task queue changes - if a task is scheduled or rescheduled, so the expected closest expiry time is closer than the current waiting time, then the wait will be interrupted and recalculated. If the next task is unscheduled, then the wait will be interrupted and recalculated for the next task in line.
    Thus, if you move the system time back, then the timer will indeed wait until the Task's scheduled expiry date/time has been reached... if you move the system time forward, then when the timer wakes up from its wait, it will realise that the task has indeed expired and it will fire as expected, unless it is deemed too late to fire.
    To summarise, java.util.Timer is an optimal implementation of a single-threaded event scheduler for events scheduled to execute at a particular time in the future, marked by a given date and time. See below for comments on spurious wakeup for why this is so.
    My bottom line expectation is that when it comes to
    relative timers, a duration is a duration regardless
    of what happens to the system's notion of current
    time.You will note that java.util.Timer offers a cron-like facility for tasks to be performed at set times during the day. It can also be used to perform tasks at set time intervals, but such behaviour requires a constant and predictable system time.
    You should further note that changing the system time will not prevent a task executing, unless the system time has been moved later than the allowable execution time for a particular task - which is exactly defined in the documentation, and the most correct behaviour that could be reasonably expected.
    Aside from the fact that I find this behavior of the
    supplied J2SE timers unacceptable, that is if the
    synopsis is correct, I need to find a way around this
    problem. The only reasonable course of action that I
    have is to implement my own timers. Fortunately, the
    impact to any dependent code at work will be isolated
    since I have already abstracted the J2SE timer
    dependencies from the clients.This is correct. If you want custom, specific behaviour in a context that provided system classes do not cater for, then you will need to either find an alternate implementation or build your own.
    Digressing again, all waits should be performed in a while loop to prevent against spurious thread wakeup. The wait condition should hold the definitive break condition for the wait loop... in the case of an accurate timer, the break condition is that the required number of milliseconds have passed since the wait was entered. I challenge you to implement an accurate timer that is not dependent on the system time and is protected against spurious wakeup.
    Spurious wakeup is not just theoretical - I have actually had to rework a non-protected wait() providing a simple delay into a time-dependent looping wait because I was experiencing consistent spurious wakeup in a particular circumstance. I still don't know what the circumstance was exactly, but double-checking against the system time meant I didn't have to (Incidentally, the spurious wakeup didn't recur, so the system was not ever reduced to polling)
    As for the java.util.Timer, each timer has its
    own queue which runs on a seperate VM thread. So, if
    I go and create thousands of timers (ala new
    java.util.Timer()) I get thousands of VM threads.Why would you expect any different? java.util.Timer supports arbitrarily many tasks being scheduled at any particular time (Subject to restrictions as mentioned in the java.util.Timer javadoc documentation), so only one Timer object needs to be created. More than one may be created, so distinct subsystems of a framework can execute completely distinct timers (ie- one subsystem's timer failing for any reason won't bring the other subsystems' timers down). If you dislike such flexibility, feel free to devise your own interface.

  • Message sent time problem

    i have message sent time problem on my N73
    the time is not correct in my message detail whenever i try to check it,note that it is message SENT time not RECEIVE time.however,other phones operate correctly even other brands of nokia like 1110.
    please help me how can i get the correct time ?
    moreover i iam in iran and set my time for iran

    It's a bug that every N73 owners have.
    Don't know why they didn't fix this until now, perhaps the didn't noticed this bug yet.
    Feel free to hit the KUDOS button if you think I deserved it.........

  • Can someone help with a previous post labeled "Writing to a data file with time stamp - Help! "

    Can someone possibly help with a previous post labeled "Writing to a data file with time stamp - Help! "
    Thanks

    whats the problem?
    Aquaphire
    ---USING LABVIEW 6.1---

  • How Does Time Machine Help If... iCal Data Lost?

    Hi,
    How does Time Machine help if, say, your iCal database gets messed up? Or, how does it help if you accidentally delete all your playlists from iTunes? I'd be interested to know.

    That's a very good question (although probably better directed at Apple than us). Because Time Machine is new and Apple's in house programs handle data in different ways, there are a range of different means of recovering data for different applications. Not very user friendly and iCal is one of the least user friendly ones.
    As an experiment, because I don't make much use of iCal and have no real idea how it works, I tried to find out how to restore its data. Starting with working with the application: nope, not TM aware at present. OK, where does it restore its data? Next step Spotlight where, as it happens, the obvious search "Calendars" brings up a folder in ~/Library labelled that with a whole lot of mysterious stuff in it. I'm pretty sure that restoring that folder would do the trick. No doubt, if you could figure out which Calendar belongs to what in the above folder you could restore a single calendar that was causing problems. Still, Apple's clearly got some work to do to make this more transparent. Roll on iCal4!
    (By the way Mail also restores from within the program).

  • Im gettin flash sms about not enough credit all the time! help :*

    Hi guys im gettin Alerts with BIG DISMISS about not enough credit for service.... ANd im getting it all the time   Please help me without jailbbreak   or something :S  When i press the top button to lock and when i press Home i got it ! always and its annoying i didnt had this problem...  class 0 or flash msg with big green dismiss button about not enough credit LL THE TIME...

    this is not an iphone issue it's an issue with your phone network provider

  • Window 2008 R2 datacentre server time problem

    Hi Team,
    I have one window 2008 R2 data centre server, which having time problem, I have setted IST time zone but time coming 15 minute delay, I have tried to correct time by manual but time goes again 15 minute delay itself.
    Please guide how to solve it and but i don't want to use NTP, as this server is on workgroup.
    Regards
    Inder Singh Rawat

    Hi ,
    I followed following step to build NTP in window server 2008 R2.
    Enabling & Configuring NTP Server
    1. Change the server type to NTP.
    Click Start, click Run, type regedit, and then click OK.
    Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type
    In the pane on the right, right-click Type, and then click Modify. In Edit Value, type NTP in the Value data box, and then click OK.
    2. Set AnnounceFlags to 5. 
    Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags
     In the pane on the right, right-click AnnounceFlags, and then click Modify. In Edit DWORD Value, type 5 in the Value data box, and then click OK.
    3. Enable NTPServer.
    Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer
     In the pane on the right, right-click Enabled, and then click Modify .In Edit DWORD Value, type 1 in
    the Value data box, and then click OK
    4. Specify the time sources.
    Open a command prompt and type the command as below: w32tm /config /manualpeerlist:peers /syncfromflags:manual /reliable:yes /update
    peers: time.windows.com or time.nist.gov
    eg: w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:yes /update
    5. At the command prompt, type the following command to restart the Windows Time service, and then press Enter:
    net stop w32time 
    net start w32time  
    i run following useful command.
    1. To resynchronize time : w32tm /resync  or w32tm /resync /rediscover
    2. To verify the configuartion : w32tm /query /configuration and w32tm /query /status
    3. Display the current time zone settings : w32tm /tz
    Now what problem i am facing , when server goes restart "Window time service stoped" and ntp corrupted.
    Even Window time service is set automatically, when i do configure again then NTP work proper.
    Please help how to resolve this problem, if server restart NTP goes corrupted becuase of window time service stopped.
    Regards
    Inder Singh Rawat

  • I am in an internet cafe and my macbook pro can't find the wireless network available here. I have used this network before. I have restarted my machine several times too. help please

    I am in an internet cafe and my macbook pro can't find the wireless network available at the cafe. I have used this network before. I have restarted my machine several times too. help please

    Change your router channel.  Sometimes this is all you will have to do.
    Power cycling the router.  Read the router's user manual or contact their tech support for instructions.
    System Preferences/Internet & Network/Network
    Unlock the padlock
    Locations:  Automatic
    Highlight Airport
    Click the Assist Me button
    In the popup window click the Diagnostic button.
    System Preferences/Network- Unlock padlock.  Highlight Airport.  Network Name-select your name.  Click on the Advanced button.  Airport/Preferred Networks-delete all that is not your network.
    Place a check mark next to "Remember networks this computer has joined."  Click the OK button and lock the padlock.  Restart your computer.
    http://support.apple.com/kb/TS1920 Mac OS: How to release and renew a DHCP lease
    No internet connection (wireless)
    Check to see if an extra entry is present in the DNS Tab for your wireless connection (System Preferences/Network/Airport/Advanced/DNS).
    Delete all extra entries that you find.
    Place a check mark next to "Remember networks this computer has joined."
    Other resources to check into:
    http://www.netspotapp.comNetspot
    How to diagnose and resolve Wi-Fi slow-downs
    Pv6 troubleshooting
    Mac OS X 10.6 Help:  Solving problems with connecting to the Internet
    What Affects Wireless Internet?
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting

  • How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    Try this general troubleshooting procedure:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder: User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks and Yosemite,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

Maybe you are looking for