Help: v('p1_test'):=1; doesn't work why?

I want to update states on p34_level_1, 2, 3, 4 etc..
But it seems I can use v('p34_level_1') one way?
for example:
Variable_Value:= v('p34_level_1'); -- <----works correctly
but I cant go:
v('p34_level_1'):= Variable_Value; -- <----DOESN'T work
Below show my code basically i want to loop through some fields and update the contents with values,
any ideas? or suggestions?
I get this error:
ORA-06550: line 17, column 28: PLS-00103: Encountered the symbol ":" when expecting one of the following: := . ( % ;
declare
count_levels number(12,0);
begin
-- Count levels
select count(level_id)
into count_levels
from wi_ccqual_level
where bu = :p1_buid;
-- update page
FOR i IN 1 .. count_levels
LOOP
v('P34_LEVEL_' || i): = i;
--i = i;
END LOOP;
END;

Hi Vanadium
Function v('ITEM') just reads item values from APEX environment.
If you want to update item values from PL/SQL you should use apex_util.set_session_state API
Syntax: apex_util.set_session_state(item,value)
So you should write: apex_util.set_session_state('P34_LEVEL_'||i , i );
I hope this helps you
Oscar

Similar Messages

  • I have downloaded my latest flash player and it still doesn't work, why?

    I have downloaded my latest flash player and it still doesn't work, why?

    Lightroom doesn't use the Camera Raw plug-in. All of the Camera Raw technology is part of the Lightroom program. You will either have to upgrade to Lightroom 5 or use the DNG converter to create digital negative copies that can be used with Lightroom 4.

  • Hi I'm new in this Ae and i loved it and started to get into editing but when i watch videos on how to use effects like magnify and CC light burst 2.5 it doesn't work why?

    hi I'm new in this Ae and i loved it and started to get into editing but when i watch videos on how to use effects like magnify and CC light burst 2.5 it doesn't work why?

    First, I want to clear up some vocabulary issues. After Effects is not intended for editing video. Editing involves cutting shots together to tell a story. Premiere Pro edits video. While you technically can cut video together in AE, Premiere is much, much better for that.
    After Effects is used for creating shots - visual effects, compositing, motion graphics, animation, color correction, color grading, etc.
    What exact version number of AE (down to the decimal points) are you using? Plus the questions Todd asked, plus the info in the link he gave.
    Also, if you're new to AE, you should really start here. This resource will give you a foundation in how to actually use After Effects that will probably clear up your current problem and prevent much more frustration in the future.

  • I push the cloud botton on the appstore to return the past purchased apps but it doesn't work.why?

    i push the cloud botton on the appstore to return the past purchased apps but it doesn't work.why?

    Oh gosh, this is ancient history for me.
    First, I remember some sort of third party boot enabler being required to install OSX on some G3s.  Not sure if it included iBook. http://eshop.macsales.com/OSXCenter/XPostFacto/Framework.cfm?page=XPostFacto.htm l
    Second, which exact set of installer discs?  They have to be black colored retail discs, not grey ones which came with a specific model Mac and will only boot that model.
    What are the exact specifications of the computer?  Does it have sufficient RAM?  You're asking a lot for a G3 to run Tiger.

  • Help with fuzzy search (doesn't work if change order of certain 2 letters)

    Hi,
    need some help with fuzzy search. It's pretty simple - we use fuzzy search on varchar2 columns that contain first name and last_name. The problem is that i don't really understand why it can't find name in some cases.
    Say i want to search for 'Taekpaul'. Then
    where CONTAINS(first_name,'fuzzy(TAEKPAUL)',1) > 0 - works
    where CONTAINS(first_name,'fuzzy(TAEKPALU)',1) > 0 - works (changed order of the 2 last letters)
    where CONTAINS(first_name,'fuzzy(TEAKPAUL)',1) > 0 - doesn't work, finds 'Tejpaul' that is completely unrelated (changed 2nd, 3rd order)
    How can i make it find 'Taekpaul' even if i search for TEAKPAUL? Is it related to index? Like Text index should be created with some different parameters?
    Thanks!
    Edited by: Maitreya2 on Mar 3, 2010 2:08 PM

    Thanks, adding '!' worked :)
    Do you know where i can read more about '!' and other special characters? I think i didn't see anything like that here: http://download.oracle.com/docs/cd/B14117_01/text.101/b10730/cqoper.htm#BABBJGFJ
    I also started using JARO_WINKLER_SIMILARITY function that is actually better i think for what i do. But it's very buggy - sometimes Oracle crashes and kills connection when you try to use it.
    Ahha, it's here: http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cqspcl.htm
    So, ! is soundex. Whatever it means..
    Edited by: Maitreya2 on Mar 5, 2010 12:14 PM

  • Help! My iMessage doesn't work on my new iPhone 5s, I've changed my sim twice, but iMessage only works with my Apple ID.

    Recently got a new iPhone 5s and the iMessage doesn't work. I tried the sim in another phone and it didn't work either so I put a completely new sim in my iPhone and iMessage doesn't work. It will only work when I use my Apple ID for received messages. I don't know what to do. I have reset everything and it still doesn't work. My software is up to date. Please help!

    ACTIVATING FACETIME AND IMESSAGES
    Activating Facetime and Imessages on your phone requires the ability to send SMS messages and depending upon where you are that might be an international SMS.  Check with your carrier to see if your plan supports sending of international SMS messages.  If you are having trouble activating Facetime or Imessages turn them both off on your device and reset the device (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost)).  Wait for the device to restart and wait a minute and turn Facetime and imessage back on and wait for activation.  If that does not fix things read the following articles:
    http://support.apple.com/kb/TS4268
    http://support.apple.com/kb/ts3367

  • Help with Youtubevideo which doesn't work in internetexplorer

    Hi there,
    I'd tried to implement a youtube video  guided by this :  http://www.heathrowe.com/adobe-edge-preview-4-append-youtube-video/
    It worked fine  in firefox and chrome  but  it doesn't work in internetexplorer :-(
    Is there a way to modify the code so it would work in all browsers?
    I also tried a hint via google  to change the codepart   .....      $("<iframe type='text/html'     .....     to   ....    $("<iframe type='application/x-shockwave-flash'
    but it didn't work either...so I'm stuck now
    Thanks for your help
    Greetings
    martin

    Thanks Schrene,
    strange...i opened it online from my notebook in IE  and it worked...but my workstation has the same IE Version  9.0822  etc.. and it does not work from there...
    well...anway... basicly  it works :-)
    thx :-)
    Martin

  • Help! photo booth doesn't work

    There's nothing happen when i click on the photo booth icon on dock. I tried to use my isight another application and it works. So i tried to reinstall it with the DVD. It doesn't work also. anyone know how to resolve this problem? >""<

    To Apple Discussions!
    Repair permissions & restart your computer.
    It would be very helpful if you would supply which OS version you are using by completing My Settings over here in the right column.--->
    It would help in providing you w/the correct troubleshooting solutions.

  • Help! IPOD clickwheel doesn't work!

    hi guys,
    I just wanna get some help..
    I dropped my IPOD last night,
    then the IPOD itself, its working..
    But the clickwheel doesnt even work..
    The display clearly shows up, the hold button completely works, but the clickwheel doesn't work..
    what shall i do?
    please help me...

    Plz I need help.

  • [Need Help ] My swf file doesn't work,but preview work ?

    Hi... I'm new in Adobe flash CS3 , When i try to open up preview ,my project work just fine, but after exporting ,my movie keep on running, i've been trying  with the simple file,and it doesn't work too.
    This is the fila file and the exporting result 
    http://www.mediafire.com/?4433nrlo3z88dhj

    Most people are not willing to download files, and using a service like medifire lessens the chances (a viral-behaving site).  You will increase your chances of geting help if you explain the details of your design, what is not working, and provide any relevant code in your posting.  A link to demo the failed functioning swf could be helpful as well.

  • Help please - Flash player doesn't work, windows 7

    Hi
    My flash player has stopped working.  I can download the latest version 10.2.152.32 and it says it has installed successfully.  When I try to view a web page it either says i need the latest version and takes me back through the latest update successfully but still doesnt work or it just has an empty box with a red cross in the top left corner.
    I cannot find it flash player by searching for it on my computer.  I have unistalled and reinstalled it several times and it still doesn't work.
    I have tried looking for it in manage addons but it is not listed, only shockwave active x which is enabled.
    I have no idea what to do next.  I am using windows 7 32bit.
    Thanks in advance.
    Paul.

    Hi
    Thanks for the reply.
    In the flash folder in syswow64 there is: flash10n.ocx, flashinstall,flashutil10n_activex.dll and flashutil10n_activex.
    I followed all of the instructions for install and uninstall on the other thread, i ran the malware that you linked to and it found some affected files whichI removed but still not able to run flash despite it saying it installed correctly.
    I hope you can help, thanks.

  • My KeyListener doesn´t work, why?

    Hi!
    I am trying to ge my KeyListener working.
    My code is as follows:
    class C extends JPanel
              public C()
                   addMouseListener(new MListener());
                            addKeyListener(new KListener());Furher down in the code I have this:
    class KListener extends KeyAdapter
                public void keyPressed(KeyEvent e)
                       System.out.println(KeyEvent.getKeyText(e.getKeyCode()) + " was pressed");
                public void keyReleased(KeyEvent e)
                     System.out.println(KeyEvent.getKeyText(e.getKeyCode()) + " was released");
           }I do not get any errors when compiling the code but the KeyListener doesn´t work. The mouse listeners work perfekt.
    What´s wrong with my key listener?

    Add your keyListener to the JFrame and it will probably work, the JFrame has the focus when you use your JPanel.
    package Junk;
    import java.awt.Dimension;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import javax.swing.JFrame;
    class Junk extends JFrame {
      Junk(){
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        addKeyListener(new KListener());
        setPreferredSize(new Dimension(256, 256));
        setVisible(true);
      public static void main(String[] args){
        new Junk();
      class KListener extends KeyAdapter {
        public void keyPressed(KeyEvent e) {
                System.out.println(KeyEvent.getKeyText(e.getKeyCode()) + " was pressed");
              public void keyReleased(KeyEvent e) {
             System.out.println(KeyEvent.getKeyText(e.getKeyCode()) + " was released");
    }

  • Help java vendingMachine code runs doesn't work Why please help

    import java.util.*;
    public class Vend
         double costALL = 40.00;
         int invALL = 3;
         String nameALL = "ALLURE OF DARKNESS";
         double costJUD = 90.75;
         int invJUD = 2;
         String nameJUD = "JUDGMENT DRAGON ";
         double costCHA = 75.50;
         int invCHA = 3;
         String nameCHA = "CHARGE OF THE LIGHT BIRGADE";
         double costCRU = 399.99;
         int invCRU = 1;
         String nameCRU = "CRUSH CARD)";
         double costGORZ = 245.29;
         int invGORZ = 1;
         String nameGORZ = "GORZ THE EMISSARY OF DARKNESS";
         double costDAD = 220.00;
         int invDAD = 2;
         String nameDAD = "DARK ARMED DRAGON";
         double savedDeckpts = 100.00;
         double input = 0.00;
         double change = 0;
         int choice = 0;
         public static void main(String[] args)
              Vend machine = new Vend();
         public Vend()
              System.out.println(" Hello Duelist, my name is Yusie Fudo.This is the one and only Specific Rare Yu-Gi-Oh! card vending.Each card in this vending machine is sealed in a special card container.These cards are up to date with the currnet ban list and pack release's.");
              System.out.println(" in order to get cards, you will be asked to pay using your Deck Points, which are stored on your Acadmey Duel Disc");
              System.out.println("Please insert Deck Points equal to the card(s) you would like to purchase or just insert 1,703.87 Deck points");
              Scanner input = new Scanner(System.in);
              double insert = input.nextDouble();
              savedDeckpts = savedDeckpts + insert;
              change = insert - change;
              while(choice != 7 && insert > 0)
                   System.out.println(" You still have " + change + " Deck Points");
                   System.out.println("Press 1 if you would like the card ALLURE OF DARKNESS from the PhanTom of DarkNess booster pack(40.00 Dp)");
                   System.out.println("Press 2 if you would like the card JUDGMENT DRAGON from the Light Of DesTruction booster pack(90.75 Dp)");
                   System.out.println("Press 3 if you would like the card CHARGE OF THE LIGHT BIRGADE from The DuelistGeneSis booster pack(75.50 Dp)");
                   System.out.println("Press 4 if you would like the card CRUSH CARD from the limited edition GoLD series booster pack(399.99 Dp)");
                   System.out.println("Press 5 if you would like the card GORZ THE EMISSARY OF DARKNESS from the Dark LeGends booster pack(245.29 Dp)");
                   System.out.println("Press 6 if you would like the card DARK ARMED DRAGON from the PhanTom of DarkNess booster pack(220.00 Dp)");
                   System.out.println("Press 7 if you would like to have your Deck points added back to your Duel Disc");
                   System.out.println("Press 8 if you would like to check how many cards are left in the machine");
                   System.out.println("(*note you need exodius the ulitimate forbbiden one's card code inorder to use option 8)");
                   choice = input.nextInt();
                   if(choice == 1 && choice <= 8 && choice >= 1 && insert >= 40.00)
                        System.out.println("Congrats Duelist you have chosen to buy the card ALLURE OF DARKNESS from the PhanTom of DarkNess booster pack");
                        invALL = invALL - 1;
                        change = change - costALL;      
                   else if(insert < 40.00 && choice == 1)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 2 && choice <= 8 && choice >= 1 && insert >= 90.75)
                        System.out.println("Congrats Duelist you have chosen to buy the card JUDGMENT DRAGON from the Light Of DesTruction booster pack");
                        invJUD = invJUD - 1;
                        change = change - costJUD;      
                   else if(insert < 40.00 && choice == 2)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 3 && choice <= 8 && choice >= 1 && insert >= 75.50)
                        System.out.println("Congrats Duelist you have chosen to buy the card CHARGE OF THE LIGHT BIRGADE from The DuelistGeneSis booster pack");
                        invCHA = invCHA - 1;
                        change = change - costCHA;      
                   else if(insert < 40.00 && choice == 3)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 4 && choice <= 8 && choice >= 1 && insert >= 399.99)
                        System.out.println("Congrats Duelist you have chosen to buy the card CRUSH CARD from the limited edition GoLD series booster pack");
                        invCRU = invCRU - 1;
                        change = change - costCRU;      
                   else if(insert < 40.00 && choice == 4)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 5 && choice <= 8 && choice >= 1 && insert >= 245.29)
                        System.out.println("Congrats Duelist you have chosen to buy the card GORZ THE EMISSARY OF DARKNESS from the Dark LeGends booster pack");
                        invGORZ = invGORZ - 1;
                        change = change - costGORZ;      
                   else if(insert < 40.00 && choice == 5)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                        if(choice == 6 && choice <= 8 && choice >= 1 && insert >= 220.00)
                        System.out.println("Congrats Duelist you have chosen to buy the DARK ARMED DRAGON from the PhanTom of DarkNess booster pack");
                        invDAD = invDAD - 1;
                        change = change - costDAD;      
                   else if(insert < 40.00 && choice == 6)
                        System.out.println("not correct amount of Deck Points.Please chose another card(s)");
                   if(choice == 7 && choice <= 8 && choice >= 1 )
                        System.out.println(" You have chosen to have your Deck Points added back to your Duel Disc");
                        System.out.println("You have revceived " + change + " Deck Points back");
                        change = change * 0;
                   if(choice == 8 && choice <= 8 && choice >= 1)
                        System.out.println("You have selected to see how many of what cards are left");
                        password();
              public void password()
              System.out.println("Please input ExodiusCardCode at this time");
              Scanner pass = new Scanner(System.in);
              String password = pass.next();
              if(password.equals("blackout"))
                   System.out.println("There are " + invALL + "ALLURE OF DARKNESS ");
                   System.out.println("There are " + invJUD + "JUDGMENT DRAGON ");
                   System.out.println("There are " + invCHA + "CHARGE OF THE LIGHT BIRGADE ");
                   System.out.println("There are " + invCRU + "CRUSH CARD ");
                   System.out.println("There are " + invGORZ + "GORZ THE EMISSARY OF DARKNESS ");
                   System.out.println("There are " + invDAD + "DARK ARMED DRAGON ");
                   System.out.println("The machine has DP" + savedDeckpts + " Inside");
    }

    hi my name is exodiamaster3.14 my code runs but when it runs it tells me
    System.out.println(" Hello Duelist, my name is Yusie Fudo.This is the one and only Specific Rare Yu-Gi-Oh! card vending.Each card in this vending machine is sealed in a special card container.These cards are up to date with the currnet ban list and pack release's.");
              System.out.println(" in order to get cards, you will be asked to pay using your Deck Points, which are stored on your Acadmey Duel Disc");
              System.out.println("Please insert Deck Points equal to the card(s) you would like to purchase or just insert 1,703.87 Deck points");
    say i type in 500 it then gives me all my choices of what to buy. when you press 1-6 it just repeats it self on what you can chose.it does subtract the money but won't show that you bought it. and when you chose option 8 it does not show what is left in the machine. this is my problem please help b/c i am very stuck. thanks again.

  • Help! my bluetooth doesn't work at college

    I have a PowerBook G4 with a wireless mouse. I also have a USB bluetooth adapter for my HP photosmart 8150 printer. Both worked fine when I was at my house, and now that I am at college, neither work! My Bluetooth is always unavaible, and I do not understand why. There is a public wireless network here that we use as well as the ethernet one. One of my friends in a dorm without the wireless has the mouse, and hers works perfectly. Is the wireless network interfering? I used wireless at my house, and it worked fine! Help, I don't understand the details of Bluetooth. Thank you!

    Hello catalina:
    Welcome to Apple discussions.
    There are several possibilities. The college wireless network could be causing some interference. Try this:
    Unplug everything from your computer. Take the battery out for awhile (I know, this sounds a bit hokey, but I have read that this can help). Start your computer. If the Bluetooth icon is missing, it could have failed (I am assuming you have a built-in Bluetooth module).
    Oh, make sure that the Bluetooth module was not shut off by accident.
    Barry

  • Please help! connection.rollback() doesn't work for me.

    I have two updates to the database. If either one fails, all the changes should be rolled back.
    I set the auto commit to false before the updates started and invoked rollback() if any exception was caught.
    During the execution of the program, an exception was caught. And one table got updated and the other didn't.
    I can see "TRYING TO ROLLBACK~!!!! ROLLBACK!!!" and "ROLLBACK FINISHED!!!" printed out. But the change made to
    one table did not get rolled back.
    And I tried to call rollback() right after the first update was made. But it didn't rollback the changes made
    to the database.
    Why doesn't the rollback() work?
    Development environment:
    Database:     MySQL Server 4.1
    jdbc driver:      mysql-connector-java-3.1.8
    JDK:          jdk1.5.0_04
              Connection connection = dbConn.getDBConnection();
              String insertDummy1= "insert into dummy1 values(?)";
              String insertDummy2 = "insert into dummy 2 values(?)";
              PreparedStatement psCA = null;
              PreparedStatement psCD = null;
              try {               
                   connection.setAutoCommit( false );
                   psCA = connection.prepareStatement( insertClientAccount );
                   psCA.setString(1, cName);               
                   psCA.executeUpdate();
                   psCA.close();                         
                   // connection.rollback();
                   psCD = connection.prepareStatement( insertClientDetail );
                   psCD.setString(1, cName);               
                   psCD.executeUpdate();               
                   psCD.close();
                   connection.commit();
              } catch(Exception e){
                   if( connection != null ) {
                        try {
                             System.out.println("TRYING TO ROLLBACK~!!!! ROLLBACK!!!");
                             connection.rollback();
                             System.out.println("ROLLBACK FINISHED!!!");
                        } catch(Exception ex) {
                             System.out.println("Exception!! try to roll back >>> " + ex.getMessage() );
                             ex.printStackTrace();
                   processResult = "Failed to complete the process. " + e.getMessage();
                   System.out.println("Exception!! >>> " + e.getMessage() );
                   e.printStackTrace();
              } finally {                                             
                   psCA = null;
                   psCD = null;
                   try{
                        connection.close();
                   } catch(Exception e){
                        System.out.println("Exception!! >>> " + e.getMessage() );
                        e.printStackTrace();
                   return processResult;
              } // try

    In MySQL, there are several different storeage engines/table types. Some of these table tables support transactions (and therefore commit() and rollback() ) and some do not. I believe that if you use a non-transactional table type, it's effectively the same as having autocommit=true (and commit() and rollback() are then silently ignored).
    See:
    http://www.developer.com/db/article.php/2235521
    http://dev.mysql.com/doc/mysql/en/storage-engines.html
    I have used the InnoDB storeage engine and have had no issues with transactionality.

Maybe you are looking for

  • Dynamic menu css not displaying correctly in https

    Hello, Need help! I'm trying to get my menu to display properly in https but no luck so far. (Chrome and IE) Please let me know if there is a solution. Thank you. good menu look http://winxed.businesscatalyst.com/ bad menu look https://winxed.worldse

  • BSEG - Select statement slow

    Good day master's! I'm having a so slow query with this code: SELECT EBELN BELNR AUGBL GJAHR KOSTL INTO TABLE IT_BSEG FROM BSEG WHERE EBELN EQ LS_EKKO-EBELN AND BUKRS EQ S_BUKRS. I use ABAP debugger and found out the cause why my program are so slow.

  • Can you add a Purchase Order with Sales Order as its Base Type using DI-API

    Is it possible to set the basetype on a PurchaseOrder document line to 17 to create a document as you would using the Procurement Confirmation Wizard in the UI? I am using 8.81 SP00 PL09.

  • Error while running rtf

    Please help me where and how to identify the error in RTF. ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template

  • No bluetooth...dissapeared on Mac OS 10.6.8.

    Reinstalling Snow leopard, reset pram and SMC didn't change the problem. Is installing Lion will solve this insoluble problem?  Regards.