Timers stop executing all of a sudden!

Apologies for a lengthy question :-)
I have a dedicated form to which a timer is attached and it polls table every 30 sec to search for some data.
The form is opened on load of the main form and is present through out the app is open.
The timer suddenly stops executing at certain points in time, mostly when there are alerts displayed on the screen. It never expires thereafter, until i go and click on the notification form. Mysteriously as soon as I click on the notification form, the timer expires and it works properly.
three things I require help on....
1. Any explanation as in why the timer stops working and resumes as soon as I click on the form?
Note: There are no "when new block instance" triggers on the form. It has only new-form instance in which we create timer and when timer expired trigger.
2. Any solutions to the above problem. Can I move the focus to that window some how? Where should I use "Go_form"?
3. Any alternatives to this approach to query data periodically from the table?
Thanks and Regards
Shree

Hi
I thing (and not sure of) the reason that timer halt on certain points in time is that Forms does not support multithreading, that means the whole program is running instructions one by one, and if the program reaches instruction that requires user intervention, any instructions following that will not execute and the program enters a loop waiting the user, once the user interacts, the program continue with next instruction. Timers are instructions inside the body of the program and any timer will not execute its triggers if any kind of user intervention is required.
Note : there is a different behavior when using CALL_FORM or OPEN_FORM, one continue executing the following code, and the other does not.
I do not know why this behavior exists in Forms, because Timer (by its name) should not stop executing its triggers no matter what happen in the form.

Similar Messages

  • 2nd Gen Time Capsule - will not power up - just stopped working all of a sudden - I have tried other power outlets - I have tried pressing the reset button - no light

    2nd Gen Time Capsule - will not power up - just stopped working all of a sudden - I have tried other power outlets - I have tried pressing the reset button - no light

    The power supply is shot. But that it lasted even this long is the wonder.. not that it died.
    The TC runs too hot..
    Look on ebay for "Time Capsule power supply"
    You can get a replacement and fix it although the economics are not so good.. it is probably time for a new TC.
    If you can DIY it is really only a few dollars worth of capacitors that go bad.
    See https://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modem s/apple-time-capsule-repair
    For a bunch of alternatives.

  • Using a first gen iPad.  Video and audio from internet sites simply stopped working all of a sudden.  Any suggestions?  Thanks.

    Using a first gen iPad.  Video and audio from internet sites simply stopped working all of a sudden.  Any suggestions?  Thanks.

    1)access the router web ui
    2)go to the Mac Address Clone subtab , enable it and click "Clone" . Save the settings
    3)do a power cycle
    4)check whether the router gets an internet ip add now ..

  • During app load, Premiere elements 11 stopped working all of a sudden. Why?

    Premiere elements 11 stopped working all of a sudden. Says "A problem caused the program to stop working correctly" I re-installed it but still the same.
    I haven't installed any other apps except adobe reader and there were a few Windows updates but that was it. Some history - I had defraged my hard drive when this started to happen. Wouldn't the re-install have fixed it if the de-frag caused this problem? What is causing elements to stop loading at the splash screen?

    DFMA
    Thanks for the follow up with the very helpful information.
    If this is one of those Importer QuickTime type issues, the answers are few if any.
    If you have not already tried
    Have you attempted to delete the Adobe Premiere Elements Prefs file and, if necessary,
    the whole 11.0 Folder in which it exists.
    then, please try the following...
    My expectations for the following are not high, but worth the time -
    1 uninstall the usual Control Panel way - you might want to uninstall QuickTime at the same time.
    2. free ccleaner run through (regular and registry parts)
    CCleaner - Download
    3. reinstall QuickTime and then Premiere Elements with anti-virus and firewall(s) disabled.
    Others on the list...
    1. Create a new User Account with Administrative Privileges and install and run Premiere Elements
    from there.
    2. Use a new set of installation files either from Adobe if you purchased the program from it as an online
    download, or get tryout installation files for 11 into which you can insert your purchased serial number.
    Photoshop Elements 11 Direct Download Links: Free Trials, Premiere | ProDesignTools
    If the latter, read and carry out carefully the Note: Very Important Instructions in order to avoid an Access
    Denied message.
    We will be watching for your progress.
    Thanks.
    ATR

  • Speakers stopped working all of a sudden in my laptop HP pavilion g6 (windows 8)

    Its been a year i bought lapi. i hardly used it.. My laptop speakers stopped working all of a sudden. I think its coz i upgraded my os from windows 8 to 8.1 (automatically). Even though i upgraded it still askes for upgradation every time i switch on the laptop..
    Can anyone suggest me the issue..??
    Thanks in advance for solution..

    Hello San123,
    Welcome to the HP Forums!
    I will definitely assist you with the computer's issue regarding lack of sound from the speakers. Before anything else is done, please make sure you try every step in this thread: Troublesho​oting Guide: Audio does not Work after a Certain Period of Time
    If every step does not help, please provide the following information:
    1. The computer's model number. If you require assistance locating this information, please reference this website: Guide to finding your notebook product number
    2. The computer's operating system. If you require assistance locating this information, please reference this website to determine your Windows operating system.
    3. Does this occur on certain programs, or all programs?
    4. Have you installed any new software or drivers on this computer, before the issue appeared?
    5. What steps have been attempted from my first post on this thread, and what were the results?
    Additionally, if the issue just began occurring, I would perform a system restore. I want you to bring the computer back to the earliest restore point possible, in an attempt to dodge whatever caused the issue. Here is a document on how to perform a System Restore: System Restore
    Either way, let me know what happens. Thanks!
    Mario
    I worked on behalf of HP.

  • My i phone 5 stopped working all of a sudden and now it is not even getting connected to i tunes and i am not even able to switch it on

    my i phone 5 stopped working all of a sudden and now it is not even getting connected to i tunes and i am not even able to switch it on..please suggest what to do??

    Hi PriankaB,
    Thanks for using Apple Support Communities.  This article has steps you can try if your iPhone won't turn on that may help:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    Cheers,
    - Ari

  • Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hi. I have an iPhone 4s. The music doesn't play when I connect it to my car stereo. It used to play previously but stopped playing all of a sudden. My phone is getting charged when I cut it to the USB port. Please help with this. The iOS is 6.1.3.

    Hello Priyanks,
    I found an article with steps you can take to troubleshoot issues with an iPhone not connecting to your car stereo:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Desktop Software Stopped working all of the sudden..

    All of the sudden I got a windows message saying "Blackberry Desktop Software has stopped working" (A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.) I un-installed and re-installed the program and the same thing continues to happen. I have no idea what's going on. Has this ever happened to anyone else? Can someone help me out?

    It happens to me too just now. I just had my laptop upgraded.  before, i have it installed successfully without any problems encountered. in fact I was able to use it early yesterday before i upgraded my laptop. just now, when im trying to install the pc software, while installig it, it just gives a notification that it stopped. but later will show that i have successfully installed. but once you click to open the icon, it shows "Blackberry Desktop Software has stopped working". same with you i uninstall reinstall for 4x now, but still it isnt working.I even though it might be with my net connection, but it is not. I hope someone could help us. 

  • WiFi Issues - Stops working all of a sudden - Ipod 4 32G

    I wanted the community to be aware of an issue that hit me all of a sudden - my wifi connection on my iPod cease to stop working.
    I have a iPod Touch 4, 32G, Windows 7 w/Netgear DSL modem & Router
    Today, I was surfing the net with my iPod when all of a sudden I was disconnected.  I tried to connect to back but was having problems.  As time went by and nothing was happening, I was getting a little worried.  My Wii, internet, my wife's iPhone and my 1st &2nd Gen iPods touch's were all connected and working normally but mine was not.  I did absolutely everything possible.  I went to the user forums and surfed all over  to find a solution.  In my research, I found that I wasn't the only one that was having this same issue.  The only problem was there was no consensus on a solution.
    After resetting, deleting, downloading and just about everything else you could do with an iPod, I decided to see if it was my router.  I went into my router and set up a "guest" account and all of a sudden my iPod 4 could connect.  I then reset my router and it is now working perfectly.
    A lot of pain and trouble but the solution was just to reset the modem (in my case, I unplugged it). 
    This seems to be a strange issue with the iPod 4 as I am not the only one who has been hit with this issue.  It has not affected any of my other apple devices except my iPod 4.  There is something in how the iPod 4 and the router communicate and the easiest way is to restart your router (all other options did nothing for me)
    Hopefully this will help someone out and prevent them from going through all the pain I did. 

    Hi, this seems like a very annoying problem. Unfortunatly, the community will need some more information to help assist you with this problem. Such as:
    1) What programs? Are they resource intensive? I mean, if you are trying to run 4 video games or programs like photoshop and 3dsmax forget about it. And if you have 4 programs ALL attempting to write large amounts to the disk it will yeild a similar result. Usually large amounts of I/O are murder on PC's (by which I mean personal computers...), and of course if you don't have enough RAM its a moot point. 
    2) What are your specs? How much RAM do you have? What is the size of your virtual memory (page file)?
    3) Have you cleared the various caches mac's have? I can't direct you to any good third party programs for mac's but I am sure there is a simple cache cleaner within your system. 

  • HT1941 My laptop stop working all of a sudden

    How would I know if my laptop still under warranty and why it stop charging and power on all of a sudden?

    Warranty
    Click  in the menu bar.
    About This Mac > More Info..
    Click "Services" tab at the top, then click the arrow beside
        "Check my services and support status".
    Battery charger
        Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, contact Apple.

  • Why does my 9810's auto rotate stop working all of a sudden?

    My 9810's PIN is: 2978D267
    As said in title, the auto-rotate has ceased to work all of a sudden. I've tried removing the battery several times for total reboot and no luck, also tried drawing the keyboard back and forth and no dice. the other anomaly being the inability of recharging its battery with either 1A or 1.5A, wall socket dependant.
    I am on the sixth month of use, the place I purchased this handset from is no longer exists so I have no idea how the promised 2 years warranty is supposed to be.
    I hope that I can get some clue from here. Thanks.
    regardless of race, religion, social status, material, what not

    Let's make sure we're on the same page. When you remove your battery, is your phone turned on? Yes = proper battery pull, no = nothing will happen.
    If your phone is turned ON, then it's time for an OS reload using BlackBerry Desktop Software.
    Try that and post back with your results.
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • HT202157 Apple TV & Computer stopped talking all of a sudden? Help

    My Apple TV 2 cannot connect to my computer all of a sudden. They both have the latest software updated, I can access all except it won't link to the library on my computer. I have done the signal strength test all fine. Any ideas?

    T141, try a reboot of the Router and the apple TV with all cables out for 30 seconds.
    Jules

  • Internet stopped working all of the sudden

    I have a WRT54G router connected to my iMac and Mac Book, everything was working fine for the past three months, and all of the sudden no Internet either wirelessly or from a port.
    If I connect my PC directly to the modem I can connect to the Internet. The Internet and port lights are turned on on the router.  I can login to the router, but when I check the IP address it just shows 0.0.0.0, tried doing a DHCP release\ renew on the router, but nothing. Also, cannot ping any sites from the router.
    These are the toubleshooting steps I've taken to try to fix the problem:
    Restarted both the modem and the router.
    Tried using a different ethernet cable from the modem to the router.
    Reset the router.
    Upgraded to latest firmware. 
    I have Comcast cable as my ISP. Has anyone seen this before? Thought I'd get some feedback before I call support.
    Thanks.

    1)access the router web ui
    2)go to the Mac Address Clone subtab , enable it and click "Clone" . Save the settings
    3)do a power cycle
    4)check whether the router gets an internet ip add now ..

  • Has anybody found the fix for when audio stops working all of a sudden in FIrefox

    I DO NOT want to restart Firefox - and YES - I have RESET Firefox itself MANY TIMES - AND YES - I have the LATEST FIrefox - AND NO - I don't have any conflicting add-ins / extensions other than Fire FTP - and this happens ALL THE TIME - Does anybody know a workaround or a fix for this that won't mean restarting etc?

    ANY audio playing on ANY website through the Firefox browser - Chrome - is FINE so is IE - If I am plating audio through any other external source such as SoundForge or Adobe Audition - Fine - JUST through FIrefox - and this happens ALL THE TIME - ALL of a sudden - AND as i stated I DO NOT want to close my browser and restart - and have to save my tabs etc - AND again i have ALREADY reset Firefox - yet it still happens - Thanks

  • My power button stopped working all of a sudden now I can't turn my phone on or off, what should I do?

    My power button all of a sudden got stuck and doesn't work, so I can't turn my phone on or off

    No problem!  FYI, if it's considered accidental damage or past the warranty time, you're looking at $199 USD.  If it's within warranty time and not considered accidental damage by Apple, then it should be free.
    Make sure to do a backup to iTunes or iCloud first, though, before you go, and make sure to schedule an appointment online at http://concierge.apple.com/reservation/us/en/techsupport/

Maybe you are looking for

  • Apple TV not working since new Time Capsule...Sync

    I bought myself a new 1TB Time Capsule yesterday and set it up fairly easily. However, I notice now that I cannot sync my TV to my iMac anymore. It says: The Apple TV "Living Room Apple TV" is not repsonding. Check that any firewall software running

  • Can't open random websites in any browser

    Put some serious hours into finding a solution for this problem last night, just obsessed now. The two websites in question are www.iphonehacks.com and www.dropbox.com As per an older post by Linc Davis I booted into recovery mode and had no problem

  • HP Docking Station EN488AA - part number for power adapter

    Hi, I have a HP Compaq nx8220 notebook, with a HP Docking Station (EN488AA). Unfortunately I have lost the power supply for the docking station. I still have the power supply for the notebook itself (393955-001) but it does not plug in to the docking

  • How to create runnable JAR in Eclipse

    I have a project in Eclipse with many classes. Whenever I try to create a runnable JAR, the JAR file created always contains all the classes of the project, regardless whether they are really used or not. Is it possible to create a runnable JAR in Ec

  • Add a special field in Line Item Display.

    Hi Gurus, I need to add the field "Entry Date" in the GL report FAGLL03. I added the entry - BKPF - CPUDT in the Settings => Special Fields from the menu bar. Also mentained the same in SE11. It's working fine on Quality Server, but when I transfer t