Clearing Form when changing from Insert Mode to Enter/Execute Query

Morning folks,
I need some help or pointers with a form I am working on. At startup, the form is in Insert mode. I am using Oracle Forms 9i.
Goal: Clear the form with NO_VALIDATE when User enters an ID in Insert mode and clicks on the Execute Query button(DEFAULT&SMARTBAR Inbuilt Menu)
The user can do two things when they first open the screen.
Option 1: Enter the STUDENT_ID and press Tab
Option 2: Enter the STUDENT_ID and press the Execute Query button (Part of the DEFAULT&SMARTBAR Inbuilt Menu)
There is a When-Validate-Item trigger on STUDENT_ID to check if the Student ID already exists in the database. If it does, it gives an Error message saying "Student ID found. Please Query the record or enter a new Student ID". This is fine with Option 1.
The problem arises with Option 2. When I Enter a Student ID in Insert Mode and (thinking I am in Enter Query mode) and press the Execute Query button, I get two messages:
Message 1: "Student ID found. Please Query the record or enter a new Student ID"
Message 2: Oracle message "Do you want to save the changes? Yes/No/Cancel.
Is there a way to stop this *Message 2?*
Here is what I have done to try and mitigate this situation. I have created a non database field and have called it clear_form.
In When-Validate-Item I set the field clear_form = 1 when I encounter *Message 1*
{code}
if t_record_exists > 0 then
set_alert_property('ALERT_ERROR',ALERT_MESSAGE_TEXT,'Student ID found. Please Query the record or enter a new Student ID');
alert_button := show_alert('ALERT_ERROR');
:clear_form := 1;
end if;
{code}
By creating *Key-EXEQRY* Trigger at Form Level, I was hoping that it would just clear the form. I put some messages and its seems to me that *KEY-EXEQRY* is firing first and then the *WHEN-VALIDATE-ITEM*. Is there a way to have the *WHEN-VALIDATE-ITEM* trigger fire first?
{code}
if :clear_form is null then
execute_query;
else
clear_form(no_validate);
end if;
{code}
Thanks!
Edited by: Roxyrollers on Sep 28, 2012 8:50 AM
Edited by: Roxyrollers on Sep 28, 2012 9:45 AM

Having the actual Student_ID column from the table is dangerous, since it is also the key to the student's data. What if the user properly executes a query, showing a student's data, and then wants to look up another student, so keys in the new ID. If he then presses Execute Query, the Form asks "Do you want to save your changes?"
If the user presses Yes, the new ID becomes the previous student's key.
It would be better if you put the student_ID field in a control block. Then, the user enters a Student_ID, and presses Execute Query, the query then populates the student's data in the Base Table block. In the B_T block, the actual Student_ID column should be hidden.

Similar Messages

  • Clear form when changing tab or page

    I do have a few pages which hold information separated into many tabs. Within the tabs are porlets consisting of one form portlet and a report portlet. I used the query button in on form and change the tab or page and did changes on the other tab/page. If I go back to the original tab/page the form stays in the query state holding the values of the last query. This is dangerous because I could have changed the data of the table behind the form on another page. Therefore I want to reset the form every time I leave the the tab/page where the form is. Has everyone tried this and succeeded?
    Thanks for you help.
    Alexandra

    I don't know exacly why this does not work for your system as
    well. I can just guess. There is another configuration for
    caching in the main configuration of PORTAL I think it is the
    file http.conf under Oracle\iSuites\Apache\Apache\conf. My system
    admin told me that he had totally disabled the caching option for
    PORTAL. This is how my http.conf file looks like at the lines
    that have to do with caching:
    # CacheNegotiatedDocs: By default, Apache sends "Pragma:
    no-cache" with each
    # document that was negotiated on the basis of content. This asks
    proxy
    # servers not to cache the document. Uncommenting the following
    line disables
    # this behavior, and proxies will be allowed to cache the
    documents.
    #CacheNegotiatedDocs
    # To enable the cache as well, edit and uncomment the following
    lines:
    # (no cacheing without CacheRoot)
    #CacheRoot "D:\ORACLE\iSuites\Apache\Apache\proxy"
    #CacheSize 5
    #CacheGcInterval 4
    #CacheMaxExpire 24
    #CacheLastModifiedFactor 0.1
    #CacheDefaultExpire 1
    #NoCache a_domain.com another_domain.edu joes.garage_sale.com
    # Inter-Process Session Cache:
    # Configure the SSL Session Cache: First either `none'
    # or `dbm:/path/to/file' for the mechanism to use and
    # second the expiring timeout (in seconds).
    #SSLSessionCache none
    #SSLSessionCache shm:logs\ssl_scache(512000)
    SSLSessionCache dbm:logs\ssl_scache
    SSLSessionCacheTimeout 300
    Don't know if this helps. But it works for 3.0.8.9

  • Return back from insert mode

    Hi experts,
    can we change from insert mode to some other mode as in oracle forms......
    My issue is , when a form entered in createinsert mode ....it fires required error for the fileds , when try to navigates to some other forms or links or buttons
    how can we overcome it?
    PMS

    >
    You can use the immediate attribute to allow processing of components to move up to the Apply Request Values phase of the lifecycle. When actionSource components (such as a commandButton) are set to immediate, events are delivered in the Apply Request Values phase instead of in the Invoke Application phase. The actionListener handler then calls the Render Response phase.
    >
    for further info check [url http://docs.oracle.com/cd/E16162_01/web.1112/e16181/af_lifecycle.htm#CIACBJCJ]5.2 Using the Immediate Attribute

  • Error message when changing from portrait to landscape when printing

    I receive an error message when changing from portrait to landscape when trying to print.  How do I resolve this issue?

    Hi hillclimbing,
    Can you please let me know the exact error message you see as that would be helpful.
    Does this occur with all the pdf files.
    What OS and Acrobat version are you using?
    Regards,
    Rave

  • Since updating to Lion the iMac won't recognise the external hard drive (maxtor) when waking from sleep mode,

    Hi All, Since updating to Lion, my imac won't recognise the ext HDD (Maxtor) when waking from sleep mode, I have tried another port, diisc utility (Ext HDD not listed in here) but nothing works. I now find that I have to restart the imac to get the drive recognised..which is fine until the imac goes into sleep mode then I lose the drive and have to restart etc etc.....anyone suffering same issue.  The Ext Drive worked perfectly until the upgrade..

    Thanks for this, and apologies for delay in replying...in between seeing your post I backed up the ext hdd to another mac and used the disc utility to erase and repair and then re mounted the ext hdd. OK.  I have then tested the ext hdd being recognised when waking from sleep mode a few times and everything appears to be fine. If this doesn't work (long term) I will follow the instructions as you have suggested....
    I now have a new problem with my HP printer (Photosmart Plus) which is not being recognised by a new wireless router..Ok whilst the router is switch on and I have reconfigured the printer..but when the router is switched off overnight and then switched back on...I get a 'printer is not connected' message and have to go through the re configure routine all over. I am minded to think this is a router problem as the same issue is happening to my wifes Mac Book Pro (which is only a few weeks old)...any suggestions..

  • Problems with email account on ipad2 when changing from mobileme to icloud

    Problems with email account on ipad2 when changing from mobileme to icloud

    Would you please give us some more information about your problems.

  • Kernel Panic when waking from sleep mode., Kernel Panic when waking from sleep mode.

    Hi,
    I have an Imac 2.8 GHz Intel Core 2 Duo desktop which I have upgraded to lion.
    Recently I keep getting kernel panics when waking from sleep mode and I cannot figure out what it is.
    I am not very computer savy - I.e. I use a computer but don't know programming etc.
    The computer then asks me to shut down and restart.
    Any help would be much appreciated as this is driving me crazy.
    An example of the latest kernel panic log as as follows:
    Fri Jan  6 21:25:02 2012
    panic(cpu 0 caller 0xffffff80002c266d): Kernel trap at 0xffffff80002936b3, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000000020, CR3: 0x000000000f636000, CR4: 0x0000000000000660
    RAX: 0x000000000006f9d8, RBX: 0xffffff800445d598, RCX: 0x0000000000000020, RDX: 0x0000000000019fd8
    RSP: 0xffffff808073b520, RBP: 0xffffff808073b540, RSI: 0x000000002996b2ee, RDI: 0xffffff8003f83ce8
    R8:  0x0000000000000000, R9:  0x0000000000000000, R10: 0xffffff800bf31788, R11: 0x0000000000009268
    R12: 0xffffff800374c000, R13: 0xffffff800445d598, R14: 0x000000000006f9d8, R15: 0xffffff8003f83ce8
    RFL: 0x0000000000010202, RIP: 0xffffff80002936b3, CS:  0x0000000000000008, SS:  0x0000000000000000
    CR2: 0x0000000000000020, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff808073b1e0 : 0xffffff8000220702
    0xffffff808073b260 : 0xffffff80002c266d
    0xffffff808073b400 : 0xffffff80002d7a1d
    0xffffff808073b420 : 0xffffff80002936b3
    0xffffff808073b540 : 0xffffff800029383b
    0xffffff808073b560 : 0xffffff800029485b
    0xffffff808073b590 : 0xffffff800027e44b
    0xffffff808073b5f0 : 0xffffff7f811a44dd
    0xffffff808073b630 : 0xffffff7f811a36c4
    0xffffff808073b760 : 0xffffff8000328517
    0xffffff808073b7b0 : 0xffffff80002e823b
    0xffffff808073b8a0 : 0xffffff80003170ce
    0xffffff808073b8d0 : 0xffffff80002ec664
    0xffffff808073b9e0 : 0xffffff80002f0229
    0xffffff808073ba50 : 0xffffff80002f0265
    0xffffff808073ba80 : 0xffffff80004e6833
    0xffffff808073bb50 : 0xffffff8000316ca3
    0xffffff808073bba0 : 0xffffff80005a6e29
    0xffffff808073bc30 : 0xffffff8000265675
    0xffffff808073bc80 : 0xffffff80002651f3
    0xffffff808073bcc0 : 0xffffff800026a62f
    0xffffff808073bdc0 : 0xffffff800026cdb4
    0xffffff808073bf40 : 0xffffff80002c1f0b
    0xffffff808073bfb0 : 0xffffff80002d7941
          Kernel Extensions in backtrace:
             com.apple.BootCache(33.0)[7D74A237-77EF-359F-B1E2-CB1E602E8B9F]@0xffffff7f811a2 000->0xffffff7f811aafff
    BSD process name corresponding to current thread: corestoraged
    Boot args: 0x0
    Mac OS version:
    11C74
    Kernel version:
    Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
    Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
    System model name: iMac8,1 (Mac-F227BEC8)
    System uptime in nanoseconds: 46767492658
    last loaded kext at 39979515424: com.apple.driver.AppleTyMCEDriver          1.0.2d2 (addr 0xffffff7f81930000, size 45056)
    loaded kexts:
    com.apple.driver.AppleTyMCEDriver          1.0.2d2
    com.apple.driver.AudioAUUC          1.59
    com.apple.driver.AppleHDA          2.1.3f7
    com.apple.driver.AppleUpstreamUserClient          3.5.9
    com.apple.driver.AppleMCCSControl          1.0.26
    com.apple.kext.ATIFramebuffer          7.1.2
    com.apple.driver.AppleMuxControl          3.0.16
    com.apple.driver.AppleBacklight          170.1.9
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.ATIRadeonX2000          7.1.2
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AudioIPCDriver          1.2.1
    com.apple.driver.AppleLPC          1.5.3
    com.apple.driver.ACPI_SMC_PlatformPlugin          4.7.5d4
    com.apple.driver.CoreStorageFsck          182.10
    com.apple.driver.AppleIRController          312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          33
    com.apple.iokit.SCSITaskUserClient          3.0.1
    com.apple.iokit.IOAHCIBlockStorage          2.0.1
    com.apple.driver.AppleFWOHCI          4.8.9
    com.apple.iokit.AppleYukon2          3.2.2b1
    com.apple.driver.AppleUSBHub          4.5.0
    com.apple.driver.AppleEFINVRAM          1.5.0
    com.apple.driver.AppleRTC          1.4
    com.apple.driver.AppleAHCIPort          2.2.0
    com.apple.driver.AppleIntelPIIXATA          2.5.1
    com.apple.driver.AppleUSBEHCI          4.5.0
    com.apple.driver.AirPortBrcm43224          500.36.11
    com.apple.driver.AppleUSBUHCI          4.4.5
    com.apple.driver.AppleHPET          1.6
    com.apple.driver.AppleACPIButtons          1.4
    com.apple.driver.AppleSMBIOS          1.7
    com.apple.driver.AppleACPIEC          1.4
    com.apple.driver.AppleAPIC          1.5
    com.apple.driver.AppleIntelCPUPowerManagementClient          167.0.0
    com.apple.nke.applicationfirewall          3.2.30
    com.apple.security.quarantine          1
    com.apple.driver.AppleIntelCPUPowerManagement          167.0.0
    com.apple.driver.AppleAVBAudio          1.0.0d11
    com.apple.driver.AppleHDAHardwareConfigDriver          2.1.3f7
    com.apple.driver.DspFuncLib          2.1.3f7
    com.apple.driver.AppleBacklightExpert          1.0.3
    com.apple.iokit.IOSurface          80.0
    com.apple.iokit.IOFireWireIP          2.2.4
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.AppleHDAController          2.1.3f7
    com.apple.iokit.IOHDAFamily          2.1.3f7
    com.apple.iokit.IOBluetoothSerialManager          4.0.1f4
    com.apple.iokit.IOSerialFamily          10.0.5
    com.apple.iokit.IOAVBFamily          1.0.0d22
    com.apple.iokit.IOEthernetAVBController          1.0.0d5
    com.apple.iokit.IOAudioFamily          1.8.3fc11
    com.apple.kext.OSvKernDSPLib          1.3
    com.apple.driver.ApplePolicyControl          3.0.16
    com.apple.driver.AppleGraphicsControl          3.0.16
    com.apple.iokit.IONDRVSupport          2.3.2
    com.apple.kext.ATI2600Controller          7.1.2
    com.apple.kext.ATISupport          7.1.2
    com.apple.iokit.IOGraphicsFamily          2.3.2
    com.apple.driver.AppleSMC          3.1.1d8
    com.apple.driver.IOPlatformPluginFamily          4.7.5d4
    com.apple.driver.AppleFileSystemDriver          13
    com.apple.driver.BroadcomUSBBluetoothHCIController          4.0.1f4
    com.apple.driver.AppleUSBBluetoothHCIController          4.0.1f4
    com.apple.iokit.IOBluetoothFamily          4.0.1f4
    com.apple.driver.CoreStorage          182.10
    com.apple.iokit.IOUSBHIDDriver          4.4.5
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.0.1
    com.apple.iokit.IOUSBMassStorageClass          3.0.0
    com.apple.driver.AppleUSBMergeNub          4.5.3
    com.apple.driver.AppleUSBComposite          3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.0.1
    com.apple.iokit.IOBDStorageFamily          1.6
    com.apple.iokit.IODVDStorageFamily          1.7
    com.apple.iokit.IOCDStorageFamily          1.7
    com.apple.driver.XsanFilter          403
    com.apple.iokit.IOATAPIProtocolTransport          3.0.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.0.1
    com.apple.iokit.IOFireWireFamily          4.4.5
    com.apple.iokit.IOUSBUserClient          4.5.3
    com.apple.iokit.IOAHCIFamily          2.0.7
    com.apple.iokit.IOATAFamily          2.5.1
    com.apple.iokit.IO80211Family          411.1
    com.apple.iokit.IONetworkingFamily          2.0
    com.apple.iokit.IOUSBFamily          4.5.3
    com.apple.driver.AppleEFIRuntime          1.5.0
    com.apple.iokit.IOHIDFamily          1.7.1
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          165.3
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          331
    com.apple.iokit.IOStorageFamily          1.7
    com.apple.driver.AppleKeyStore          28.18
    com.apple.driver.AppleACPIPlatform          1.4
    com.apple.iokit.IOPCIFamily          2.6.7
    com.apple.iokit.IOACPIFamily          1.4
    This is all double dutch to me.
    Would anyone be able to help please???
    Thank you very much !!
    Dave

    Hi, for other peoples information - I finally figured out the problem. It was actually a faulty RAM module which I had bought. I had upgraded from 2 to 4 gb of RAM using an approved type of RAM for my particular computer. Finally I removed one module of RAM (after doing nearly everything else under the sun including trying to reinstall the operating system and wipe the computer etc) and the computer worked fine.
    Dave

  • Wifi disconnects when waking from sleep mode; running Mountain Lion

    Had this same issue with Lion as well,, wifi disconnects when waking from sleep mode,,,any ideas how to fix this pesky issue?

    Hi Sky,
    This has worked for a few...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    Also, turn off IPv6:
    System Preferences » Network » AirPort » TCP/IP tab » Configure IPv6
    Or whatever Interface you use.

  • Firefox crashes windows 7 when recovering from sleep mode

    Similar to the following:
    http://support.mozilla.com/pl/forum/1/627872?s=window+7+crash&as=s
    but not sure whether it depends on pages that are currently opened.
    Sometimes, when recovering from sleep mode on win7 (with only Firefox and VS2008 running), win7 crashes. What's important - It doesn't happen always, but still, it's annoying (Firefox starts with startpage only).
    I've been noticing this issue on different Firefox versions from Firefox 3.5 to 3.6.6.

    Same exactly problem here, very annoying when the computer goes to sleep mode and then Firefox locks up.

  • Macmini 2011 on lion, goes to a blue screen om monitor when awakening from sleep mode, last 3 or 4 seconds, can anyone help? Thanks

    Macmini 2011 on lion, goes to a blue screen on monitor when awakening from sleep mode, last 3 or 4 seconds, before desktop appears, can anyone help? Thanks

    Depending on the system configuration, this may not
    be unusual.  The Mini that I use for my home theater,
    which is connected to a receiver then to a TV, all via
    HDMI usually takes a couple seconds to come up just
    the way yours does.  Same happens when I switch sources
    on the receiver.  Actually, it starts with the blue screen and
    will sometimes flash before the desktop comes up.
    It seems that when HDMI goes dormant, there is handshaking
    that needs to be re-established, at least thats my SWAG on it.
    On the other hand, the Mac Mini Server that I use as a work
    station and is connected to a Thunderbolt Display, wakes to desktop
    in a second, maybe two.  On this combo, it just comes up to
    the desk top.
    It also probably depends on what processes were active when
    the Mini was put to sleep.  So it may take some time for it to get around
    to reloading the desktop.

  • Access 2010 on 64 Bit Windows 7 Access "Not Responding" when changing from forms view to design view and back

    I am running
    Windows 7 64 bit
    Access 2010 32 bit
    Developing an application with a split FE BE with both files local but continue to have the message "Not Responding" when switching from forms view to design view and back as well as if I try to connect to a subform or object on the sub form.

    I have seen this behavior when the form's RecordSource is a complex query such as a crosstab or a query with several nested queries. To test if this is your case, remove the RecordSource and see if the form starts acting normal again.
    Then again, if the form has several subforms they might be slowing up the loading time.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • Opening Form in Insert mode but making a query at the same time

    My problem is that I want to open a Portal Form in Insert mode but at the same time making a query.
    If I call a form with patameters the form opens automatically in update mode (to be more precise with FORMSTATE = UPDATE_AND INSERT). In that case the insert button is not shown.
    I have come very close to a solution by running this code:
    BEGIN
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_FORM_STATE',
    p_value => 'QUERY_AND_INSERT');
    END;
    under "... before processing the form". The form-state changes to QUERY_AND_INSERT' and I get the record from the table that I want but I still see no insert button!
    I think that I can solve this problem in some table-triggers in the database but it would be interesting to know weather it is possible to do this in the portal.

    Kari,
    You can workaround the disappearing Insert button by creating a custom button instead.
    If you look at the "standard" Insert button code it looks like this:
    --- Type your PL/SQL code here...
    doInsert;--- This is the default handler
    --- ...and here, thanks...
    in the generated forms package doInsert just calls internal insert handler:
    procedure doINSERT
    is
    begin
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    end doINSERT;
    If you add a custom button to your form and from PLSQL event combobox select "Custom", then copy&paste this code to the event code:
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    You will get a custom button which does exactly what the Insert button does and it will not disappear from the screen.
    Thanks,
    Dmitry

  • Why does my computer tell me the "Disk was not properly ejected" when waking from sleep mode?

    I am a real "Newbie" to Mac OS. I have a new iMac 21.5" running OS X Lion. When I awake the computer from sleep mode with the spacebar on the keyboard, I get the message "The disk was not ejected proper, etc.". Iss there something I am doing wrong?
    Thanks,
    Mike G.

    I am one of those who had experienced this kind of problem.  My former Time Machine disk used to automatically eject itself when my iMac sleeps, hence upon waking up my iMac. i always get the error message that the disk was not properly ejected.
    From what I was able to gather from my experience, until the time that I found a workable solution, I think I can say that the problem is most probably caused by the incompatibility of certain external drives with how the iMac operates when on sleep and upon waking up.  Some external drives are just not able to cope with how the iMac tries to remount a connected disk after it wakes up from sleep.  There are just some external drives that cannot continue to be mounted after the iMac wakes from sleep.  There are just some external drives that are not responsive enough. In other words, the existence of the problem lies with the type of external drive you are using.
    My former Time Machine disk, the problematic one, was an Imation M300 Apollo 1 TB external disk.  It unmounts everytime my iMac went to sleep, but does not remount after waking up the iMac.  The disk will continue to be unmounted until I physically remove its USB connector and replug it in the iMac.
    I replaced my former Time Machine disk with my current one, a Transcend Storejet 1 TB.  And the problem went away.  The Transcend disk continue to be mounted after the iMac is woken up even from the longest of sleep.  I have even the energy saving option "put the hard disk to sleep..." checked.  The Transcend disk comes with a Y cable, i.e. it has two USB connectors, but I only connect the one for both data and power--and it still remains mounted even after waking the iMac from sleep.
    The sad realization, however, is that since there are only some external drives that are not able to work with the iMac, no matter how many those some may seem to be, it will be highly unlikely for Apple to itself fix this kind of a problem.
    I, therefore, make the following recommendations:
    1.  Check first if your problematic disk has a firmware upgrade available.  In some cases, the firmware upgrade may be enough to make the disk more responsive to the iMac waking up.
    2.  If there is no firmware upgrade available, check if your power/data USB cable is properly working.
    3.  If your power/data USB cable is in order, and the problem still persists, I think it is inevitable that you have to replace the problematic disk with a newer one that could respond well with the iMac's wake/sleep operation.  With what disk will you replace your problematic one?  I can only recommend from my personal experience the Transcend disk I mentioned earlier.  You may also search this forum on other brands of disks that may also work.
    Regards.

  • Error in AJAX call when resume from Sleep mode?

    We have developed a HTML5 web app and added it to home screen the app is working fine. But the AJAX call is not working when we resume the app from SLEEP MODE. If the app keep opened.
    THIS ISSUE COMES ONLY IN iOS8.
    Please give the solution for the above issue.
    Thanks
    Harish S

    Sounds like maybe the eject mecinisim is stuck..? Try inserting a CD or DVD and then Eject it to see if that makes a difference.
    If not, try reseting both the SMC and PRAM
    as per > Resetting the System Management Controller
    and > Resetting your Mac's PRAM
    Then if it is still acting up, contact Apple or your local AASP
    at > Apple - Support - iMac - Service FAQ

  • BT Keyboard Loses Connection When Waking from Sleep Mode

    I'm running Windows 7 on a late 2009 27" iMac and my Bluetooth keyboard keeps loses connection when I wake my computer from sleep mode. Usually the only way I can get it back is my resetting. Anyone know of a way to fix this? Any help would be great appreciated.

    If the MBP doesn't wake when you open the lid but does when you press any key afterward, do this:
    Applications > Utilities > Terminal
    Copy and paste the following text in the Terminal window:
    *sudo pmset lidwake 1*
    You'll be asked for your admin password. Type that in (Note: the password will not be displayed as you do so). Press Return, and quit the Terminal. Close the MBP, wait for it to sleep, and open it again. Does it wake now?
    If you want to change it back so the system doesn't wake when you open the lid, repeat the procedure, but this time type or paste:
    *sudo pmset lidwake 0*

Maybe you are looking for

  • File Sender Adapter - file pick up

    We have a scenario, where we are picking up files from an ftp directory. Before we pick up the file - say .xml file, we have to make sure that there is .FIN file. How can we achieve this? reg

  • Cannot run Forms

    Hi I just installed Oracle 9i Developer Suite and 9i database rel 2...I am able to connect to the database from form builder and develop forms and compile them...However, I am not able to run the form module...I get the following error "The http list

  • Error Installing Air 2.0 SDK

    When I try "install" Air2.0 SDK i have this error "Directory does not contain a Flex SDK". I unzip sdk into flex sdk folders and then open Flex Builder. Inside Flex Builder go to "Window"->"Preferences"->"Installed Flex SDKs"-> ADD and select my air

  • Assigning dataprovider to a chart in report designer

    Hi experts, In the report designer, I'm able to include a chart in a report section(but not in the main design area). But i want the chart to reflect according to the query (but it seems to be static). I tried all the options to assign a dataprovider

  • When trying to set up a photo onto my homescreen it doesnt let you zoom out anymore, why?

    I am trying to put my favourites photos onto my home screen on my iphone5. It doesnt fit the whole photo like it used to before, why?