Help me understand a basic principle of scripting languages

Basically right now im setting the functions that I use throughout the application outside of functions, example:
------------------------------------------------------------------------------------------ ------------------
var urlReq:URLRequest = new URLRequest ("music.mp3");
var s:Sound = new Sound();

private function initApp (): void
{
s.addEventListener (Event.ID3, onID3InfoReceived);
s.Load (urlReq);
}
----------------------------------------------------------------------------------------- -------------------

However, this seems sloppy for me and I get warnings of Flex, I need to use these vars in other functions in the application, but if I set them in a function, so I can't access it again, can someone please show me the ideal way to deal with this problem?

Sorry, you must use the above code outside of your duties, but inside your mx:Script, or if you use an external one too, and then personally at the top under your imports. It is here that I like to keep them.

Tags: Flex

Similar Questions

  • Help to understand the basics of the integration of Javascript/QML

    Hey all!

    I am just development of BB for the first time, so please bear with me. I'm not sure that understand the interaction between JS and QML. I understand that you can write JS in QML, particularly in managers of signals, and I used chunks of it with success. Also, I show/read by the "Javascript in QML" and JS linked in the pages of Qt, which helped a bit.

    However, I am having a few problems incorporating it into my code.  Could you take a look at this and point me in the right direction? (I'm also new to JS itself, so maybe that my mistakes are with this instead?)

    onTriggered: {}

    When an item is selected, we push the recipe Page in the attribute of file chosenItem.

    var chosenItem = dataModel.data (row);

     

    Create the content page and place on top of drill down for it.

    contentPage var = pillDetailPageDefinition.createObject ();

     

    Set the properties of content to reflect the selected image.

    contentpage.contentImageURL = chosenItem.thumbnail

    contentpage.contentName = chosenItem.name + ', ' + chosenItem.mass

     

    * Errors begin to surface in this block *.

    contentpage.contentConsumption = {}

    Guide bar = "With"

    Mistakes of the top line: 'missing}, unknown symbol "guideline", missing colon "guideline", etc.

     

    Boolean multiInstruction = false;

    Top line errors: inconsistent input boolean expected RBRACE

                            

    If {(chosenItem.withFood)

    guideline += "food";

    multiInstruction = true;

    }

    If {(chosenItem.withWater)

    If (multiInstruction) guideline += 'and ';

    guideline += 'water '.

    }

    Return to the guideline;

    }

     


    Thanks in advance! I feel I'm missing something incredibly small/basic

    try calling it without braces.

    You can also create a function directly in QML, no need to export to a js file unless you want to use other components (that are not subcomponents) as well.

    to learn more about the construction of Qt/QML parent, I suggest to read this doc API:
    http://Qt-project.org/doc/Qt-4.8/objecttrees.html

    createObject (this) would create a new component with the parent defined on the object class, and if this is destroyed a new is also destroyed. This is useful when you create components dynamically as you don't have to delete them manually later.

  • Please help understand a fundamental notion of script

    Hi, I'm reading the book of learning ActionScript 3.0 and have difficulties to understand some basics of programming due to my total lack of knowledge of prior programming.

    For example now I am interested in this script of the book that traces a list of all the objects to display on the stage and their children:

    function showChildren(dispObj:DisplayObject):void {
         for (var i:int = 0; i< dispObj.numChildren; i++) {
              var obj:DisplayObject = dispObj.getChildAt(i);
              if (obj is DisplayObjectContainer) {
                   trace(obj.name, obj);
                   showChildren(obj);
              } else {
                   trace(obj);
              }
         }
    }
    showChildren(stage);
    

    I understand everything except one thing. When there is an object with children (DisplayObjectContainer), the function redraws the object but is not moving forward and calls itself to go anywhere this time analyze the first child of the object. And if the child also having children himself list will branch out until there is an object without children.

    What I don't understand is how the function knows at this point how to return to the last object parent and continue to analyze her other children, if any.

    For example when the function analysis the scene of a scene with the following content how function knows to continue the child0 analysis. For me, looking at the code, I would expect the service leave after listing [StaticText object]. I have hard time to understand what makes the function return to largeContainer and continues with its child0 and so on.

    ROOT1 [object MainTimeline]
    largeContainer [object largeContainer_1]
    [object, form]
    smallContainer [object smallContainer_2]
    [object, form]
    Child2 [object MovieClip]
    [object, form]
    [StaticText object]
    child0 [object MovieClip]
    [Shape object

    Child1 [object MovieClip]
    [object, form]

    Having said all that the book about which isn't enough for me to understand this process:

    ... the function calls itself again. by passing the object currently
    to inspect. This concept is called recursion. A function that calls itself can
    seem redundant, but it can be very useful. In this case, each time that the function
    is called, it receives a new display object to analyze, so the reports function
    the content of this specific display object. The result is a complete walkthrough
    to view all objects, regardless of the number of children each can have.

    If you feel that you can explain this, please help. I'd greatly appreciate it.

    It can be a little difficult to explain (I would not this place in the base category), but it helps to realize the programs have a good memory.  Each call to the function showChildren has a list of things to go through and will go through the list from beginning to end.  Is ago temporarily recursive calls to him, recursive calls are essentially the instances of this function and they have their own lists, and it can go further inland as required.  If you want to consider that each list knows where it is and where to pick them up when he returned to... and the list hierarchy is not forgotten. While each subroster is complete, the proposed happening to his agenda.

  • Need help with understanding PowerCli scripting by LucD

    Hello

    I'll give you the standard statement that I am a noob powercli and don't really know what I'm doing here.  Here's a script that works because it runs without error and gives a report but I need help to understand this under his weight.

    Connect-VIServer '< our vcenter >' - user < user > admin-password < admin-user-pwd >

    $allvms = @)

    $vms = get - Vm | where {$_.} PowerState - eq "Receptor"}

    $start = (get-Date). AddDays(-1)

    $metrics = "mem.usage.average".

    $stats = get-Stat-entity $vms - start $start - Stat $metrics

    $stats | Group-object - property {$_.} Timestamp.Day}, {$_.} @entity.name} | %{

    $vmstat = "" | Select the day, MemAlloc, MemMin, MemMax, MemAvg, VmName

    $vmstat. VmName = $_. Values [1]

    $vmstat. Day = $_. Group [0]. Timestamp.Date

    $mem = $_. Group | where {$_.} MetricId - eq "mem.usage.average"} | Measure-object-property value - average - Maximum - Minimum

    $vmstat. MemMax = [int] $mem. Maximum ##dfsdf

    $vmstat. MemAvg = [int] $mem. Average

    $vmstat. MemMin = [int] $mem. Minimum

    $vmstat. MemAlloc = $_. Group [0]. Entity.MemoryMB

    $allvms += $vmstat

    }

    $allvms |

    Export-Csv "c:\ < folder > \ <>.csv file Destination"-noTypeInformation

    It connects to our server vcenter server and offers two days of data.  Today and yesterday, all with a timestamp of 0:00.  See below for an example of a virtual machine.

    VmNameDayMemAllocMemMaxMemAvgMemMin
    < name VM1 >07/05/2016 0:004096181818
    < name VM1 >06/05/2016 0:0040963612

    8

    The MemMax, the MemAvg and the MemMin are for this day?  Just the max of this period of sampling time 0:00?

    What I'm looking for, it is to find that the use of the maximum memory of virtual machines are for the whole day.  So I hope that I can remove memory of VMs that do not use it.  I was listed on the change $start = (Get-Date). The value of AddDays(-1) to $start = (Get-Date). AddDays(-30) and see what things alike.  I want to be sure however that the value for MemMax is the highest value for a period of 24 hours.  That is to say for the 07/05/2016 the given virtual machine never used a maximum of 18% of his memory attributed the 06/05/2016 the maximum amount of memory used was 36%, and so on that I extend on the date range.

    Kind regards

    Michael

    It then becomes a rather simple Get-Stat script.

    $vms = get - Vm | where {$_.} PowerState - eq "Receptor"}

    $start = (get-Date). AddDays(-1)

    $metrics = "mem.usage.average".

    Get-Stat - entity $vms - start $start - Stat $metrics |

    Select Timestamp,@{N='VM'; E={$_. @entity.name}}, Value |

    Tri-objet-VM property |

    Export-Csv "c:\------.csv '-noTypeInformation

  • Difficult problem upgrading Vista/Windows 7 for anyone who dares to try to help me to solve it. PLEASE HELP ME UNDERSTAND THIS!

    My computer is a few years old, but has always been a good thing. I have a Gateway P6831FX laptop. It came with Vista pre-installed, but also many devices hardware upgrade card high quality graphics, monitor, sound system, etc. because it was built for the high-quality games.  Unfortunately, my OS system crashed and the computer did not come with recovery discs (gateway said that I should order the discs on their part and that I had to pay for them. Which shocked me because when I bought the computer I paid for a license to the BONE so you would think they would send the recovery discs I free).  However, I recently bought a disc to upgrade to windows 7 because I was planning on upgrading my system before it crashed.  So with a computer, I couldn't use, I thought that I had nothing to lose and I decided to try to load my system windows 7 on the computer.  I put the disc in the drive and load windows 7 with no problems at all.  I don't know if I've checked all the right boxes when he asked all sorts of questions, but my big computer worked when I was tired.  I had to go online and download the driver for the webcam to webcam would work once again and I lost all programs preloaded but other than that everything seems to work fine.  But then all of a sudden the sound no longer works.  I turned off the computer and turn it back on and the sound was back on.  But a few hours later, the noise stopped working again and it keeps going.  It is when I reboot it, but it is becoming a chore.  I decided that I would try to fix it and I went into the Device Manager and I discovered something to worry about. All original equipment upgraded in the computer is no longer registered.  All that was there was listed as generic devices Microsoft and number of manufacturer information and model said: not available. The monitor, for example, is listed as 'No generic PnP Monitor'.  Everything updated, so that I paid extra watch now simply known as generic peripheral windows (with a date of installation date that I loaded windows 7).

    Is there anyway to retrieve the updated materials and programs without having to order and pay for the vista recovery discs?  If I have to, I'll have to erase windows 7 then reload vista with recovery disks and then reload again the upgrade to windows 7?  However, one thing that baffles me is that when I pull my hard drive it shows that I have 2 here.  It shows 1 Partition (C) and (D) recovery so I think that my original vista system with the hardware upgraded and programs is still in my computer somewhere in the recovery disc (D) but I can not understand how to access and I tried.  And if for some reason any I can never access or recover, I would like at least to remove it because it takes up a ton of space on my hard drive.  If anyone can understand what I'm trying to say here, that's where somehow you can help me understand cela stuff?  Thank you for your time.

    Hello

    Gateway put a recovery Partition on your hard disk to reinstall Vista from rather than providing records.

    It's the way it's done now and you are also supposed to make recovery disc from it, that you can not do until you reinstall Vista now.

    If the recovery Partition: D still works, we do not know as you have installation, etc. on this laptop.

    You need to try.

    Reinstall Vista > and then upgrade to Windows 7.

    .

    Here is the information on the bridge for learn you more about reinstalling Vista.

    Full factory for the gateway restore, which you will always be able to use...

    https://support.gateway.com/s/software/Microsof/Vista/7515418/7515418su531.shtml

    And once you reinstall Vista you go to the site of the bridge or from the hardware manufacturer (that you upgraded material initially) Support Web site > download drivers and software Section > equip your laptop model number or the hardware and operating system > and download the latest drivers for the notebook hardware.

    http://support.gateway.com/product/?cmpid=supportnav

    And also when Windows 7 is installed then you will need to go to this same site gateway or the hardware manufacturer (that you upgraded material initially) and download the latest Windows 7 drivers for it also.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If the recovery partition is damaged ask gateway if they provide the disc of recovery for you.

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

    p.s. That's what you should have done before you start the upgrade to Windows 7.

    Go to your laptop manufacturer's website and check if Windows 7 drivers are available for your make and model laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

  • Helps the understanding of regular Expressions

    Hello people,

    I need help to understand Regular Expressions.
    -- This returns the Expected string from the Source String. ", Redwood Shores,"
    SELECT
      REGEXP_SUBSTR('500 Oracle Parkway, Redwood Shores, CA,aa',
                    ',[^,]+,', 1, 1) "REGEXPR_SUBSTR"
      FROM DUAL;
    
    REGEXPR_SUBSTR
    -------------------------------
    , Redwood Shores,
    
    However, when the query is changed to find the Second Occurrence of the Pattern, it does not match any. IMV, it should return ", CA,"
    
    SELECT
      REGEXP_SUBSTR('500 Oracle Parkway, Redwood Shores, CA,aa',
                    ',[^,]+,', 1, *2*) "REGEXPR_SUBSTR"
      FROM DUAL;
    
    REGEXPR_SUBSTR
    -------------------------------
    NULL
    Can someone help me understand why second query not returning ", CA, '?

    I did research on this forum and found the link on the thread "https://forums.oracle.com/forums/thread.jspa?threadID=2400143" for the basic tutorials.



    Kind regards
    P.

    The reason is that the comma between 'Redwood Shores' and 'CA' already represents the first occurrence.
    So it can not match the second occurrence at the same time.

    You can replace to (remove the trailing ',' in the regex):

    SELECT  REGEXP_SUBSTR('500 Oracle Parkway, Redwood Shores, CA,aa',',[^,]+', 1, 1) REGEXPR_SUBSTR  FROM DUAL;
    
    SELECT  REGEXP_SUBSTR('500 Oracle Parkway, Redwood Shores, CA,aa',',[^,]+', 1, 2) REGEXPR_SUBSTR  FROM DUAL;
    

    Published by: hm on 14.06.2012 00:52

    When you remove also the leading comma you get to the BlueShadows solution.

  • Get-stat, help to understand what he gives me!

    Hello

    I'm playing with get-stat so that I can make a series of simple tests to see how a host server to load changes when virtual machines are added (and load simulated on these virtual machines).

    I'm a little confused as to what I mean really get stat. basically, I want to make a sample of five minutes, then add more machines and make a five minute sample etc.

    I use the parameter intervalssecs the value 5 and get statistics for every 20 seconds. What I understand as the period nearest available range, so it's well and good, but the maxsamples confuses me.

    Here is an example of code that I use.

    Get stat - entity & lt; vmhost & gt; -Start (get-date).addhours(-1) - cpu.usage.average stat - intervalsecs 5 - maxsamples 2

    Now, I think this list 2 samples twenty seconds (when I make it work with a second 300 range it just 2 samples list) but what I get is indeed 10 samples as shown below:

    MetricId Timestamp value unit

    -


    -


    -


    -


    CPU.usage.Average 2009-08-19 09:19:54 3.61%

    CPU.usage.Average 2009-08-19 09:19:34 2.06%

    CPU.usage.Average 2009-08-19 09:19:54 8.5%

    CPU.usage.Average 2009-08-19 09:19:34 1.37%

    CPU.usage.Average 2009-08-19 09:19:54 1.08%

    CPU.usage.Average 2009-08-19 09:19:34 2.38%

    CPU.usage.Average 2009-08-19 09:19:54 2.71%

    CPU.usage.Average 2009-08-19 09:19:34 3.28%

    CPU.usage.Average 2009-08-19 09:19:54 2.14%

    CPU.usage.Average 2009-08-19 09:19:34 1.19%

    What I don't understand is:

    1. Why is the list 10 samples?

    2. why the samples with the same timestamp have different values?

    I'm obviously not or do not understand something here.

    Please could someone help me understand.

    Thank you

    Roger

    I sense that you have 4 cores of the processor on the ESX Server.

    More seriously, I'm not psychic, but returns the cpu.usage.average metric:

    -1 value by heart

    -1 overall value

    Up to 2 times 5 is 10 samples.

    If you include the Instance property on your exit, you will see this.

    Note that the overall value has an empty Instance property, while the other 4 have the kernel # in this property.

    get-stat -entity  -start (get-date).addhours(-1) -stat cpu.usage.average -intervalsecs 5 -maxsamples 2 | select *
    
  • Help to understand a warning in disk utility

    Hi - I run regularly "verify disk permissions" because it was recommended to me.  Today I came with a message that I've never seen before, and I hope someone can help me understand what it means and if I need to do something.  It reads:

    WARNING: SUID "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" file has been modified and will not be repaired.

    I know that my company (they have put in place and the laptop power) started using remote access to address issues of service to their end; I don't know if it's relevant (I'm not educated on computers, my apologies in advance for that).

    This particular message can be ignored.

  • I try to get an update of the software update, but he kept saying ' this phone (Iphone 5 s) is not onger connected to the internet while I am using internet.» Please help me understand why.

    I'm trying to get a software update IOS 9.3 as reminded me. He repeated that "impossible because you are no longer connected to the internet while I am on the internet. Please help me understand why. I did it many times, but it's really annoying

    The iOS 9.3 update was pulled for iPhone 5s and older iPhones because of activation problems. He will be unavailable for the next few days.

  • Please help me understand how to install updates with the following error updated Message__The following have not been installed: __Security update for Microsoft XP KB 2289162

    Please help me understand how to install updates with the following error Message

    The following updates were not installed:

    Security for Microsoft XP KB 2289162 update

    See the section "How to get help" of http://support.microsoft.com/kb/2289162

    For individuals, please visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy.  If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    Buying to meet problems installing Microsoft security updates also can visit the following page for assistance: https://consumersecuritysupport.microsoft.com/

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • 0x0000000A (0x00000002, 0x00000001, 0 x 00000034, 0X81BA4E79) I hope someone could help me understand this...

    0x0000000A (0x00000002, 0x00000001, 0 x 00000034, 0X81BA4E79) I hope someone could help me understand this... I just left a few minutes just for a coffee when I came back, my screen like that... I try to look in the computer management it says in windows under the application inside the event journal side by side source description 33 ID and it says also in windows under system log is the name of the Journal: System Source: Tcpip Date: event ID: 4226 task category: no level: warning keywords: PC Description: TCP/IP has reached the security limit imposed on the number of simultaneous TCP connect attempts... now why they produce to my laptop what can I do to avoid this msg. Once again

    Thank you... keep it up and more power

    I think you have two problems:

    Try the "last known good configuration".

    Bug Check 0xA: IRQL_NOT_LESS_OR_EQUAL
    http://msdn.Microsoft.com/en-us/library/Windows/hardware/ff560129 (v = vs. 85) .aspx

    Using the last good known Configuration
    http://Windows.Microsoft.com/en-us/Windows-Vista/using-last-known-good-configuration

    Do you have Service Pack 2? If you do not, upgrade to SP2

    See this:

    TCP/IP has reached the security limit imposed on the number of TCP simultaneous connect attempts on Windows Vista error
    http://www.mydigitallife.info/Tcpip-has-reached-the-security-limit-imposed-on-the-number-of-concurrent-TCP-connect-attempts-error-on-Windows-Vista/

    By default, the half-open TCP connections limit is disabled in Windows Server 2008 with Service Pack 2 (SP2) and in Windows Vista with Service Pack 2 (SP2).

    How to enable the half-open TCP connections limit in Windows Vista with Service Pack 2 and Windows Server 2008 with Service Pack 2
    http://support.Microsoft.com/kb/969710

  • Help me understand the Vista backup

    I just started using Vista backup to backup my PC to an external hard drive.  There are several things I want to ask about the Vista Backup utility.

    1. with many other backup programs (by example, utility backup Windows XP), I was able to review what files were backed up, because the utility has a provision for the display of files saved in their original folder structure.  This is useful for manual checking that a group of files have been backed up.

    With Vista backup, there is no provision.  The backup is stored in a number of ZIP files, with no apparent match to the source folder structure.

    Is there another way to view files saved in their original Vista backup folder structure?

    2. I recently did a second backup of my hard drive Vista.  I have added almost all the files.  In fact, most of the changes have been moving and renaming of audio files.  Yet, the second backup is larger than the first, each approximately 20 GB.  And it took a long time, like the first.  Ultimately, the TWO backups were kept in separate folders dated.

    My questions:
    a. Why is the second big backup?  Can I apply an incremental, or differential backup as it existed under XP?  If you tell me that it's already a differential backup, then why is it so important and take so long?

    b. I must keep each date of the backup folder?  If so, my external hard drive is quickly running out of room!  But if I remove it, maybe I'll lose data!  Please help me understand how Vista backups are cataloged.

    Thank you.

    My questions:
    a. Why is the second big backup?  Can I apply an incremental, or differential backup as it existed under XP?  If you tell me that it's already a differential backup, then why is it so important and take so long?

    b. I must keep each date of the backup folder?  If so, my external hard drive is quickly running out of room!  But if I remove it, maybe I'll lose data!  Please help me understand how Vista backups are cataloged.

    The second backup is great because because you moved your files autour and so backup if they were different files. Vista backup only new or modified files after the first backup.

    If you open the file, you will be able to access all the saved files and delete those you don't need.

  • Need help to understand CodeModuleListener.

    Hi all

    I need your help to understand CodeModuleListener.

    I need to implement CodeModuleListener in my application, but I am confused between docs provided with the 5.0 SDK and documentation online.

    Please look at the below link and image

    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/system/CodeModuleListener.html...

    If you can not see image below please find docs on link: -.

    Search in Motion\BlackBerry JDE 5.0.0\docs\api\index.html (or attempt to open attachments)

    Please answer as soon as POSSIBLE.

    Found the root of the problem.

    When I was using jde 5.0 with eclipse (by creating an ee file) problem appears, but as I install it new eclipse with the plugin 5.0, problem solved.

  • Need help to understand the query result

    Hi gurus

    I was reading one of the question here in this forum and its link is below:

    Query required for scenario

    I had some confusion related to this code and don't understand the logic of the out put, see query below:

    Query

    with sub_services as

    (

    Select su_seq 12323, 'HLR1' so_id, 1 seq Union double all the

    Select su_seq 12323, "HLR2' so_id, seq 2 Union double all the

    Select su_seq 12323, "A09" so_id, seq 3 of all the double union

    Select su_seq 12333, "MO1" so_id, seq 4 Union double all the

    Select su_seq 12333, "MO2' so_id, seq 5 Union double all the

    Select su_seq 12333, "A09" so_id, 6 seq in union double all the

    Select su_seq 12333, 'M0CR' so_id, seq 7 Union double all the

    Select su_seq 12999, "LOL1' so_id, seq 8 Union double all the

    Select su_seq 12999, "LOL2' so_id, seq 9 double

    )

    Select *.

    of sub_services b

    where exists (select 1 from sub_services

    where su_seq = b.su_seq

    and so_id = 'A09.

    )

    order by 2;

    The query result

    12323 A09 3

    12333 6 A09

    12323 HLR1 1

    12323 HLR2 2

    12333 M0CR 7

    12333 4 MO1

    12333 5 MO2

    According to my understanding, the above query should return records in red only because of her is below command

    It exists (select 1 from sub_services

    where su_seq = b.su_seq

    and so_id = 'A09.

    but don't know why he's back 7 files, can someone help me understand the result...

    It is query is functionally identical to the PL/SQL block, but much more effective.

    declare

    number of l_res;

    Start

    for line (select *)

    sub_services) loop

    Start

    Select 1 from l_res

    of sub_services

    where su_seq = row.su_seq and

    so_id = "A09" and

    rownum = 1;

    exception when

    NO_DATA_FOUND then

    null;

    end;

    end loop;

    end;

    Essentially every row in the outer query are tested against him exists query.  Given the correlation between two requests is based only on su_seq each line with a su_seq value returned by him is returned in the output.

    Another way to think he uses instead a join condition.  This query is equivalent to the query to exist

    Select the main

    of main sub_services

    Join select (separate su_seq

    of sub_services

    where so_id = "A09") cond

    We main.su_seq = cond.su_seq;

    John

  • I lost some of the folders in the library.  They exist in the Explorer solutions, but somehow got removed from the library.  I can bring them back in but I'm afraid it will happen again in LR.  Please help me understand what happened and how can I prevent

    I lost some of the folders in the library.  They exist in the Explorer solutions, but somehow got removed from the library.  I can bring them back in but I'm afraid it will happen again in LR.  Please help me understand what happened and how can I prevent the recurrence. I use Win7.

    A few possibilities:

    1 > you click with the right button on the files and chose to remove them from Lightroom.

    2 > you have created a new catalog, and records that are not part of another catalog.

    Each of these scenarios seem like they could be a possibility?

Maybe you are looking for

  • Safari for Windows

    version of Safari for windows

  • Format rich text editors or tools do not work in Firefox

    I use Win 7 64 bit and Firefox 16. Problem is that I and other users of the Forum, that we belong to, can not use the editor text rich Format or tools to edit text...For example, when you type your text and you want to change the format of "BOLD" etc

  • Screen times out when dictating TEXT messages to Apple Watch

    When I reply to a text message using the dictation (the option button of the microphone), the screen turns off after about 15-18 seconds.  When the screen turns off text message that I dictate to me is deleted and I have to start over.  I know that y

  • Apple TV 4 show white screen apps after failure

    Hi, have you had the same problem with apple tv 4? At each time after a power outage, when I try to open third-party applications on apple tv 4, it only shows white screen. Built-in apps work fine. I tried the reset. It worked. BUT! It is a thing of

  • OfficeJet Pro 8610: Printing from the surface of the glass

    When I use the scanner glass to print a 8-1/2 x 11 page, I get an impression that indicates the size of the entire glass.  In other words, I get the height 11 "(slightly reduced) and a 1/2" space at the top (or bottom).  How do I change the setting s