I lost my cd for performing the functions of scanner/copier for a f2480.

I need software cd in order to install and use the other functions of my F2480 and not only the printer.

Printer works fine. No problems.

Anyone know where I can get the cd?

Thanx

Hello

You can get the software from the link below:

http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&DLC=en&lang=en&LC=en&product=3811337&

Start by selecting your operating system.

Then you can download the software for free by following the software of full functionality within the category of driver or you can order a CD by following the order of the physical media section.

Kind regards

Shlomi

Tags: HP Printers

Similar Questions

  • How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    A quick Google for "lock keyboard" raised a certain links that seem promising. Here's one of eHow that answers your questions to kitty:

    http://www.ehow.com/how_4925264_lock-keyboard.html MS - MVP - Elephant Boy computers - don't panic!

  • ORA-28112: failed to perform the function of guidance - error in the Application Builder

    Hey all,.

    I added a political function to one of my paintings, and now I get this error when I try to update a report region that refers to this table.

    "The query cannot be parsed into the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. "ORA-28112: failed to perform the function of guidance."

    If I remove the policy then everything works fine. My application works well with the policy in place. I just get these errors in the application builder when refreshing a report or a LOV that references the secured table.

    The analysis schema is APPL_USER.

    Here's the political function:

    FUNCTION DOCUMENT_TABLE_POLICY (object_schema IN VARCHAR2 DEFAULT NULL
    object_name IN VARCHAR2 DEFAULT NULL)
    RETURN VARCHAR2 IS
    v_nt_seq NUMBER;
    BEGIN
    IF use = "APPL_USER" or INSTR(user, 'ITFC_') = 1 THEN
    RETURNS A NULL VALUE.
    END IF;

    IF V ('APP_USER') IS NOT NULL THEN
    IF V ('F_NT_SEQ') IS NOT NULL THEN
    v_nt_seq: = V ('F_NT_SEQ');
    ON THE OTHER
    SELECT NT_SEQ
    IN v_nt_seq
    OF APPL_USERS
    WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));
    END IF;

    RETURN ' (DOCUMENT_TYPE, MANAGED_BY_ELEMENT, PROGRAM_CODE, CONTRACT_NUMBER) IN (SELECT DISTINCT R.DOCUMENT_TYPE, USL. ELEMENT, USL. PROGRAM_CODE, USL. CONTRACT_NUMBER OF USL, R IPRACA_SECURITY_ROLES IPRACA_USERS_SECURITY_LINK WHERE R.SECURITY_ROLE_SEQ = USL. SECURITY_ROLE_SEQ AND USL. NT_SEQ = ' | To_char (v_nt_seq) | ')';
    END IF;

    -UNAUTHORIZED USERS CANNOT SEE ANY DATA
    RETURN '1 = 0';
    END;

    This is how to set up the policy:

    BEGIN

    DBMS_RLS. () ADD_POLICY
    object_schema = > 'APPL_USER '.
    , object_name = > 'APPL_DOCUMENT '.
    , policy_name = > 'APPL_DOCUMENT_POLICY '.
    , function_schema = > 'APPL_USER '.
    , policy_function = > ' APPL_SECURITY. DOCUMENT_TABLE_POLICY'
    );

    END;


    Any help would be greatly appreciated!

    Thank you

    Jonathan Hart
    APEX 3.1.1

    It is possible that this raises an exception:

    SELECT NT_SEQ
    IN v_nt_seq
    OF APPL_USERS
    WHERE UPPER (NT_ID) = UPPER (V ('APP_USER'));

    Is there a line in APPL_USERS where NT_ID = ?

    Scott

  • Lost mail rules section "perform the following actions.

    Hi-

    Install a new version of El Capitan (10.11.2). Set up Mail for the first time. Adding rules to specific e-mail to selected mailboxes. The more rules, I added more I noticed that the section "Perform the following actions" became smaller until this article is no longer usable (see photo). Any ideas what can be done? Is this a bug?

    Thank you!

    -Dave

    Please take these steps to remove the mail folders 'sandbox '.

    Step 1

    Back up all data.

    Triple-click anywhere in the line below on this page to select this option:

    ~/Library/Containers/com.apple.mail

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ Reveal

    the contextual menu.* A Finder window should open up with a folder named "com.apple.mail" selected. If this is the case, move the selected folder - not only its content - on the desktop. Open the window Finder for now.

    Restart the computer. Launch Mail and test. If the problem is resolved, you may have to re-create some of your e-mail settings. Any writing paper custom that you created may be lost. Ask for instructions if you want to keep these data. You can then delete the folder that you moved and close Finder.

    CAUTION: If you change the content of the sandbox, but leave the folder itself in place, Mail may hang or starts any. Remove the tray to sand everything will be rebuilt automatically.

    Step 2

    If step 1 does not resolve the problem, repeat with this line:

    ~/Library/Containers/com.apple.MailServiceAgent

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

  • ScriptUI Palette with button to perform the function

    Hey Hey. Ho ho. I have a question for you guys. Hey Hey. Ho ho.

    So I'm writing a script to automatically replace art existing in a file with the art of my network (specifically, necklaces. we work that says "made in usa" but we moved production overseas, then update the country of origin.) I have fixed all our model files, new orders are set up correctly, but we have tens of thousands of old orders with bad collars in the files. so far we have been manually accessing the network, opens a file that contains the correct collars and paste in the required file. A PITA serious, especially when you do 20 - 30 times per day.

    So, naturally, I started to think about how to automate it. For most files, this process is really simple and straightforward because the files that we use has set up a system of good address. However, orders more alumni dating back to before the address system, so the script in some cases, to do a break in order to let the artist select USA collars so that the script can move to a new layer and hide.

    To remedy this, I decided to use a scriptUI as an alert box pallet (if the artist still has access to the user interface, so they can select the necessary art, then click a button to perform a function and complete the task. The button in the palette works to perform the desired function, but then I get an error in ESTK that "there is no document. What I'm doing wrong here? Everything works until the promptToSelectCollars() function; The error occurs at line 291 trying to use docRef.layers.add (); I added the line 290 after the first time I got the error to see if docRef just need to be redefined, but that did not help.

    I guess I can just force the artist to select any work necessary before running the script, but I like it to be as smooth as possible and requires a minimum of steps pre...

    Here's the current code (must still be completed, I know)... Any thoughts?

    //Add DR Collars
    
    
    function container()
    {
    
    
        /////////////////////
        ///Logic Container///
        /////////////////////
    
    
        function whatStyleDialog()
        {
            // var docRef = app.activeDocument;
    
    
            var sports = ["SLOW_SS", "SLOWW_SS", "SLOWY_SS", "FAST_SL", "FAST_RB", "FAST_FB_SL", "FAST_FB_SS", //
            "FAST_2B_SS", "BASE_FB_SL", "BASE_FB_Y_SL", "BASE_FB_SS","BASE_FB_Y_SS", "BASE_2B_SS", "BASE_2B_Y_SS"];
    
    
            
    
    
            var wS = new Window("dialog", "What Collars Do You Need?");
    
    
            var inputGroup = wS.add("group");
                inputGroup.orientation = "column";
                var sportsGroup = inputGroup.add("group");
                    sportsGroup.add("statictext", undefined, "Choose Sport");
    
    
                    //populate sports dropdown list
                    var sportsList = sportsGroup.add("dropdownlist", undefined, sports);
                    sportsList.selection = 0;
    
    
                var styleGroup = inputGroup.add("group");
    
    
                    styleGroup.add("statictext", undefined, "Enter Style Number:");
    
    
                    //input text box for style number
                    var styleInput = styleGroup.add("edittext", undefined, "000");
    
    
            var buttonGroup = wS.add("group");
                var okButton = buttonGroup.add("button", undefined, "OK");
                var cancelButton = buttonGroup.add("button", undefined, "Cancel");
    
    
    
    
            if(wS.show() == 1)
            {
                var results = "";
                results = "FD_" + sportsList.selection.text + "_";
                results = results + styleInput.text + ".ait";
                return results;
            }
            else
            {
                return null;
            }
        }
    
    
        function getStyle(styles)
        {
            if(styles.length>1)
            {
                var result;
                var gS = new Window("dialog","Which Garment?");
                    var titleText = gS.add("statictext", undefined, "Which Garment Do You Need Collars For?");
                    var buttons = styles;
                    var buttonGroup = gS.add("group");
                    buttonGroup.orientation = "column";
                        for(var s=0;s<styles.length;s++)
                        {
                            addButton(s, styles[s]);
                        }
    
    
                    function addButton(num, style)
                    {
                        buttons[num] = buttonGroup.add("button", undefined, style);
                        buttons[num].onClick = function()
                        {
                            result = style + ".ait";
                            gS.close();
                        }
                    }
                gS.show();
                // alert(result)
                return result;
    
    
            }
            else
            {
                result = styles[0] + ".ait";
                return result;
            }
        }
        function whatGarment()
        {
            var result;
            var jerseyList = [];
    
    
            for(a=0;a<layers.length;a++)
            {
                if(layers[a].name.indexOf("FD")>-1)
                {
                    jerseyList.push(layers[a].name);
                }
            }
    
    
            //This prepress is not on a template
            if(jerseyList.length==0)
            {
                result = whatStyleDialog();
                return result;
            }
    
    
            else
            {
                result = getStyle(jerseyList);
            }
    
    
            return result;
        }
    
    
        function findCAD(path, garment)
        {
            var loc = new Folder(path);
            var theFile = new File(loc + "/" +  garment);
            return theFile;
        }
    
    
        function copyCollars(theCAD,coords)
        {
            var collars = [];
            var collarSource = open(theCAD);
            var sourceLayer = collarSource.layers[0].layers["Prepress"];
            var curLay;
            var curGroup;
    
    
            sourceLayer.visible = true;
    
    
            collarSource.selection = null;
    
    
            for (var a=0; a< sourceLayer.layers.length;a++)
            {
                curLay = sourceLayer.layers[a];
                for(var b=0;b<curLay.groupItems.length;b++)
                {
                    curGroup = curLay.groupItems[b];
                    if(curGroup.name.indexOf("Collar")>-1)
                    {
                        curGroup.selected = true;
                    }   
                }
                
            }
    
    
            app.executeMenuCommand("copy");
            docRef.activate();
            app.executeMenuCommand("paste");
    
    
            for(var a=0;a<docRef.selection.length;a++)
            {
                var curGroup = docRef.selection[a];
                var curName = curGroup.name.substring(0,curGroup.name.indexOf(" "));
                curGroup.left = coords[curName][0];
                curGroup.top = coords[curName][1];
            }
    
    
            
    
    
            // collarSource.close(SaveOptions.DONOTSAVECHANGES);
            
        }
    
    
        function addCollarsToCorrectLayer(garment,coords)
        {
            try
            {
                var theLayer = docRef.layers[garment.substring(0,garment.indexOf(".ait"))].layers["Prepress"];
                theLayer.visible = true;
                // alert("theLayer = " + theLayer);
                // alert(docRef.selection.length);
                for(var a=docRef.selection.length-1;a>-1;a--)
                {
                    var thisCollar = docRef.selection[a];
                    var targetLayer = theLayer.layers[thisCollar.name.substring(0, thisCollar.name.indexOf(" "))];
                    thisCollar.moveToBeginning(targetLayer);
                }
    
    
    
    
            }
            catch(e)
            {
                try
                {
                    if(docRef.selection[0].layer != "[Layer Artwork]")
                    {
                        var theLayer = docRef.layers["Artwork"];
                        theLayer.locked = false;
                        theLayer.visible = true;
                        for(var a=docRef.selection.length-1;a>-1;a--)
                        {
                            docRef.selection[a].moveToBeginning(theLayer);
                        }
                    }
                }
                catch(e)
                {
                    alert("something went wrong")
                }
            }
            if(theLayer.name == "Prepress")
            {
                var drCollarLabel = docRef.layers[0].layers["Mockup"].textFrames.add()
            }
            else
            {
                var drCollarLabel = theLayer.textFrames.add();
            }
            drCollarLabel.contents = "DR Collars";
            drCollarLabel.left = coords["Label"][0];
            drCollarLabel.top = coords["Label"][1];
            drCollarLabel.textRange.characterAttributes.size = 36;
        }
    
    
        function promptToSelectCollars()
        {
            alert("running prompt to select");
            var selCol = new Window("palette");
                var text = selCol.add("statictext",undefined, "Select the USA Collars and click OK");
                var button = selCol.add("button", undefined, "OK");
                button.onClick = function()
                {
                    selCol.close();
                    moveCollarsToUSALayer(false);
                }
            selCol.show();
        }
    
    
        function moveCollarsToUSALayer(template,garmentLayer)
        {
            if(template)
            {
                var usaLayer = garmentLayer.layers.add();
                usaLayer.name = "USA Collars";
                var theLayer = garmentLayer.layers["Prepress"];
    
    
                for(var a=0;a<theLayer.layers.length;a++)
                {
                    var curSize = theLayer.layers[a].name;
                    var curLay = theLayer.layers[a];
                    curLay.groupItems[curSize + " Collar"].moveToBeginning(usaLayer);
                }
    
    
                continueScript();
            }
            else
            {
                // docRef = app.activeDocument;
                var usaLayer = docRef.layers.add();
                usaLayer.name = "USA Collars";
    
    
                for(var a=0;a<docRef.selection.length;a++)
                {
                    var curCollar = docRef.selection[a];
                    curCollar.moveToBeginning(usaLayer);
                }
                continueScript();
            }
            
    
    
    
    
        }
    
    
        function continueScript()
        {
            var theCAD = findCAD(garmentInfo[garmentCode]["path"], garment);
    
    
            copyCollars(theCAD, garmentInfo[garmentCode]["coords"]);
    
    
            addCollarsToCorrectLayer(garment,garmentInfo[garmentCode]["coords"]);
        }
    
    
        /////////////////////
        ///Logic Container///
        /////////////////////
    
    
        var docRef = app.activeDocument;
        var layers = docRef.layers;
        
    
    
        var garmentInfo = 
        {
            "FD_SLOW_SS" : 
            {
                "path": "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOW_SS",
                "coords" : 
                {
                    "XS" : [-946.67,622.35],
                    "S" : [-948.92,362.97],
                    "M" : [-951.17,96.54],
                    "L" : [-953.42,-177.48],
                    "XL" : [-955.22,-458.71],
                    "2XL" : [-957.92,-747.11],
                    "3XL" : [-960.17,-1042.73],
                    "4XL" : [-962.42,-1345.42],
                    "5XL" : [-964.67,-1654.82],
                    "Label" : [-949.1,708.39]
                }
            },      
            "FD_SLOWW_SS" : "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOWW_SS",
    
    
            "FD_SLOWY_SS" : "/Volumes/Customization/Library/cads/prepress/FD_SLOW_SS/ConvertedTemplates/FD_SLOWY_SS",
            "FD_FAST_RB" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_RB/Converted_Templates/",
            "FD_FAST_SL" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_SL/Converted_Templates/",
            "FD_FAST_FB_SL" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_FB_SL/Converted_Templates/",
            "FD_FAST_FB_SS" : "/Volumes/Customization/Library/cads/prepress/FD_FAST_FB_SS/Converted_Templates/",
            "FD_FAST_2B_SS" : {
                "path": "/Volumes/Customization/Library/cads/prepress/FD_FAST_2B_W_SS/Converted_Templates/",
                "coords" : 
                {
                    "XXS" : [-1011.89,455.31],
                    "XS" : [-1015.33,206.79],
                    "S" : [-1018.88,-60.25],
                    "M" : [-1022.12,-323.7],
                    "L" : [-1025.7,-595.67],
                    "XL" : [-1028.83,-879.72],
                    "2XL" : [-1032.38,-1168.08],
                    "3XL" : [-1035.83,-1457.79],
                    "Label" : [-949.1,708.39]
                }
            },
            "FD_BASE_FB_SL" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_SL/Converted_Templates/",
            "FD_BASE_FB_Y_SL" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_Y_SL/Converted_Templates/",
            "FD_BASE_FB_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_SS/Converted_Templates/",
            "FD_BASE_FB_Y_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_FB_Y_SS/Converted_Templates/",
            "FD_BASE_2B_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_2B_SS/Converted_Templates/",
            "FD_BASE_2B_Y_SS" : "/Volumes/Customization/Library/cads/prepress/FD_BASE_2B_Y_SS/Converted_Templates/",
        }
    
    
        var garment = whatGarment(); 
    
    
        var garmentCode = garment.substring(0, garment.indexOf("_0"));
    
    
        var styleNum = garment.substring(garment.indexOf("_0"), garment.length);
    
    
        try
        {
            docRef.layers[garment.substring(0,garment.indexOf(".ait"))].layers["Prepress"].visible = true;
            moveCollarsToUSALayer(true,docRef.layers[garment.substring(0,garment.indexOf(".ait"))]);
    
    
        }
        catch(e)
        {
            //no discernable layer structure
            alert("using catch");
            promptToSelectCollars();
        }
    
    
        
    
    
        
    
    
        
    
    
        // alert("Results:\n" + "Sport: " + garment[0] + "\nCut: " + garment[1] + "\nStyle Number: " + garment[2]);
        // alert("Results:\n" + garment);
    
    
    
    
        
    }
    container();
    

    You do not have something wrong, sort of, pallets do not 'normally' work as do dialog windows, you must use BridgeTalk to bind your palette to Illustrator, do a quick search, a topical subject, there are many samples.

  • Is parent to perform the function in child

    I have a function in children that I need to be executed by the parent, but I can't make it work.  Anyone know how to call the function in a child of a parent?

    What I do is to have the parent load a few buttons, and I would like to re - use the swf, but have the parent to provide the text for the button.

    Here's how I built it:

    main.swf - main container for everything

    -button_page.swf - this is the page that has the buttons on it

    field - button.swf - the image of the button with dynamic text

    So the button_page.swf try to perform a function on button.swf, called "populate_button".  He is also passing the text inside, so the function should be performed as "populate_function("Back")".  I can't call to function properly.  I tried several different things, including:

    btn_back.populate_button ("Back");

    the instance of the button.swf is called 'btn_back '.

    Any help would be greatly appreciated.  Thank you!

    Aaron

    If I'm not mistaken...

    in AS3... the only 'good' inter comm swf is w / connection local... parent has been deprecated, except for XML nodes...

    You're wrong

    2 SWFs can communicate with eachother very well. Make sure they are actually loaded before trying to communicate.

    You only need a communication cross-avm netconnection: AVM0 (AS1/AS2) to AVM3 (AS3) and vice versa.

    VIVIsecVI, show us the code that loads the swf button actually.

  • Function on frame 1, to perform the function on frame 3?

    Hello
    I have a button on frame 1, which performs a function that goes to frame 3. I want to run a function, called FILL () on frame 3, entering text in a dynamic text field. The FILL () function works when it is run on frame 3.
    The code on frame 1 is:
    myButt.onRelease = function () {}
    gotoAndStop (3);
    FILL ();
    }
    It will be goto frame 3, but how do I get to run the FILL () function on frame 3?

    Thank you
    Paul

    Put on the function of setting 1 - and don't forget no keyframe your script layer.
    It will be available on frame 3, or any image indeed.

    --
    Dave-
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • "Cannot perform the function of user code. This file may be damaged. »

    I get the error above when performing authorization of web-packed 7 course on one of the machines (IE 7.0, Win XP). The same content is working on an another Win XP, IE7.0 m/c and also Vista IE 7.0.

    The a7wisi.u32 is downloaded to c:\document and settings\username\... webplr08 location correctly by the player but does not find when the application starts. It only happens with classes that use u32 files.

    I tried unistalling and reinstalling the web player without any help. This machine was also previously a former authorware shockwave installed control. Could that be causing it?

    I also ran the web player with the file shktrace.on. When I compare 2 ptrace.txt (a computer properly), the only unusual thing, I've observed is the instructions: PluginMgr::SearchContent: fileName = "a7wisi.u32" appear 3 times in the ptrace.txt on the computer where his work so that the same statements appear much more often on the m/c where his failure. Cannot make any sense of the txt as its says file does not any error or something there.  He tries to find the file in another location?

    Can shed you some light on what could go wrong here? I enclose the two ptrace.txt here.

    Thank you

    I was able to download and extract the file without any problems this time. Looks like that fixed problem. Thank you!

    Mike

  • How to use the Mac keyboard to perform the function () more?

    When you use the Mac Calculator application, I am able to subtract using my mac keyboard, but I seem to be unable to add w/out using the mouse. Am I missing something?

    More then is to remove your keyboard (top-right). It is above the "equal" sign. The items that are displayed above the other characters require that you press shift to enter.

  • HP OfficeJet J4660 all in one appears "off-line" and the function desappears scanner

    Original title: device

    HP OfficeJet J4660 All in one – [1] it has been properly installed on the computer - DELL - Vostro. [2] he worked very well; [3] after a while, it appears "off-line" for all its functions. The scanner function desappears. What should I do?

    Hello

    · What is the operating system installed on the computer?

    You can follow the procedure in the article: "the printer is offline" Message appears on the computer and the product will not print HP: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02221706&cc=sk&dlc=sk&lang=sk&lc=en&product=3692891

    You can also run the tool of diagnosis of HP for printer and scanner of concern:

    http://h10025.www1.HP.com/ewfrf/wc/documentSubCategory?tmp_rule=32965&tmp_task=solveCategory&cc=us&DLC=en&LC=en&product=3692891

  • Problem with the function of highlight (copy). -in Notepad

    When I highlight (select) text in Windows Notepad to copy, highlight function stops at the bottom of the page. It does not automatically scroll to the bottom of the page. How can I get this feature to work?   So that it auto scrolls to the bottom of the page as I continue to highlight?

    Is there an option somewhere to restore this function?

    Not really a question of IE, but I found that if you are highlighted by dragging the mouse, move the mouse back in the bottom of the window and highlighting will continue downwards.

  • in combination with the function sequence

    Hello

    I have a problem with a sequence in combination with a function.

    I want to generate a kind of a hardware inventory report that contains some kind of a hardware ID (a number not repetitive, auto-increment, allowed deviations). However, I have to keep track of what material ID I used to which material of the inventory, for reasons of traceability. Another important requirement is that whenever the report is run, that the returned hardware IDs are never repeated. If repeatedly runs for the same hardware in the inventory must always return new material ID.

    So I was about to create a simple function from PL/SQL where I spend my data of traceability as parameters. Then the function uses internally a sequence (nextval) to generate a new hardware ID, then stores the new ID of material by related values in the input in a table (autonomous transaction) parameters and returns the new ID.

    It works pretty well so far.

    Now the tricky part: I want where I want to go back the same ID in different columns of a SQL statement.

    Let me give you an example:
    CREATE SEQUENCE XXX_TEST_SEQ
    MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 1
    NOCACHE NOORDER NOCYCLE;
    
    
    CREATE PACKAGE XXX_TEST_PKG AUTHID CURRENT_USER AS
    FUNCTION get_id(p_someparameter NUMBER) RETURN NUMBER;
    END XXX_TEST_PKG;
    
    
    CREATE PACKAGE BODY XXX_TEST_PKG AS
    FUNCTION get_id(p_someparameter NUMBER) RETURN NUMBER IS
      l_new_id NUMBER;
    BEGIN
      SELECT XXX_TEST_SEQ.NEXTVAL
        INTO l_new_id
        FROM DUAL;
        /* do some more logic, e.g. store the freshly generated ID 
            together with the input parameter values in some tracing table */
      RETURN l_new_id;
    END get_id;
    END XXX_TEST_PKG;
    It is a simplified version of the function for demo.

    We will use:
    -- 1) this works as expected:
    select xxx_test_pkg.get_id(1) from dual;
    
    XXX_TEST_PKG.GET_ID(1) 
    ------------------------ 
    1                        
    
    
    -- 2) this returns two different numbers:
    select xxx_test_pkg.get_id(1) as id_one
        ,  xxx_test_pkg.get_id(1) as id_two
    from dual;
    
    ID_ONE                 ID_TWO                 
    ---------------------- ---------------------- 
    2                      3                      
    
    
    -- 3) This is the problematic case: I want to return the same ID two times:
    select my_id as id
         , my_id as same_id
     from (select xxx_test_pkg.get_id(1) as my_id from dual);
    
    ID                     SAME_ID                
    ---------------------- ---------------------- 
    4                      5                      
    
    
    -- 4) CURVAL on these sequence does not work:
    select my_id as id
         , xxx_test_seq.curval as same_id
     from (select xxx_test_pkg.get_id(1) as my_id from dual);
    
    SQL Error: ORA-00904: "XXX_TEST_SEQ"."CURVAL": invalid identifier
    
    
    -- 5) This gives the output that I need, but why?
    select my_id as id
         , xxx_test_seq.nextval as same_id
     from (select xxx_test_pkg.get_id(1) as my_id from dual);
     
    ID                     SAME_ID                
    ---------------------- ---------------------- 
    7                      7                      
    Query 3 is one who gives me headaches. I need to return the same ID in different columns. But it returns only two different pieces of identification. I know that the optimizer will merge the two select statements into one and therefore perform the function twice. Someone knows how can I avoid this?

    Which is a little strange to me, it's the query 5 is really what I need, but at first glance I would say that he should not do. I would say that using nextval would be me again another number sequence.

    It's confusing... Can someone explain this and advise how can I build a query if I can get the same ID twice by line?


    I know that I can totally get rid of the sequence in my function and use something different, but I was wondering if I can avoid to change my function.


    Thank you
    David.

    Oracle's FUSION query inline with the outer query block, which causes the function being called twice.

    Instead of MATERIALIZING suspicion, or relying on ROWNUM = 1 effect predicate aside, I would explicitly tell the optimizer to not do so via the NO_MERGE indicator.

    select my_id as id
         , my_id as same_id
    from (select /*+ NO_MERGE */ xxx_test_pkg.get_id(1) as my_id from dual);
    
  • Calculation that uses the function Max Analytics

    Hello world

    Hope all is welll...
    I have 2 Calc:

    1) Calc_HippaToSortNumber who does:
    DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500)

    2) Calc_MaxHoldDesc that uses the above calc in analytic function:
    Max (Calc_HippaToSortNumber) MORE (Student.Id PARTITION)

    I have a condition that uses the two Calc for:
    Select the line that corresponds to the max value of Calc by partition

    Calc_HippaToSortNumber = Calc_MaxHoldDesc

    I get the results I want, but I do not understand how works Discoverer:
    Calc 1 - should be the level of the detail line to assign a number based on a field to hold alpha Desc
    If keep Desc = Hippa, 999
    = Null, 0
    other values, 500

    Calc 2 - is an analytic function, so it happens after query calculates its results in detail

    BUT THE condition is testing the analytical function: this condition runs after the execution of the analytical function
    against all preliminary results?
    How does he know Scout to perform the function after execution of the analytical function
    instead of on the level of detail / row?

    The following test data:
    pls advise, tx, sandra

    ID take Fname Lname desc calc_HippatoSortNumber
    ==============================================================
    1 adams alice Certification BLS 500 max (500)
    2 Brown brett HIPAA 999 max (999)
    4 BLS Certification 500 Caroline Chin
    4 Caroline HIPAA 999 (999) max Chin

    I want to show only 3 lines using the analytical function max for the id field studying and comparing each
    the partition to the max value line and by selecting the line with the max value.
    1 adams alice BLS Certification 500
    2 Brown brett HIPAA 999
    4 Caroline HIPAA 999 Chin

    Hello

    How does he know Scout to perform the function after execution of the analytical function

    instead of on the level of detail / row?
    Discoverer always runs the latest analytical functions and therefore conditions by using analytical functions are also processed last. Discoverer for this by using a query online and therefore the structure of the SQLused

    Select Lname, Id, Calc_MaxHoldDesc, Calc_HippaToSortNumber)
    SELECT Id, Lname, DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500)
    Calc_HippaToSortNumber, MAX (DECODE (hold desc, 'HIPAA', 999, NULL, 0, 500))
    ) Calc_MaxHoldDesc OVER (PARTITION BY Student.Id)
    Of...
    )
    WHERE Calc_HippaToSortNumber = Calc_MaxHoldDesc

    Rod West

  • Library swf with does not perform the actions

    I have an actionScript animation film simple (using Greensock TweenMax) after export works fine when I open the .swf file obtained on its own (double click on my Mac finder).  My film has 2 frames, frame 1 sets up the interpolation on the object function in my film, frame 2 performs the function and stops.  As I said, if I open the exported .swf file or preview in a html browser, I see the desired animation effect.

    However, when I include the swf exported in another project file (using import to library) and drop it in my main script - I don't get the animation that I see in my standalone swf file.  I tried to call the file directly to play and notheing happens.  When I opened this symbol of swf (double clicking) after putting on the main timeline, I see 2 managers, but only in the original file symbiols graphics are in these frameworks (no action).

    I test the same goal using an exported swf of a film by the animation timeline (classic Tween), and it worked fine).

    What Miss me?  Is it possible to take advantage of a file to swf actionscript animation in other films?  I want to do so that I can create a bunch of stand alone animations I load in dynamically and play without chronology animate each one.  Any help GREATLY appreciated, thank you very much!

    Yes, if it's an AS3 file you can use the Loader class.

    If you want the movie to be physically in the other alternative file would be to copy the script of the film to a movieclip in the other file.

  • Run the function of the stadium of as a file

    Hello guys,.

    I make a game in action script.

    I have the regular scene (stage) with functions of ActionScript, game initialization etc.,

    and external AS files with (assigned to some clip) works

    Can I perform the function which is on the stage of this folder?

    I tried this:

    var host: MovieClip = MovieClip (this.parent.parent);
    main.increaseScore ();

    this.parent.removeChild (this);

    It workes inside a movieclip, but not in the external file (CLASS)...

    Thank you very much!

    use that newly created class as a class Document (you can set it by clicking on the empty stage and passage to the properties pane, there are small field with a pen top, put the name of your class without the .as endpoint and your file should work.

Maybe you are looking for

  • Satellite P500 is not the start - stop screen Toshiba

    Hey everybody, I spent hours scouring the Internet to see if anyone has had a similar problem and I found nothing. When I turn on my laptop, I hear the fan starts and the screen on the Toshiba load screen startup - and stays there. I tried a drain of

  • Delete the Panoramas

    I import my images in the photos. In the Albums section, a label Panoramas was automatically created. How can I remove this?

  • LaserJet Pro P1102W: P1102W displays only first page or two of a job

    A week or two ago, my P1102W stopped the complete print job. It would seem that the first page, sometimes two. Would the Green LED flashes quickly rather than the pulse slow (3 seconds) when a work is done. By pressing on the red X button often cause

  • How to use Windows backup with USB

    When I try to back up using Windows 7 backup and restore I get the following message: "Please write the following label on a blank media and insert in E:\. ». When I then click OK, I get this message: "there is no media in the drive.  And when I clic

  • BlackBerry smartphones get Images does not

    Hello, all. Until a few days ago everything worked properly. Now when I want to download the images in an email, nothing happens. It does not even show the download icon. And the possibility to get the Images went unless I have move to the text gross