navigateToUrl issue and variable

I'm having a problem passage of variable in a local html file using an installed Air application. It works up to a point. I have a web page with a SWF which passes an array of string to the Air application which is already installed on the desktop computer. I know that the string arrray went because I can analyse in the aplication of the Air. I met a problem when I try to run a local html file with the array of strings as variables in the URLrequest. The launch.html is located in the same directory where the Application is installed. I have no problem, launch the file, it is not just to pass the variables with it. No clue as to why it does not save me from disaster.

Here is the code:

import flash.events.Event;
to import flash.external.ExternalInterface;
import flash.net.URLRequest;
import flash.desktop.NativeApplication;
import flash.events.InvokeEvent;
import flash.utils. *;
import flash.events.BrowserInvokeEvent;
import flash.filesystem.File;
import flash.errors.IOError;
import flash.net.URLLoader;
to import flash.net.URLVariables;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequestMethod;
import flash.events.IOErrorEvent;
import flash.net.navigateToURL;
import flash.net.sendToURL;

var: array of arguments;
var dateString:String;
var indexString:String;
var videoTime:String;
var videoIndex:String;
var urlContent:String;
var urlRequester:URLRequest;
var variables: URLVariables;


NativeApplication.nativeApplication.addEventListener (BrowserInvokeEvent.BROWSER_INVOKE, onBrowserInvokeEvent);

var currentDir:File;
function onBrowserInvokeEvent(invocation:BrowserInvokeEvent):void
{
arguments = invocation.arguments;
videoTime = invocation.arguments [0] m:System.NET.SocketAddress.ToString ();
videoIndex = invocation.arguments [1] m:System.NET.SocketAddress.ToString ();
dateString = "dateString ="+ videoTime. ";
indexString = "indexString =" + videoIndex;

urlContent = "launch.html"+ "? ' + dateString + '&' + indexString;
repCourant = invocation.currentDirectory;

urlContent = "launch.html;
urlRequester = new URLRequest (urlContent);
variables = new URLVariables();
variables.dateString = videoTime;
variables.indexString = videoIndex;
variable = urlRequester.data;
Arguments.Text = variable. ToString(); / / outputs dateString = date & indexString = 1
urlRequester.method = URLRequestMethod.GET;

var htmlLoader:URLLoader = new URLLoader (urlRequester);
htmlLoader.dataFormat = pouvez;
htmlLoader.dataFormat = URLLoaderDataFormat.TEXT;
htmlLoader.addEventListener (Event.COMPLETE, URLLoaded);
try {}
htmlLoader.load (urlRequester);
Arguments.Text = "Loaded";
navigateToURL (urlRequester);
}
catch (error: Error) {}

Arguments.Text = "Unable to load URL";
}
navigateToURL (urlRequester);

}

Reading the variable Javascript looks like this:

< script type = "text/javascript" >

var dateString;
Window.OnLoad = Function)
{
var myQueryString = window.location.search;
remove the '?' sign if exists
myQueryString = myQueryString.substr (1, myQueryString.length - 1);
dateString = myQueryString;
}
function show_alert()
{
alert (dateString); currently returns nothing
}
< /script >

< / head >
< body bgcolor = "#ffffff" style = "margin: 0px" >
< input type = "button" onclick = "show_alert ()" value = "Display the alert message" / > "

......................

Thanks in advance

DoctorNic

I've tested this in the AIR, both in the Flash Builder debugger and actual AIR application installed. Works very well. Try this as your document class:

package {
    import flash.display.Sprite;
    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    import flash.net.URLVariables;
    import flash.net.navigateToURL;

    public class Test extends Sprite {
        public function Test():void {
            init();
        }

        private function init():void {
            var button:Sprite = new Sprite();
            with(button.graphics){
                beginFill(0);
                drawRect(0, 0, 120, 40);
            }
            with(button){
                x = 10;
                y = 10;
            }
            addChild(button);
            button.addEventListener(MouseEvent.CLICK, click);
        }

        private function click(e:MouseEvent):void {
            launchHTML();
        }

        private function launchHTML():void {
            var urlReq:URLRequest = new URLRequest("assets/test.html");
            var urlVars:URLVariables = new URLVariables();
            urlVars.var1 = "Var 1";
            urlVars.var2 = "Var 2";
            urlReq.data = urlVars;
            navigateToURL(urlReq);
        }
    }
}

Tags: Adobe Animate

Similar Questions

  • Actions and Variables are duplicated when I create the new model project

    My organization uses a standard model for our courses.  In this model, I added a few variables and advanced actions to enable to the learner to customize the course a bit and support our "test-out" option

    What I found however, is that when I create a new project of this model that all stocks advanced and variable are... reproduce some several times.

    And ideas on how to make this stop?

    Jay

    Unfortunately, this is a known issue.  I pointed out about it here:

    Problems of duplication in Adobe Captivate Cp7 Cp8 Templates | Infosemantics Pty Ltd

    As far as I know, the problem persists even in Captivate 9 If you create a template that has advanced Actions, and these actions are used by no slides in this model.  When you create a file CPTX of this model, Variables and advanced Actions are duplicated by about the same number of times that the advanced initial Action is used.

    You can test this by creating a simple project with two blades, a variable and a Standard Action that affects this variable with values. Define the event on slide enter on the second slide to run the Standard Action. Save the project as a model CPTL and then use this model to start another project CPTX file.  When you check the list of Variables and advanced Actions you will find that there is a duplicate of each.

  • Sending information to the issuer and confidential form to a database

    I have an application form for an air show, can be seen here www.hollisterairshow.com/volunteerapp.php and when the user clicks on submit their information is added to a MySQL database and the user is redirected to a "thank you" page, this works very well and may be sufficient "such what." Try it if you want!

    I would try to improve it a little bit in two ways:

    1. View information of the volunteers submitted on the "thank you" page and/or
    2. Give the user the ability to send by e-mail a copy of their information on their own (it includes days they expect to be available, favorite activity etc.)

    The information that the user submits also includes personal information such as email address, phone number and mailing address and are therefore not accessible by anyone other than the issuer and administrator of aeronautics or me. I have a password protected to secure the area for the administrator to access all the info and it works fine. The primary key of the volunteer table is a "volunteernumber" which is a numeric field that is incremented by 1 automatically when recording is written in the table.

    So my concerns are:

    1. How to move the volunteernumber back to "thank you" page so that it is not visible to the user (if I used a URL parameter the user could see that they were, say, volunteers number 29 and it wouldn't take a lot of skill to change to a different number of volunteer and see someone other info)
    2. I think I read somewhere that the sending of an e-mail message can open me up to malicious attacks - not very likely, but still possible

    I would really appreciate a pointer in the right direction. I use DW CS4.

    Thank you

    Tony

    tonybabb wrote:

    -could there be a problem of formatting here or if I made another mistake?

    To use a session variable, page should start with session_start();.

  • I want to change your security questions and do not know the old issues and thank you

    I want to change your security questions and do not know the old issues and thank you

    If you have an emergency email address you can use to reset your questions. This option of rescue should be on https://id.apple.com after connection and asked for security issues. If this is not leading to a solution, call Apple: Apple for support and service - Apple Support Contact

    Be prepared to identify you as the account holder. They will ask you some things, I can't predict what, but usually the serial numbers or credit card.

  • 1V - 5v linear output using power supply 5v, voltage divider, and variable resistance

    How can I get 1v - 5v output linear using power supply 5v, voltage divider, and variable resistance?

    Have the you wired as an attachment?  Using my schema, you can calculate the current flowing through the pot based on the fall of the tension in the pot

    4V / 10Kohm = 0.0004

    Kirchhoff's current law, we know that the same current flows through the circuit so now we can calculate the leg below the wall, based on the current and the fall of desired voltage across the resistance

    1V / 0.0004 A = 2.5 K Ohm

    My scheme maintains the current flowing through the circuit of constant, so the voltage divider must never change.  Assuming a linear pot, you will get a swing of such linear voltage as measured at the wiper.  If you wired the pot, a different way, then more then likely, you change the total resistance of 5V ground that would have the common effect that would effect the tensions.

  • Hide: I went to my documents and I had this issue, and I clicked on something that is called HIDE and I don't know how to get to this file now!

    I went to my documents and I had this issue, and I clicked on something that is called HIDE and I don't know how to get to this file now! Anyone know where are the hidden files?

    Go to start / Control Panel / folder Options / view and check the box to show the hidden files and folders and uncheck to hide extensions of known file types.  Only the first is required for this problem, but the other may be useful later and you might as well do it while you're already here.

    Now, you will be able to see the folder.  It will be in the same place, it has always been (it has not been assigned) - it was just hidden and now that you can see hidden files and folders you can see again.  You may notice that it deteriorated a little bit lighter that other records - it is a sign that it is a hidden file or folder.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • What are the issues and how can I put the documents in the files?

    As usual; Oracle is absolutely horrible in providing any kind of basic instructions on the use of the products.

    I need to upload files to a structure (don't care if it's collections, folders, or in mason jars as long as it works) and be able version them and seize those I want.

    I managed to get a variety of things to work with the genericSoapService (cannot use the API in accordance with local policy), but everything I check in goes in (don't know where)

    I don't think I'm even asking the right questions because my web researchers increase irrelevant results.

    What are the issues and how can I put the documents in the files?

    I created a few files like this:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
       <soapenv:Header/>
       <soapenv:Body>
    <GenericRequest xmlns="http://www.oracle.com/UCM" webKey="cs">
    <Service IdcService="FLD_CREATE_FOLDER">
    <Document>
    <Field name="fParentGUID">C976021E28DD8B26FB2D437B5BF56B7F</Field>
    <Field name="fPath">/RAFT/Appraisals/</Field>
    <Field name="fFolderName">0111234567</Field>
    <Field name="fSecurityGroup">RAFT_ADMINGrp</Field>
    </Document>
    </Service>
    </GenericRequest>
       </soapenv:Body>
    </soapenv:Envelope>
    

    Here's a sample call:

    The virtual path is/Appraisals/0111234567 /.

    The GUID for this folder is CBF8EF9C59F8A6C84EB31C68F0903399

    I see the reference to xCollectionID when I look for answers, but the data is not available for me (see the output below)

    When I run this it stores the file but the file does not appear in the folder.

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
         <soapenv:Header/>
    <soapenv:Body>
    <GenericRequest xmlns="http://www.oracle.com/UCM" webKey="cs">
    <Service IdcService="CHECKIN_UNIVERSAL">
    <Document>
    <Field name="fFolderGUID">CBF8EF9C59F8A6C84EB31C68F0903399</Field>
    <Field name="dDocType">Document</Field>
    <Field name="dSecurityGroup">Public</Field>
    <Field name="dDocAccount"/>
    <Field name="dSecurityGroup">RAFT_ADMINGrp</Field>
    <Field name="xFHACaseNumber">0111234567</Field>
    <Field name="xFHADocumentType">Appraisal</Field>
    <Field name="dDocTitle">tuesday2document.txt</Field>
    <File name="primaryFile" href="whereami.txt">
    <Contents>dGhpcyBpcyBteSBkb2N1bWVudA==</Contents>
    </File>
    </Document>
    </Service>
    </GenericRequest>
    </soapenv:Body>
    </soapenv:Envelope>
    

    Returns:

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
       <env:Header/>
       <env:Body>
          <ns2:GenericResponse xmlns:ns2="http://www.oracle.com/UCM">
             <ns2:Service IdcService="CHECKIN_UNIVERSAL">
                <ns2:Document>
                   <ns2:Field name="reserveLocation">false</ns2:Field>
                   <ns2:Field name="IdcService">CHECKIN_UNIVERSAL</ns2:Field>
                   <ns2:Field name="dSecurityGroup">RAFT_ADMINGrp</ns2:Field>
                   <ns2:Field name="dpTriggerField">xIdcProfile</ns2:Field>
                   <ns2:Field name="dDocType">Document</ns2:Field>
                   <ns2:Field name="scriptableActionErr"/>
                   <ns2:Field name="xPartitionId:isSetDefault">1</ns2:Field>
                   <ns2:Field name="xWebFlag"/>
                   <ns2:Field name="dDocCreator">C03999</ns2:Field>
                   <ns2:Field name="dDocAccount"/>
                   <ns2:Field name="xClbraUserList"/>
                   <ns2:Field name="dLocation"/>
                   <ns2:Field name="xWCPageId:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dWebExtension">txt</ns2:Field>
                   <ns2:Field name="isNew">1</ns2:Field>
                   <ns2:Field name="IsQueryObjectPersistent"/>
                   <ns2:Field name="xWCTags"/>
                   <ns2:Field name="LockedContents1">dDocName:WCC_Cluster-001208</ns2:Field>
                   <ns2:Field name="dClbraName"/>
                   <ns2:Field name="dCreateDate">10/7/14 8:58 AM</ns2:Field>
                   <ns2:Field name="xClbraAliasList"/>
                   <ns2:Field name="dActionMillis">72487502</ns2:Field>
                   <ns2:Field name="StatusMessage">Successfully checked in content item 'WCC_CLUSTER-001208'.</ns2:Field>
                   <ns2:Field name="dIsPrimary">1</ns2:Field>
                   <ns2:Field name="isInfoOnly"/>
                   <ns2:Field name="dActionDate">10/7/14 8:58 AM</ns2:Field>
                   <ns2:Field name="xWCPageId"/>
                   <ns2:Field name="xLibraryGUID:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dDocID">1216</ns2:Field>
                   <ns2:Field name="dPublishState"/>
                   <ns2:Field name="xFHACaseNumber">0111234567</ns2:Field>
                   <ns2:Field name="doSorting">0</ns2:Field>
                   <ns2:Field name="primaryFile">whereami.txt</ns2:Field>
                   <ns2:Field name="dRevisionID">1</ns2:Field>
                   <ns2:Field name="xExternalDataSet"/>
                   <ns2:Field name="scriptableActionFunction">determineCheckin</ns2:Field>
                   <ns2:Field name="UseForwardOnlyCursor"/>
                   <ns2:Field name="noDocLock">1</ns2:Field>
                   <ns2:Field name="dID">1208</ns2:Field>
                   <ns2:Field name="xWCTags:isSetDefault">1</ns2:Field>
                   <ns2:Field name="xPartitionId"/>
                   <ns2:Field name="xComments:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dInDate">10/7/14 8:58 AM</ns2:Field>
                   <ns2:Field name="dDocOwner">C03999</ns2:Field>
                   <ns2:Field name="dUser">C03999</ns2:Field>
                   <ns2:Field name="isDocProfileUsed">true</ns2:Field>
                   <ns2:Field name="scriptableActionParams"/>
                   <ns2:Field name="dpEvent">OnImport</ns2:Field>
                   <ns2:Field name="xExternalDataSet:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dDocLastModifier">C03999</ns2:Field>
                   <ns2:Field name="DocExists"/>
                   <ns2:Field name="dConversion">PassThru</ns2:Field>
                   <ns2:Field name="StatusCode">0</ns2:Field>
                   <ns2:Field name="xStorageRule:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dStatus">DONE</ns2:Field>
                   <ns2:Field name="dOriginalName">whereami.txt</ns2:Field>
                   <ns2:Field name="dRevClassID">1208</ns2:Field>
                   <ns2:Field name="idcToken"/>
                   <ns2:Field name="dRevLabel">1</ns2:Field>
                   <ns2:Field name="dDocName">WCC_CLUSTER-001208</ns2:Field>
                   <ns2:Field name="xWCWorkflowApproverUserList:isSetDefault">1</ns2:Field>
                   <ns2:Field name="xStorageRule">webasset</ns2:Field>
                   <ns2:Field name="localizedForResponse">1</ns2:Field>
                   <ns2:Field name="dPublishType"/>
                   <ns2:Field name="fFolderGUID">CBF8EF9C59F8A6C84EB31C68F0903399</ns2:Field>
                   <ns2:Field name="dFormat">text/plain</ns2:Field>
                   <ns2:Field name="scriptableActionType">3</ns2:Field>
                   <ns2:Field name="dDocTitle">tuesday2document.txt</ns2:Field>
                   <ns2:Field name="dpAction">CheckinNew</ns2:Field>
                   <ns2:Field name="primaryFile:path">/opt/oracle/work/wcc_cluster/ucm/cs/vault/~temp/1963032402.txt</ns2:Field>
                   <ns2:Field name="refreshMonikers"/>
                   <ns2:Field name="xWCWorkflowAssignment"/>
                   <ns2:Field name="isEditMode">1</ns2:Field>
                   <ns2:Field name="refreshSubMonikers"/>
                   <ns2:Field name="xFHADocumentType">Appraisal</ns2:Field>
                   <ns2:Field name="changedMonikers"/>
                   <ns2:Field name="dRevRank">0</ns2:Field>
                   <ns2:Field name="StorageRule">webasset</ns2:Field>
                   <ns2:Field name="xWCWorkflowApproverUserList"/>
                   <ns2:Field name="xComments"/>
                   <ns2:Field name="dAction">Checkin</ns2:Field>
                   <ns2:Field name="isDocProfileDone">1</ns2:Field>
                   <ns2:Field name="xWebFlag:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dRawDocID">1215</ns2:Field>
                   <ns2:Field name="xLibraryGUID"/>
                   <ns2:Field name="StatusMessageKey">!csServiceStatusMessage_checkin,WCC_CLUSTER-001208</ns2:Field>
                   <ns2:Field name="xIdcProfile:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dWorkflowState"/>
                   <ns2:Field name="dProcessingState">Y</ns2:Field>
                   <ns2:Field name="dDocCreatedDate">{ts '2014-10-07 08:58:07.482'}</ns2:Field>
                   <ns2:Field name="dDocAuthor">C03999</ns2:Field>
                   <ns2:Field name="dOutDate"/>
                   <ns2:Field name="dIsWebFormat">0</ns2:Field>
                   <ns2:Field name="scriptableActionFlags">12</ns2:Field>
                   <ns2:Field name="isCheckin">1</ns2:Field>
                   <ns2:Field name="RenditionId">webViewableFile</ns2:Field>
                   <ns2:Field name="dExtension">txt</ns2:Field>
                   <ns2:Field name="VaultfilePath">/opt/oracle/work/wcc_cluster/ucm/cs/vault/~temp/1963032402.txt</ns2:Field>
                   <ns2:Field name="prevReleaseState"/>
                   <ns2:Field name="isStatusChanged">1</ns2:Field>
                   <ns2:Field name="dReleaseState">N</ns2:Field>
                   <ns2:Field name="dWebOriginalName">WCC_CLUSTER-001208~1.txt</ns2:Field>
                   <ns2:Field name="xWCWorkflowAssignment:isSetDefault">1</ns2:Field>
                   <ns2:Field name="dDocLastModifiedDate">{ts '2014-10-07 08:58:07.482'}</ns2:Field>
                   <ns2:Field name="dFileSize">19</ns2:Field>
                   <ns2:Field name="xIdcProfile"/>
                </ns2:Document>
             </ns2:Service>
          </ns2:GenericResponse>
       </env:Body>
    </env:Envelope>
    

    CBF8EF9C59F8A6C84EB31C68F0903399

    Replace fFolderGUID by fParentGUID

  • Please help me to download the 13 elements, I all relevant issues and have tried several times but without success.

    PLEASE HELP ME TO DOWNLOAD ITEMS 13, I ALL RELEVANT ISSUES AND HAVE TRIED SEVERAL TIMES.

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If he continues to not try to use a different browser.

    PES 10, 11, 12, 13 - https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-downloads.html

    PE 10, 11, 12, 13 - https://helpx.adobe.com/premiere-elements/kb/premiere-elements-downloads.html

    You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html

  • How to trace all the functions and variables Movie Clip

    How can I find all the functions and variables available Movie Clip?  Thank you

    Use the describeType() function.

  • NDA issues and copyright?

    Hi Oracle

    It seems that some Chinese sites distributing training Oracle that is legal? Or is it a NOA issues and copyright?

    the site in question is www.xxx.xxx/ shouldn\t this site closed or at least the materials removed?

    I would like to know if I should update this post by removing the site after Brian or another responsible for certification read the site name.

    Thank you.

    Published by: Hub on November 18, 2009 09:06

    Hub,
    You can send the information to [email protected]. Unfortunately, when we try to close these sites, they still operate within hours under a different name. Be specific in your complaint for fraud of OCP. They will also send some info on legal ORGANIZATIONAL unit to deal with.

    Thank you
    Brandye Barrington

  • Overactive bladder - difference between the standard rate and variable rate

    What is the difference between the standard rate and variable rate

    Yes, there is. It displays only all the combinations that are already defined elsewhere. ex: in the type of program, plan form

  • Coding of PowerShell - path and Variable issues

    Hello, I work with a program of powershell to copy a file on my USB key and in the boot of the user file what ever is connected to this computer.

    My code is

    :
    PowerShell-command {}; $a = [environment]: UserName. $c='E:\Other\Programs\program2.bat'; $b = "C: / Users / $a/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"; copy $c $b. Start-sleep 30

    It uses only the $a instead of the variable name... If I change it to "" it is said that the path is not found a cmd or an executable program. and it stops at Windows/Start

    can someone help me with this?

    For anyone who was wondering why I am using powershell-command instead of ISE is because I'm running it from a .bat file because the execution policy is set to restricted AND cannot NOT BE CHANGED.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • Issue temporary Variables and columns of the Table

    Hello

    I have a table with two columns advanced region and add line features.

    First column is a messageChoice and the other column has two grains of messageLovInput. And according to the value of messageChoice that I have to make a fake messageLovInput.

    Now, I have attached SPEL with messageLovInput and attached to a partial action of fire with messageChoice.
    For what I create a PVO and added two variables in it.

    But now when I select any value of choice message its not showing regions lOV properly. It always shows lov single area only. No other one based on the value selected in the drop-down list.



    I hope I am clear.

    Satya

    Satya

    Rather than create a PVO I create transient attributes in the area of advanced table VO itself. So that you can get the reference to the line for each line.

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • Need help with loop and variable

    Hi all.

    I'm almost there with this, but I'm stuck on one last question.

    I am a loop in XML to choose the images to display, with the title and ID (which is used in the link).
    Everything works now except the itemID. This used to work, but now the ID is the same for all containers/links on the page.

    Code is attached below, and the function is the image.addEventListener.
    The itemID variable is that doesn't change is not to reflect the individual elements.

    Please please help.

    Thank you very much


    Hello

    You can try to use logic you used in your posted previous sample. Use the event.currentTarget.id to get the ID of the Image.

    image.addEventListener (MouseEvent.CLICK, function(e:Event):void
    {
    var imgId:String = e.currentTarget.id;
    var url: URLRequest = new URLRequest (" http://localhost/youtubeDownloader-debug/index.cfm?video=" + imgID).
    navigateToURL (url, "_blank");

    });

    You can also use the property 'data' of the Image to store the value you want and use the same property to get the value in the event listener.

    I hope this helps.

  • How to display a value constant and variable

    Hello
    I'm trying to display a variable in sql the line of command and oracle xe object browser. Here is a small code to assign a value to a variable of an existing column name id that has value 4567 plane of the table. I'm a newbie, so forgive my ignorance:

    Report the number of new_num;
    Start
    Select code in new_num of aircraft where id = 4567;
    end;
    /

    Issues related to the:
    1. something wrong with the code?
    2. How can I he discovers via sql more command line?
    3. can I see it in Oracle XE gui object browser?

    Kind regards
    Valerie

    Dbms_output.put_line ();

    declare new_num number;
    begin
    select id into new_num from airplane where id=4567;
    dbms_output.put_line('new_num:'||new_num);
    end;
    /
    

Maybe you are looking for

  • Upgrading RAM on Satellite A200-1CR

    I need to change (upgrade) my RAM from 1 GB to 4 GB in my laptop with the part number PSAE0E-02G00YAR and I need to know if it works or not.Guys please I need to know as soon as POSSIBLE. Thank you in advance.

  • Recycle Bin: deleted file path

    Why trash can not tell us where the file has been removed or will be restored in? Why the * it is so secretive? I'm funcking angry.

  • Product key is not valid after the relocation because of the virus

    My netbook has a virus and I need to reinstall my windows xp.unfortunately my sticker is no longer legible, so I can't access my product key. One of my reinstallation cd told me that my product key is not valid... What do I do... i tried to call the

  • Laptop Dell Latitude D800 - no CD for Windows XP

    I bought my computer nearly a year ago and would like to reformat my hard drive or restore factory settings... I have NOT received a cd of the OS when purchasing the computer. I (stupidly) did not restart cd has this time or the other. Is it possible

  • [EC] SOSTITUZIONE HD MD3000

    Buongiorno, Con richiedo present a request by 1 HDD by lo MD3000 STORAGE Serial number: 5WSJ04J