Display items don't seem to synchronize with block values.

I have the following simple code in a command button of a form:
DECLARE
CURSOR PS_CURSOR IS SELECT * FROM PS_TITLE_SNS ORDER BY TITLE_SN;
PS_CURS PS_CURSOR%ROWTYPE;
ALERT_BUTTON NUMBER;
BEGIN
OPEN PS_CURSOR;
LOOP
FETCH PS_CURSOR INTO PS_CURS;
:MAIN.TITLE_SN := PS_CURS.TITLE_SN;
:MAIN.OLD_2004 := PS_CURS.ORIGINAL_2004;
:MAIN.NEW_2004 := PS_CURS.AMOUNT_2004;
:MAIN.OLD_2005 := PS_CURS.ORIGINAL_2005;
:MAIN.NEW_2005 := PS_CURS.AMOUNT_2005;
ALERT_BUTTON := SHOW_ALERT('WAIT');
IF ALERT_BUTTON = ALERT_BUTTON1 THEN
MESSAGE('SAVING ...');
insert code to save the change here
ELSE
MESSAGE('NOT SAVING ...');
END IF;
END LOOP;
END;
The problem is that in the first iteration of the loop, even though the values in the MAIN block are initialized before the SHOW_ALERT call, those values are not there when the alert pops up. I run the debugger and I see that the block items do have the values assigned. How can I ensure that the items are displayed in the first iteration of the loop?

I didn't when I asked the question but figured it out afterwards. But thanks very much for your NO_ACKNOWLEDGE as I was already getting frustrated with why the message didn't seem to sync either. NO_ACKNOWLEDGE fixed it.
Thanks again!

Similar Messages

  • TS3988 I have set up all the iCloud on my iPad and iPhone both are the latest version but they don't seem to sinc with each other does this take some time? I am connected to the Internet via wifi do I need to turn the mobile data to on on both maybe??

    I have set up all the iCloud on my iPad and iPhone both are the latest version but they don't seem to sinc with each other does this take some time? I am connected to the Internet via wifi do I need to turn the mobile data to on on both maybe??

    Welcome to the Apple Community.
    You need to turn the services you want to sync (calendars, contacts etc) on on both devices from settings > iCloud.

  • Display a message in a For Loop  with field value

    Hello All,
    pls,i wanna display a message in a For Loop with field value the code is:
    FOR Q1 IN GET_SUM_EXP_QUANTITY LOOP               .
    INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
    (FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
    VALUES (:PLN_PLAN.FIN_YEAR_CODE , TO_CHAR(V_FROM_DATE,'MM') , Q1.MATERIAL_CODE , 1 , V_MONTHLY_QTY , Q1.GROUP_CODE);
    MESSAGE(':PLN_PLAN.FIN_YEAR_CODE'||:PLN_PLAN.FIN_YEAR_CODE ||' '||'V_FROM_DATE = '||TO_CHAR(V_FROM_DATE,'MM'), 'Q1.MATERIAL_CODE'||' '|| Q1.MATERIAL_CODE||' '||'DISTRIBUTION_WAY'||' = 1'||'EXPECTED_QUANTITY'||' = '|| V_MONTHLY_QTY||'GROUP_CODE'|| ' '|| Q1.GROUP_CODE);
    FORMS_DDL('COMMIT');
    How 2 display a message with the value:
    Q1.MATERIAL_CODE
    Q1.GROUP_CODE
    message(Q1.MATERIAL_CODE)     
    gave me numeric or value error on run time when pressed on button
    Regards,
    Abdetu..

    Thanks 4 reply..
    again they r in a For Loop as mentioned above...
         INSERT INTO PLN_PLAN_DISTRIBUTION_WAY
                                                           (FIN_YEAR_CODE , MONTH_CODE , MATERIAL_CODE , DISTRIBUTION_WAY , EXPECTED_QUANTITY , GROUP_CODE)
                                            VALUES (:PLN_PLAN.FIN_YEAR_CODE , V_REPAIR_MONTH , Q1.MATERIAL_CODE , 1 , V_REPAIR_Qty , Q1.GROUP_CODE);
    FORMS_DDL('COMMIT');
    The fields in bold r required to be displayed for testing puposes..
    this gives me numeric or value error in runtime..
    Best regards,
    Abdetu..

  • CS4 Brushes don't seem to work with Wacom Mouse

    Ok, so since I've upgraded to CS4 about 3 months ago my Wacom Mouse (Intuos 3) doesn't seem to do anything with any brush tool. My attempts at brushing or stamping show in the history, but nothing changes to my document. I'm hoping this is a simple check box I'm missing or something of that nature.
    Before someone asks...
    -I am in normal masking mode.
    -I am brushing/clone stamping on the layer I want to be on with 'Current Layer' selected.
    -I am in the RGB Channel.
    -My opacity and flow are set to 100%.
    -Brush tools work just fine with the Pen.
    -I've actually replaced my mouse for a new one, same issue.
    Any help would certainly be appreciated. Thanks much!

    Check out the brush engine; specifically the shape dynamics with pen pressure selected. If the minimum diameter setting is a 0% then although the pen works with this, the mouse doesn't.
    Anthony.

  • Hi..I have bose companion 2 speakers and they don't seem to work with my macbook pro anymore..

    The bose companion 2 speakers used to work fine in the beginning when I bought it.
    After some days, I stopped using them and kept it in the box.
    A few days ago, I removed them from the box and tried connecting them to my macbook pro but it does not seem to work
    I also tried connecting it to iphone and tablet, it works with that
    I dunnot what seems to be the problem here.
    It does not even show as an option in the sound output preferences.
    If anyone could help me, it would be great.
    Thanks..

    Have you read for possible solutions over in the "More Like This" thread over here?-----------------------> 

  • Don't want to synchronize with duplicate iTunes

    My wife rarely uses iTunes, so I use a third party synchronizing utility (Chronosync), to make her iTunes (and her iPhoto) to be working backups of mine.    We hadn't noticed until my iMac was in the shop and I opened her iTunes, but my iPhone & iPad want to sync wirelessly with her iTunes as well as mine.
    Is there a way to have her duplicate default to not synchronizing?
    (We have to have only me modify iPhoto or iTunes - too bad those products aren't designed so that we could both update their data).

    First check that all your settings are correct, that notes syncing (mail and notes on a computer) is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the notes you are adding are added to your 'iCloud' account and not an 'On My Mac', 'On My Phone'  or other non iCloud account (you can do this by checking in accounts on an iOS device, or the left side panel in mail on a computer), non iCloud notes will not sync.
    If you are sure that everything is set up correctly and your notes are in the iCloud group, you might try unchecking notes syncing (mail and notes on a computer) in the iCloud settings, restarting your device and then re-enabling notes syncing.

  • Sleep/Display Sleep - Either one seems to interfere with Airport

    If I put the system to "Sleep", or if the Screen Saver is put to sleep; upon awakening, there is a disruption of system wireless/internet connection. What could cause this?

    If you are also using a Screen Saver before the Display Sleep kicks in, try setting the screen saver to Never. Does that have any effect on this wireless network connection issue?
    Also, it may be useful to know if the disconnection happens when the Display Sleep starts, or when it ends. To do this, find some download that will take longer that the Display Sleep time to complete. Start the download and leave it alone. Make sure the download is still happening when Display Sleep starts. Leave it alone, in display sleep mode so that it has more than enough time to complete the download (but before the Computer Sleep setting kicks in). Did the download fail or did it complete?
    Also, does this problem also occur if you manually sleep the display versus the timed (no activity) display sleep? You can manually sleep the display by setting a +Hot Corner+ to +Put Display to Sleep+, in System Preferences +Desktop & Screen Saver+ pane.

  • Link That Displays Item In New Browser Window

    Hi,
    We use Oracle Portal Version: 10.1.4.0.0 (Build: 594).
    We've found that the following setting doesn't seem to work.
    Link That Displays Item In New Browser Window
    Even with that set on items, items ALWAYS open up in the same window,..not a new one.
    Has anyone else experienced this or is it just us?
    thanks

    Hi, this is a "bug". You need patch 5026969 to solve it.
    More info is in note 358722.1 - Items Are Opened In The Same Browser Window Even Though The Option 'Link That Displays Item In New Browser Window' Is Set.
    Regards, JW

  • Missing "synchronize with DB" button in Entity Object Editor

    I am using jdeveloper10g version 9.0.5.1
    In the object navigator, when I try to edit an Entity object,
    I pick the "attributes" node, and i don't have the "synchronize with DB" button.
    the buttons I have are: "new", "new from table", "remove".
    How do I synchronize the entity with DB changes???

    thanks!!!
    why is it that I don't see a "buisness component package" (like I used to see) but only the icon of a java package? Is it a matter of a version of the jdeveloper?

  • No "Synchronize with Google"

    Dear all,
    I don't have the "Synchronize with Google" option in the Address Book's preferences, How do I get the update for this? If not, how can I create it? My Address Book is Version 4.1.2 (702).
    Tks

    And more confusion.... I tried a work-around as follows. I backed up the Google contact list by exporting a VCard file. I then deleted ALL of my local Mac contacts and then synched that with my Ipod. Since My ipod touch was synched with Google, I then verified that that contact list was all flushed away.
    So, starting with nothing in any of the contact lists; Mac, IPod Touch, AND Google.
    Step 1: I restored the Google Contact list using the VCard File. I verified that the contacts were all back.
    Step 2: Checking my Ipod Touch, I verified that all the Google contacts had been transferred to the IPT.
    Step 3: I synched the Ipod contacts list to Itunes.
    Step 4: Checking everything, it looks like I finally have a good synch at all three points.
    AND NOW THE PROBLEM:
    I changed one of the addresses on the MAC Address Book by adding an additional mobile phone number.
    I then synched the Ipod Touch with my MAC...
    NOW, most of the addresses are showing 2Xs. I have 2 different contact groups as well. This is totally wrong. I want a single contacts list. I want GOOGLE to be the MASTER LIST that defines everything.
    WHY ISN'T THIS WORKING!!!!!!!!

  • Repopulating a multiselect list with saved values

    Hi,
    I am new to using HTML DB and have been searching the Internet on information I could find about it.
    I found some useful information about multiselect boxes and can get the inserts to work but I am having problems with the repopulating of the multiselect from the underlying table.
    I am using the following code to get the information from the table and the process point is On Load - After Header.
    DECLARE
    l_selected HTMLDB_APPLICATION_GLOBAL.VC_ARR2;
    BEGIN
    SELECT risk_owner_id BULK COLLECT
    INTO l_selected
    FROM rmd_risk_risk_owners
    WHERE risk_id = :P34_RISK_ID;
    :P34_RISK_OWNER_ID := HTMLDB_UTIL.TABLE_TO_STRING( l_selected );
    END;
    but the multiselect list doesn't seem to repopulate with the values.
    Does anyone have an idea I what I could be doing wrong from their previous experience. Any suggestions would be appreciated.
    Regards,
    Scott.

    Lets break the problem statement in multiple steps
    1. We need a way to know the selection on all rows.
    2. We need the association of the checkBox with the data
    The  solution is to use a arrayCollection/array that holds all the instances  created for checkbox.This collection should be a property of component  containing the datagrid. We need to use a custom component  implementation or inline ItemRenderer. The way you have used is called  dropinItemRenderer. Preferaly use custom component implementation and  add the instance to the arrayCollection at CreationComplete. Make sure  you use addItemAt so that you add the instance in the same row as the  data. To get rowIndex the custom Checkbox should implement  IDropInListItemRenderer. You could iterate this collection to check all  the instances that are checked.
    Note: This is the approach considering your dataprovider doesnt have a selection field.
    Nishant

  • Why the "Synchronize with Item" property don't save?

    I created that table :-
    create table syn (col1 number , col2 number);
    and in forms 6i ..... I determinate col1 as the value for "Synchronize with Item" .
    http://img169.imageshack.us/img169/6258/synar6.png
    and when I test it in runtime , it work correctly and after I saved the data and get out of forms and went to database to ensure the data existing ... I surprised that the data in col2 not existing at all .... wholly empty
    SQL> select*from syn;
    COL1 COL2
    1
    2
    3
    4
    5
    6
    7
    8
    8 rows selected.
    why the item (COL2) don't save the data that inserted into it automatically by "Synchronize with Item" property ????

    i should use copy property not Synchronize ?That's meant for copying values from master to detail, so it would probably not work as you want within the same record. I think you should set the value of the secondary item in pre-insert and pre-update triggers, depending on what you're actually trying to accomplish?

  • Synchronize With Item

    Dear All,
    I need to synchronize with item on diffierence data block in same form.
    How to do that ?
    best regards
    boris

    You can only synchronize items in one block.
    Do you really need the second block? If its just for the viewing tabular/"one row", then you could use the property "Number of records displayed" at item-level to show the synchronized items just once.

  • They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.

    They sent me a serial number for a windows version of PS Elements when I ordered a mac version.  The serial number doesn't work, not surprisingly, but they don' t seem to care.  I have tried the chat line and have waited for almost a day with no response.  What should I do?

    Look here
    Order product | Platform, language swap

  • Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?

    Trouble with iMovie '11 transitions and themes? I'm running Lion, Mac OS X and just noticed today that the transitions and themes don't seem to be working at all when I start new projects or try to add to old projects.  What is the solve here?
    I've seen notes about clearing the cache but it seems that this is an older OS and I can't find the plist mentioned here because it's an older system.  http://www.youtube.com/watch?v=2cL9RuDV3Qc 
    Thoughts?  Anyone? 

    GUYS, I NEED HELP !
    ANYONE?

Maybe you are looking for

  • Create a DVD (Movie) From a Video Received via Email (???)

    Someone is sending me a video of a family event via email; not yet sure what format it will be (.mov or whatever) and it's coming via a Windows computer. Assuming that the movie will play when the email arrives, how can I burn the movie to a DVD so I

  • FI S/L - G/L Recon

    In searching for a solution to reconcile S/L to G/L in R/3 as well as BW all I can find is reference to T-Codes EW51 and EW75. The screen for each comes up in R/3, but when I attempt to execute the screen brought up by each of the T-Codes, I get an e

  • How do I get data access on cruise in Bahamas?

    I will be on cruise on NCL in Bahamas and they use Cell@Sea to provide service. What do I have to do to ensure I can access my phone, text and data while on board and in Bahamas?

  • How to cancel Annual Skype Premium

    If i buy an annual skype premium account for the year 2014, and if i want to cancel in between the year, whats the procedure?

  • Unable to set JVM file encoding to UTF-8 on Windows

    Hi, I am running Tomcat on 1.5.0_05 JRE. I tried several things to set the jvm file encoding to UTF-8 instead of the default Cp1252, but no luck yet. The most intuitive approach seems to be to use a JVM option like "-Dfile.encoding=UTF-8" but this do