EXECUTE IMMEDIATE throws exception NO_DATA_FOUND when it should not

Hi all

I wrote an anonymous PL/SQL block that, on paper, should be OK, but one of its commands EXECUTE IMMEDIATE is runnning slowing prematurely and throw an exception NO_DATA_FOUND, when it should not because I know that there is data in the table.

Here is the line that I suspect is out of steam after 8 attempts:


---
immediately execute "INSERT INTO ple101.circular35 (ID, SLAVETABLEID, SLAVEITEMID, MASTERTABLEID, MASTERITEMID, PRO) (SELECT * FROM SLAVETASKS where mastertableid =' |)" subTableID | "and masteritemid =' |" subitemID |' and subtableid =' | mastTableID | "and SLAVEITEMID =' |" mastItemId |') ' ;
------

It is supposed to search the entire SLAVETASKS table for documents that match the WHERE clause, but gives up after 8 cycles.
Table SLAVETASKS got 10228 records.

The above statement (and the whole of the PLSQL block) is good in that it gets records if they are wthin the first 8 records in the SLAVETASKS table, but like I said after 8 records, to throw an exception NO_DATA_FOUND.

Published by: user10390960 on April 28, 2012 03:21

Published by: user10390960 on April 28, 2012 03:22

Published by: user10390960 on April 28, 2012 03:23

Published by: user10390960 on April 28, 2012 05:08

Hi Goofy,

The above script is for PLSQL and if you want to display the data in circular 35 follow like that

# Save the code below in the sqlscript for example. circular_process_display. SQL and run as

sqlplus /@ @circular_process_display.sql

-- CREATE TABLE circular 35
CREATE TABLE circular35
....
..
/

-- Execute PLSQL Block as given in my earlier post
DECLARE
...
BEGIN
...
EXCEPTION
...
END;
/

-- Run SQL to display output on screen.
SET SERVEROUTPUT ON SIZE 100000 FEEDBACK ON LINESIZE 200;

SELECT *
FROM circular35
/

{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

Tags: Database

Similar Questions

  • EXECUTE IMMEDIATE throwing error ORA-00933

    Hello

    I am trying to build a PL/SQL code that implements the EXECUTE IMMEDIATE statement in a cursor for EXECUTE IMMEDIATE does not support queries for multiple records. Recursively, I want to place a single record in a variable using the INTO clause, USING a defined value. But my code keeps throwing an error that the SQL command is not properly cancel online 15; which is the line of the EXECUTE IMMEDIATE statement.

    I tried to generate the SQL statement to the console to review in the effort to find the problem, but the result looks OK. I also made other variations of what I want to accomplish, but not to make any where. Could someone maybe help identify what I am doing wrong?

    DECLARE
    TBL VARCHAR2 (50);
    Col VARCHAR2 (50);
    sqlcmd VARCHAR (300);
    field_value VARCHAR2 (20): = 'MEXICO ';
    match_count NUMBER;
    CURSOR c1 IS SELECT TABLE_NAME, COLUMN_NAME FROM USER_TAB_COLS;

    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO tbl, col; -extract 2 columns in variables
    OUTPUT WHEN c1% NOTFOUND;
    Sqlcmd: = 'SELECT COUNT (*) FROM' | TBL | ' WHERE ' | Col |' = ": col" ';
    EXECUTE IMMEDIATE sqlcmd IN match_count USING field_value.
    DBMS_OUTPUT. Put_line (sqlcmd);
    END LOOP;
    CLOSE c1;
    END;
    /

    I am more proficient with SQL PL/SQL, but try to understand the semantics of the language.

    Thanks for any help.

    user10251149 wrote:
    I'm in class implementing the recommended code you posted Solomon and he is not sinning through out, but I'm sitting at a cursor blinking on the console.

    I noticed that you have placed the variables, this time taking the table_name and column_name inside quotes values, it is a possible workaround for the issue or is there another method I could use to get the same results?

    If you have N tables with columns of M your code will run statements N * Mr. If the tables are large, it might take some time. Now how about double quotes. You may receive error on the basis I assumed you have names of tables/columns composed of several words. You must include these names in quotation marks. Discover Oracle naming rules.

    SY.

  • MX920 printed in italics when it should not

    I have a MX920. My computer using Windows 7. Occassioally, and apparently at random, a document will print with a wide range in italic, when it is not italicized in the program (Microsoft Word, for example). Small arrived in Word and pdf files. Strange, the italic is just for a full line; the front line and the after is normal. And even stranger is that sometimes it prints with italics tilted to the left (not right). Has anyone seen this? I susepct that is a printer problem, since it occurs in Word and Acrobat Reader.

    Hi DestinLeB,

    Although the problem seems to occur sporadically, an alignment of printhead on the printer may resolve the problem.  To do this, please follow the steps on the below link:

    Series MX920 PIXMA Algnment print head

    I hope this helps!

    It has not responded to your question or problem? Find more help contact us.

  • get ORA-01403: when it should not

    Hello, I apologize in advance for my spelling, name (takes 6 hours to change) and the headaches you migth get, however,.
    I bring you the following code and test results:
    -----------------------------------------------------------
    -The procedure that throws the error.
    -----------------------------------------------------------
    create or replace
    procedure P_COLEGAS(x in number) as
    ctipo varchar2(20);
    asd varchar2(20);
    
    cursor curnombre is
    select nombre from unidad,elemento where (elemento.id_elem=unidad.id_elem and unidad.tipo=ctipo and elemento.ciudad=asd);
    
    begin
    select unidad.tipo, elemento.ciudad into ctipo,asd from unidad,elemento where unidad.id_elem=x and elemento.id_elem=x;
    for blah in curnombre loop
    DBMS_OUTPUT.PUT_LINE('nombre unidad: '||blah.nombre||' ');
    end loop;
    end;
    -what i get when executing the procedure-
    Error que empieza en la línea 1 del comando:
    exec p_colegas(19)
    Informe de error:
    ORA-01403: no data found
    ORA-06512: at "BD00.P_COLEGAS", line 9
    ORA-06512: at line 1
    01403. 00000 - "no data found"
    *Cause:
    *Action:
    -----------------------------------------------------------
    -the real problem-
    -----------------------------------------------------------
    in the case of this procedure I had to write
    (1)
    select unidad.tipo into ctipo from unidad where unidad.id_elem=x;
    (2)
    select elemento.ciudad into asd from elemento where elemento.id_elem=x;
    Instead the single query I wrote, we get the following:
    (1) wonderful works, gets only error when there is no match for x.
    (2) throws the error that I was before.

    However when I do the following query in the spreadsheet and run it:
    (3)
    select elemento.ciudad from elemento where elemento.id_elem=x;
    I get what I expect to get 1 row 1 column. (Yes it has data)
    Note: (3) the only difference is that I remove the clause, and x is the same number that I used when I run the procedure.

    -----------------------------------------------------------
    --------------------the question------------------------
    -----------------------------------------------------------
    Why in the procedure, the failure of the (2) query to retrieve the data, the same which data the query (3) doesn't fail to pick up?
    I get ORA-01403, when I shouldn't?
    is there a work around for this problem?

    -----------------------------------------------------------
    --------------------what i try------------------------------
    -----------------------------------------------------------
    Nestled the request with its own handle exception error, get the same results, a few screenshots of the error with a different treatment.

    used tool: sql developer

    ----------
    -Example of data-
    ----------
    tested the procedure with the following sample data in a new workspace, make the same mistake.
    --------------------------------------------------------
    --  DDL for Table ELEMENTO
    --------------------------------------------------------
    
      CREATE TABLE "ELEMENTO" 
       (     "ID_ELEM" NUMBER, 
         "CIUDAD" VARCHAR2(20), 
         "TIPO" CHAR(1), 
         "X" NUMBER, 
         "Y" NUMBER, 
         "FECHAHORA_CREACION" TIMESTAMP (6)
       ) ;
    /
    --------------------------------------------------------
    --  DDL for Table UNIDAD
    --------------------------------------------------------
    
      CREATE TABLE "UNIDAD" 
       (     "ID_ELEM" NUMBER, 
         "PORCENTAJE_SALUD" NUMBER, 
         "NOMBRE" VARCHAR2(20), 
         "TIPO" VARCHAR2(20)
       ) ;
    /
    REM INSERTING into ELEMENTO
    SET DEFINE OFF;
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (12,'Infernalia','U',10,10,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (15,'Infernalia','U',10,7,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (19,'Infernalia','U',15,9,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (23,'Infernalia','U',16,8,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (27,'Infernalia','C',15,10,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (52,'Humania','U',26,10,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (58,'Humania','U',24,9,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (62,'Humania','U',27,11,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (64,'Humania','C',25,8,to_timestamp('22-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (78,'GruntVille','U',47,32,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (84,'GruntVille','U',42,28,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (89,'GruntVille','U',43,29,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (91,'GruntVille','C',44,37,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (29,'Infernalia','C',16,7,to_timestamp('12-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    Insert into ELEMENTO (ID_ELEM,CIUDAD,TIPO,X,Y,FECHAHORA_CREACION) values (90,'GruntVille','U',49,36,to_timestamp('29-NOV-20 12.00.00.000000000 PM','DD-MON-RR HH.MI.SS.FF AM'));
    REM INSERTING into UNIDAD
    SET DEFINE OFF;
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (12,100,'Grang','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (15,100,'Krout','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (19,100,'Warf','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (23,100,'Puaj','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (52,100,'Marcelus','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (58,100,'Claudius','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (62,100,'Arturius','Obrero');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (78,100,'Klaknot','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (84,100,'Staisht','Médico');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (89,100,'Bjorkson','Soldado');
    Insert into UNIDAD (ID_ELEM,PORCENTAJE_SALUD,NOMBRE,TIPO) values (90,100,'Sknot','Médico');
    --------------------------------------------------------
    --  Constraints for Table ELEMENTO
    --------------------------------------------------------
    
      ALTER TABLE "ELEMENTO" ADD CONSTRAINT "ELEMENTO_CHK1_TIPO" CHECK (TIPO IN ('U', 'C')) ENABLE;
     
      ALTER TABLE "ELEMENTO" ADD CONSTRAINT "ELEMENTO_PK" PRIMARY KEY ("ID_ELEM") ENABLE;
     
      ALTER TABLE "ELEMENTO" MODIFY ("ID_ELEM" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("CIUDAD" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("TIPO" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("X" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("Y" NOT NULL ENABLE);
     
      ALTER TABLE "ELEMENTO" MODIFY ("FECHAHORA_CREACION" NOT NULL ENABLE);
    /
    --------------------------------------------------------
    --  Constraints for Table UNIDAD
    --------------------------------------------------------
    
      ALTER TABLE "UNIDAD" MODIFY ("ID_ELEM" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("PORCENTAJE_SALUD" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("NOMBRE" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" MODIFY ("TIPO" NOT NULL ENABLE);
     
      ALTER TABLE "UNIDAD" ADD CONSTRAINT "UNIDAD_PK" PRIMARY KEY ("ID_ELEM") ENABLE;
    /
    --------------------------------------------------------
    --  Ref Constraints for Table ELEMENTO
    --------------------------------------------------------
    
    --------------------------------------------------------
    --  Ref Constraints for Table UNIDAD
    --------------------------------------------------------
    
      ALTER TABLE "UNIDAD" ADD CONSTRAINT "UNIDAD_ELEMENTO_FK1" FOREIGN KEY ("ID_ELEM")
           REFERENCES "ELEMENTO" ("ID_ELEM") ENABLE;
     
    /
    Edited by: 975362 04:47 12/06/2012

    Published by: BluShadow on December 6, 2012 12:51
    addition of {noformat}
    {noformat} tags for readability of code/data.  Please read {message:id=9360002} and learn to do this yourself in future.
    
    Edited by: 975362 on 06-12-2012 05:44 AM
    added example data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    This is because you use X as the parameter to the procedure, and X is a column in the table :)

    So use a table alias in the query or use another name for the parameter.

    Published by: ascheffer on December 6, 2012 15:04

  • Regulator PID very slow to reach the value Point and zeros process Variable when it should not

    Hello

    I am using a PID controller to regulate the emission of a filament current in an ion gauge, but I'm running into several problems.

    The first and less important, are the controller of PID VI takes at least 5 minutes to get the current where it needs to be.  Is it possible to speed this up?

    The second and more important, are that the PID controller tends to zero the process variable before you start the process of getting the close process of the target value variable.  This can be seen in the attached VI: I write 5.8 volts voltage filament - something I did at the beginning to try to get the controller PID for the process close to the target faster - value variable but when the PID controller starts to do his thing, he kills the tension before anything, rather than rise of 5.8 V.

    The attached VI is a single which has these problems.  VI actual ion gauge controller I've written has the same problems, but in a form even more frustrating.  I have a while loop set up for the filament voltage to where it should be (using a PID controller) first and foremost, then a loop of data acquisition, which also includes a feedback loop in the form of a PID regulator to maintain the filament voltage.  When the second PID controller starts to run, it concentrates the tension that the earlier had set, taking another 5 + minutes to reach the point where we can take data and giving us 5 minutes of false data in the process!

    Does anyone know why PID controllers are behaving like this, and what can I do to fix/work with this behavior?

    Hello

    It seems that PID VI will always be 0 for the first iteration. You can, however, use the advanced PID VI and set up the first iteration in manual mode. After subsequent iterations, you could then define this automatic mode and there will be a transition smoothly. I think this will give you the desired behavior.

    -Zach

  • Audio extending randomly when it should not

    Hello

    I am currently working on an Adobe Captivate 7 project in which I am importing audio slide by slide. Each blade has a bit of audio that plays when you enter it and then stops. Random on about 5 screens for some reason any audio plays and then audio plays the next slide as well. I can't find something in the settings or actions that happens and I double checked the audio files several times to make sure this isn't a problem here. When I preview the slide using F3, it plays only the audio slide show as it should, but when I do a real preview or publish it plays next audio slide as well. Help, please!

    -Taylor

    Make sure that there is at least a small space between the beginning and the end of the audio on the timeline of each slide.  Captivate sometimes concatenates audio clips, if they are hard against the beginning or end of the timeline for the slide.

  • Computer to sleep when it should not.

    I used the following command:

    sleep of sudo pmset - a displaysleep 15 disksleep 0 0

    The intention was to make sure my computer would never sleep and would be able to continue long downloads like my dropbox synchronization.

    Always when I go home, the computer is asleep and interrupted downloads.

    How can I diagnose this? Is there a tool to monitor what the computer is doing and why when I'm missing?

    Thank you!

    Why not go to system preferences/Energy Saver and define sleep ever?

  • question pool view settings. maxed out when it should not.

    Im having a problem where my pool is available 16 (max) and none of them are used. Ideally, I want to begin by 6 and then deploy on demand as needed.

    Here are my settings for my pool, did I miss something? Let me know if you need more information.

    I have a automated, floating pool, linked clone

    Pool sizing

    * max number of 16 jobs

    * number of powered on desktop computers 6 spare parts

    * number of loans during the maintenance operations of composer 3 minimum

    Supply schedule

    * providing offices on request, min number 6 workstations

    Thank you

    Power off should do the trick.

  • REMOVED_FROM_STAGE shooting event when it should not...

    Hi all

    I was wondering if anyone has seen this before. I have an application that has some points of navigation on the main timeline. The document class stops the film on the first image, and the 'House' a Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE listeners on that movieclip class. The funny thing is, it calls the function ADDED as usual, then pull the REMOVAL works immediately after. However, when I run it, it doesn't actually remove the movieclip from the stage. It's still there. When I navigate to another section ('rare' or 'help') and back to 'home', it does not draw a second time, everything works fine the first time.

    So I guess my question is, which would fire the REMOVED_FROM_STAGE event without actually removing the object in the scene? And why only happen once?

    Thanks for the research!

    -Nick

    Here's a code, but also a screenshot of my main timeline:

    package src.modules {}
    import flash.display.MovieClip;
    import flash.events.Event;
    import flash.events.MouseEvent;

    Import src.utils.greensock.TweenLite;
    Src.utils.greensock.easing import. *;

    SerializableAttribute public class ModHome extends MovieClip {}

    private static const DISTANCE public: int = 700;
    Private static const TWEEN_DURATION:number is 1.0;.

    private var _currentPage:int = 1;
    private var _isDone:Boolean = true;

    public void ModHome() {}
    Super();
    trace ("initialized home');
    addEventListener (Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
    }

    private void onAddedToStage(evt:Event):void {}
    trace ("host added in step");
    removeEventListener (Event.ADDED_TO_STAGE, onAddedToStage);
    addEventListener (Event.REMOVED_FROM_STAGE, onRemovedFromStage, false, 0, true);
    BUTTONS
    pageLeft_btn.addEventListener (MouseEvent.CLICK, onMouseClick, false, 0, true);
    pageRight_btn.addEventListener (MouseEvent.CLICK, onMouseClick, false, 0, true);
    }

    private void onRemovedFromStage(evt:Event):void {}
    removeEventListener (Event.REMOVED_FROM_STAGE, onRemovedFromStage);
    BUTTONS
    pageLeft_btn.removeEventListener (MouseEvent.CLICK, onMouseClick);
    pageRight_btn.removeEventListener (MouseEvent.CLICK, onMouseClick);
    trace ("home removed from the stage");
    }

    private void onMouseClick(evt:MouseEvent):void {}
    {if (_isDone)}
    Switch (evt.target.name) {}
    case 'pageLeft_btn ':
    movePages ("left");
    break;
    case 'pageRight_btn ':
    movePages ("right");
    break;
    by default:
    trace ("home - nothing");
    break;
    }
    }
    }

    SCROLLING WINDOW
    private void movePages(thedirection:String):void {}
    _isDone = false;
    var x 1: int;
    {Switch (branch)
    case "right":
    If (_currentPage > 1) {}
    _currentPage = _currentPage - 1;
    x 1 = pages_mc.x + DISTANCE;
    TweenLite.to (pages_mc, TWEEN_DURATION, {x: x 1, ease:Quint.easeInOut, onComplete:onTweenComplete});})
    } else {}
    _isDone = true;
    }
    break;
    case "the left":
    If {(_currentPage < 3)
    _currentPage = _currentPage + 1;
    x 1 = pages_mc.x - DISTANCE;
    TweenLite.to (pages_mc, TWEEN_DURATION, {x: x 1, ease:Quint.easeInOut, onComplete:onTweenComplete});})
    } else {}
    _isDone = true;
    }
    break;
    }
    }

    private function onTweenComplete (): void {}
    _isDone = true;
    pageMarker_mc.gotoAndStop (_currentPage);
    trace ("Complete");
    }
    }
    }

    timeline-1.png

    Comment out the super() call and repeat the test.  Why you use?

  • Message form "Emailing data files" when it should not

    I have a simple PDF with a form I created with the form tools in Acrobat 8 Pro for sending a FDF file by e-mail.

    It works OK but when you click on some other internal links on the page in the document (established in InDesign) completely unrelated to the form I get the following pop up box:

    Sending files of data by Email
    Please note that this form contains a button to send by e-mail. Clicking this button will send a data file containing the data that you type into the form. However, the form itself will not be sent. Remember that you can not save a completed copy of the form with Adobe Acrobat Reader 9.

    1. How can I stop this popping up. Especially on pages that are unrelated to the form.

    2. Why does say: "don't forget you can't save a completed copy of the form with Adobe Acrobat Reader 9 when it doesn't seem to work OK. I can send the FDF file to an email address. But this box pop up is not good.

    And I have another query that is not really on the subject.
    3. How do you get the option buttons to be mutually (for example: sex: male/female)-it is said in the Options button in the Radio button Properties tab so that they have the same field name. But when you set the domain name?

    I posted this in the Mac section, because I think that the Mac of Acrobat Pro version can be the cause of the road!

    1. How can I stop this popping up. Especially on pages that are unrelated to the form.

    I don't know that you can. This is a user setting, not a PDF setting.

    2. Why does say: "don't forget you can't save a completed copy of the form with Adobe Acrobat Reader 9 when it doesn't seem to work OK. I can send the FDF file to an email address. But this box pop up is not good.

    It is correct. The user cannot save the file which is a pdf file. He sends you a pdf file, but as you have noticed a fdf file.

    3. How do you get the option buttons to be mutually (for example: sex: male/female)-it is said in the Options button in the Radio button Properties tab so that they have the same field name. But when you set the domain name?

    If you double-click any field with the field tool, you get the field properties box. You can set the value of the name field and by default here. You want the name of the field to be the same, but different default value.

  • List scrolls when it should not.

    I have a list of itemRenderers. Each itemRenderer is an editable text box.

    The problem is that when the user types in one of these text boxes, the auto list sometimes scrolls and is no longer visible in this text box the user is editing.

    I need prevent this auto-scroll, but I can't hide the scroll bar that the user needs to access all items in list.
    Any thoughts?

    Here's my idea:
    Disable the scroll bar on the list while an itemRenderer has focus.
    Is anyway to disable a scroll bar without hide it?

    Thanks in advance for any ideas.

    Below is a simplified version of my code that illustrates this problem
    Sometimes the list climbs up to the end, when you type in one of the text fields to the beginning.
    Sometimes he jumps at the beginning when you change a field near the end.

    I found a solution to my original problem. Disable the navigation key in a list... here I found this link 72 hours!

    http://blog.flexexamples.com/2008/06/11/disabling-keyboard-navigation-on-the-list-control-au-Flex /.

  • Notification send Calendar invites when it should not

    A friend wrote just for me "I just got 40 notifications of calendar on your part, a lot of dates in the past." The same person also received an invitation to the event calendar a couple of days for an event that my schedule did not show that everyone had been invited to. A few months earlier, another friend told me that she has received invitations to events calendar for someone else. What is happening and how to fix it?

    I have OS X El Capitan (10.11.4)

    I only intended to correct the version of operating system, this is NOT RESOLVED!

    How you uncheck resolved?

  • Lenovo y510p using a lot of RAM when it should not

    I just had the y510p the other day, installed windows 7 64 bit and it has loaded with pilots and after installing all the car windows updates (which is almost a day of the tool) and now it seems he uses around 35% of the 8 GB RAM and comes with SLI disabled and all it remains out. Any idea what could be the cause? Looking at the Task Manager I could sum up a total of about 1 GB used but it always seems like about 3 GB used

    Yes, those look normal to me. You use 1.6 GB of ram right now which is pretty standard for Windows.

  • HP Pavilion G6 computer computer laptop - the problem is that it overheats when it should not

    So basically, what's wrong with my laptop overheated quickly for some reason any and I don't know why!

    Natalie

    The most common reason for overheating is an accumulation of dust inside the unit.  It may be visible through the ventilation openings, but it could build up on the internal components.

    It is overheating at the point of turn him off?

    Have you tried the steps in cleaning as shown here?

  • the text scrolls when it should not

    I have several components of text added to my request and the value of their changes of text according to different users. I have a problem where if the user uses the mouse wheel to scroll to the bottom of the page, while it is on one of these cases of text, then the text seems to scroll to the top and disappears from the first line.

    It's really frustrating and I tried a lot of different things, I was hoping that someone would be able to help...

    Thank you

    Hello

    Visit this link,

    http://viconflex.blogspot.com/2008/08/mxcontrolstext-preventing-scroll-on.html

    Hope that it would be useful

    Kind regards

    Anitha

Maybe you are looking for

  • How to record from Apple Store invoice in the office?

    Apple Store Canada, I bought a backlit keyboard Logitech CREATE for my iPad Pro - in order to register my product with them that I need to download the invoice and all the Apple site offers is to print it. How to record on my desk, preferably in a .p

  • Pavilion dv6-6b54sl: ID of the laptop failure

    Hello, I have a laptop HP Pavilion dv6-6b54sl, product number: A6P10EA #ABZ.   OS = Windows 7 64 bit. My question is: laptop stops working, more than 1 time. Reboot the system, then it seems normal. I just restored original configuration. But not res

  • Windows Update service does not

    I have Windows Update set to update automatically, but saw a red shield X and had not been asked to install updates recommended as before, so clicked on "Check For Updates". Received a message that says "Windows Update cannot check for updates becaus

  • Windows Update error 80070490 installation KB2679255

    Original title: we have all seen big problem istelling updates SEMM to me like windows no longer like and want us to buy new computers I read how manny people are havin the same problem and they don't suprerb thereon .i have a month with the error co

  • Print spooler continues to stop in a few seconds

    For weeks now, I could not print directly from my laptop because for some reason any the print spooler service keeps shutting off after manally activate the process. Since the passage of Vista Premium to Win 7 Ultimate every time I try to print, I ge