More on State behaviors

With the following code I overwrite the click behavior and
pass control to a child container, at least in theory. Problem is,
it does not work:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" width="100%" height="100%"
backgroundColor="#FFFFFF">
<mx:states>
<mx:State name="open1">
<mx:SetProperty target="{cat1}" name="width"
value="390"/>
<mx:SetProperty target="{cat1}" name="height"
value="390"/>
<mx:SetStyle target="{cat1}" name="left" value="0"/>
<mx:SetStyle target="{cat1}" name="top" value="0"/>
<mx:SetEventHandler target="{cat1}" name="click"/>
<mx:SetProperty target="{cat1}" name="useHandCursor"
value="false"/>
<mx:SetProperty target="{cat1}" name="mouseEnabled"
value="false"/>
<mx:SetProperty target="{cat1}" name="buttonMode"
value="false"/>
<mx:AddChild relativeTo="{cat1}" position="lastChild">
<mx:Canvas x="95" y="100" width="200" height="200"
click="{currentState='';}" backgroundColor="#ffffff"
buttonMode="true" mouseEnabled="true" useHandCursor="true">
</mx:Canvas>
</mx:AddChild>
</mx:State>
</mx:states>
<mx:Canvas id="mystage" width="390" height="390"
horizontalCenter="0" resizeEffect="Resize">
<mx:Canvas id="cat1" left="60" top="60" width="150"
height="150" backgroundColor="#999999"
click="{currentState='open1';}" useHandCursor="true"
buttonMode="true" mouseEnabled="true" mouseChildren="true"/>
</mx:Canvas >
</mx:Application>

You don't need to override click behavior in this case.
The problem is, you are adding the child container to the
main container and both define click event. By default, event
propagates so when you click the child container, click event of
parent container also fires and it reverts back the currentState.
To fix this, you need to tell the child container to not
propagate the event by setting event.stopPropagation() to false. So
your code would look like:
<mx:AddChild relativeTo="{cat1}" position="lastChild">
<mx:Canvas x="95" y="100" width="200" height="200"
click="currentState='';event.stopPropagation()"
backgroundColor="#ffffff" buttonMode="true" mouseEnabled="true"
useHandCursor="true">
</mx:Canvas>
</mx:AddChild>
BTW, you don't have to define event handlers in curly braces.
Thanks,
-Ashish

Similar Messages

  • More sql statements at once

    Hello,
    Can I send more commands (statements) at one calling separating them with semicolon?
    For example:
    .exec("INSERT INTO myTable (col1) VALUES (val1); INSERT INTO myTable (col1) VALUES (val2)"
    I tried it through odbc and oci driver, but was unsuccessful.
    In case using MS SQL this works fine.
    Is there any chance to be able to do this in case Oracle?
    Thanks in advance.
    kind regards,
    d.a.

    >
    Can I send more commands (statements) at one calling separating them with semicolon?
    .exec("INSERT INTO myTable (col1) VALUES (val1); INSERT INTO myTable (col1) VALUES (val2)"Yes (see below), but you shouldn't for the above statements. You should use just one statement with bind variables, and execute it twice (or more). To make it even faster, you can even specify the bind variables via arrays to OCI to have only one round-trip to the DB.
    Is there any chance to be able to do this in case Oracle?The Oracle way to do this is via an PL/SQL anonymous block:
    .exec("BEGIN stmt1; stmt2; END;")
    But again in this particular case, bind variable is the way. Read Tom Kyte on the subject, nobody explains it better than him. --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Strange select statement behavior in start routine during extraction

    Hi, All..
    I'm receiving some odd behavior from a select statment being processed in batch mode (specifically, when run in a normal BW extractor - start routine), the select yields no results .. sy-subrc = 4 and target itab is empty.  however, when i run this same select statement in debug, i get sy-subrc = 0 and records are returned!!  I tried putting the select statement in a standard abap program & it came back successfully in both foreground & background.  something is strange when run in the BW extractor process?? anyone familiar with this?? any help is appreciated!!  Thanks!!

    Thanks everyone for the comments!
    The code is in the start routine from 0BBP_CONF_TD_1 into 0BBP_CON. 
    -The select returns records when in debug
    -I've tried running it open without the "for all entries" & it still fails in batch
    -The select works during the delta but always fails on the initial load
    The select is a join:
    DATA: BEGIN of t_JOIN1 OCCURS 0,
            CONNUM    LIKE /BI0/ABBP_CON00-BBP_CON_ID,
            CONITEM   LIKE /BI0/ABBP_CON00-BBP_COITEM,
            PONUM     LIKE /BI0/ABBP_PO00-BBP_PO_ID,
            POITEM    LIKE /BI0/ABBP_PO00-BBP_POITEM,
            ACGUID    LIKE /BI0/ABBP_PO00-BBP_ACGUID,
            SCNUM     LIKE /BI0/ABBP_SC00-BBP_SC_ID,
            SCITEM    LIKE /BI0/ABBP_SC00-BBP_SCITEM,
            REQSTR    LIKE /BI0/ABBP_SC00-BBP_REQSTR.
    DATA: END of t_JOIN1.
             SELECT a~BBP_CON_ID
                    a~BBP_COITEM
                    a~BBP_PO_ID
                    a~BBP_POITEM
                    b~BBP_ACGUID
                    c~BBP_SC_ID
                    c~BBP_SCITEM
                    c~BBP_REQSTR
               INTO TABLE t_JOIN1
               FROM /BI0/ABBP_CON00 as a
         INNER JOIN /BI0/ABBP_PO00  as b
                 ON aBBP_PO_ID  =  bBBP_PO_ID AND
                    aBBP_POITEM =  bBBP_POITEM
         INNER JOIN /BI0/ABBP_SC00  as c
                 ON bBBP_SC_ID  =  cBBP_SC_ID
                AND bBBP_SCITEM =  cBBP_SCITEM
                FOR ALL ENTRIES IN  DATA_PACKAGE
              WHERE a~BBP_CON_ID =  DATA_PACKAGE-BBP_CON_ID AND
                    a~BBP_COITEM =  DATA_PACKAGE-BBP_COITEM AND
                    a~BBP_COITEM <> 0 AND
                    b~BBP_ACGUID <> '0000' AND
                    c~BBP_SCITEM <> 0.

  • Display vertical lines like brackets around more complex Statements

    Hello
    Is there a possibility somewhere in the preferences for the editor to display "vertical lines" for IF or CASE statements etc. (...i.e. like TOAD does it by default)?
    Thank you for any hints.
    Regards,
    Thomas

    Thank you for this useful information.
    I checked it now again and downloaded the newest version 2.11.
    For relatively short statements this works fine.
    I maybe just was a bit unlucky to start using SQL-Developer directly with a trigger having over 1100 lines of code (I know there is potential for improvement ;-) )
    SQL-Developer does not show these "+" and "-" any more when I copy/insert this statement to the editor. (In Toad it still works).
    Thank you very much anyway.
    PS: I can reproduce such behaviour when doing i.e. this: http://www.developer.com/db/article.php/3326371/Auditing-Oracle-Data.htm
    to the table SCOTT.DEPT:
    CREATE TABLE DEPT_A (
    DEPTNO NUMBER(2,0),
    DNAME VARCHAR2(14),
    LOC VARCHAR2(13),
    aud_action CHAR(3),aud_timestamp DATE,aud_user VARCHAR2(30) );
    CREATE OR REPLACE TRIGGER DEPT_ATRG
    AFTER INSERT OR DELETE OR UPDATE ON DEPT FOR EACH ROW
    DECLARE
    v_operation VARCHAR2(10) := NULL;
    BEGIN
    IF (
    :new.DEPTNO <> :old.DEPTNO or
    :new.DNAME <> :old.DNAME or
    :new.LOC <> :old.LOC or
    1=2) THEN
    IF INSERTING THEN
    v_operation := 'INS';
    ELSIF UPDATING THEN
    v_operation := 'UPD';
    ELSE
    v_operation := 'DEL';
    END IF;
    IF INSERTING OR UPDATING THEN
    INSERT INTO DEPT_A (
    DEPTNO,
    DNAME,
    LOC,
    aud_action,aud_timestamp,aud_user) VALUES (
    :new.DEPTNO,
    :new.DNAME,
    :new.LOC,
    v_operation,SYSDATE,USER);
    ELSE
    INSERT INTO DEPT_A (
    DEPTNO,
    DNAME,
    LOC,
    aud_action,aud_timestamp,aud_user) VALUES (
    :old.DEPTNO,
    :old.DNAME,
    :old.LOC,
    v_operation,SYSDATE,USER);
    END IF;
    END IF;
    END;
    /

  • BEx queries - one or more SQL statements generated?

    Iu2019m a BusinessObjects man and BEx is new to meu2026When you execute a BEx query against a cube u2013 how does BEx manage that query and what gets send to the backend DB (e.g. Oracle)?
    I understand the cube is one table in Oracle?, but other tables (dimensions?) will also be needed to return all the data for a given report/query.
    Does BEx pass that as one query to Oracle, or is it performed as separate queries, with BEx pulling the result sets together?

    Hi Durgesh, Susan
    Thank you to both of you for your response to Ed on this thread.  The background to these questions on how SQL statements are generated from BEx queries that we are working with Ed in a project to test the capability of accelerating the performance of BEx queries via the following process described below. (Please excuse any terminology errors as like  I do not have a background in SAP):
    1. Export fact table InfoObjects relevant to queries for InfoCubes to be accelerated by defining as Open Hub destinations, creating mappings and a data transfer process. Trigger export from SAP BI via a Process Chain and then load data to external database via ETL tool.  Master data (dimension tables) remain in SAP BI
    This step was completed successfully, including exporting of data.
    2. Create a Universal Data Connect (UDC) source system to map to the exported fact tables.
    3. Create a virtual provider mapping to the UDC source defined in step 2 to enable access to external table via JDBC.
    4. Execute BEx report, selecting the query properties 'Cache inactive' and 'Reading all data at once', specifying restrictions (variables) in the report which would result in a small subset of data being returned from the fact table if applied in the SQL passed to the external database.
    We hoped that SAP BI would push down predicates which could be applied to the fact table into the SQL sent to the external database via the virtual provider, but instead an SQL query selecting all columns with no WHERE clause was generated with the result that a 36 million row results set was sent across a network to join with dimension data, rather than a few rows.
    Is this how SAP BI works in version 7.0 or are there configuration options which can change this behaviour?  Is so, if all tables (including master data (dimensions) were exported to external database would SAP BI then transmit the database queries as joins to the external database?
    Sorry this was a bit long, and thank you in advance for any advice you can give.
    Stuart.

  • More psychotic WLST behavior

    So we're porting deployment scripts from standalone to clustered implementations of OSB 11.1.1.6 on WLS 10.3.6.
    When trying to set attributes on a Uniform Distributed Topic, WLST is being completely retarded and refuses to navigate to the mbean for the object, although it's easily navigable from the wlst.sh shell.
    Furthermore, the code that's performing this step is a copy of the code that does the same function for a long list of distributed queues without complaining.
    So anyway, I've got a lookup function that checks for the existence of the topic:
    cd('/JMSSystemResources/blahSystemModule/JMSResource/blahSystemModule')
    cmo.lookupUniformDistributedTopic('TopicName') <== returns true, so we proceed
    cd('/JMSSystemResources/blahSystemModule/JMSResource/blahSystemModule/UniformDistributedTopics/TopicName')
    This throws the familiar:
    File "<iostream>", line 182, in cd
    File "<iostream>", line 1847, in raiseWLSTException
    WLSTException: Error cding to the MBean
    All pretty routine, but why can I navigate to it in WLST?:
    wls:/blah_domain/serverConfig> cd('/JMSSystemResources/blahSystemModule/JMSResource/blahSystemModule/UniformDistributedTopics/TopicName')
    wls:/blah_domain/serverConfig/JMSSystemResources/blahSystemModule/JMSResource/blahSystemModule/UniformDistributedTopics/TopicName>
    A more relevant question than "Why is WLST so freakin' retarded?" might be, "How do I get the runtime to give me more detailed debug info?"
    Cheers!

    Naturally, I'm the impaired one. Kindly ignore.

  • I can not get into some of my applications like Microsoft Office and OpenOffice and more, FireFox states application not found, but I have allways been able to pull them up. HELP! in English

    When I click the start button there are a number of applications I should be able to click on and go into. Lately a box pops up and reads...Application Not Found. I have not had this problem before. I can not pull up PPT., Word or any applications. Even when I click on the Firefox icon to browse a box will pop up... Open With. Choose the program you want to use to open this file. File: firefox. exe. This never happened before. I am an online student at CTU and this is causing big problems in my studies. Can you help.

    You can subscribe with only one email address. But this is just what you sign on with. Check your receipt to see which one you used to purchase with. No need to give up any others.

  • More funny ToC behavior

    Even though I'm Dutch and live in Holland, I normally use English for the sytem-language. Now I found that when you create a new iBook, in the ToC you'll find Chapter 1, Chapter 2 etc. There seems to be no way to change that. But when I set my system-language to Dutch and create a new iBook, I get the Dutch words for Chapter (Hoofdstuk) and Section (Sectie). However, an iBook started while the system-language was English retains the English ToC.
    That means that if I create a book in English first and than decide to make a Dutch (or French or whatever) translation I will need to do the book from scratch just to get the ToC in the desired language...
    Am I missing something or is this another entry for the to-do-list @ Apple?
    Arjen

    This is a great thing to send to Apple Feedback.
    - Fabe

  • Help on Select statement behavior

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE     10.2.0.4.0     Production"
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    DM_SUBSCRIPTION  table and Dm_Process_Instance_Fs_Fact  both has Consultant_Staff_Id   .
    DM_SUBSCRIPTION  .Consultant_Staff_Id  =0
    Dm_Process_Instance_Fs_Fact.Consultant_Staff_Id  =8436
    Select Distinct Pf.Process_Instance_Id, 
                                                             Consultant_Staff_Id  
      From  Fldm.Dm_Process_Instance_Fs_Fact Pf
              LEFT OUTER JOIN  FLDM.DM_PROCESS_INSTANCE_SUB pis
                 ON PIS.PROCESS_INSTANCE_ID = pf.process_instance_id
              INNER JOIN FLDM.DM_SUBSCRIPTION s
                 On S.Subscription_Id = Pis.Subscription_Id
              Where Pf.Process_Instance_Id=496628
    if i use fully qualified name like pf.Consultant_Staff_Id   query  is returning  correct value
    but if i remove table before the column it is returning 0 .
    My question is why am i not receiving error like "column ambiguously defied " ,
    with out fully qualified name.what is the reason for this behaviourEdited by: vijayp on Jan 21, 2011 5:53 PM

    I can not tell you why ... but I can tell you that in the Best Practice for SQL and PL/SQL white paper written by Bryn Llewellyn he advises always fully qualifying names.
    So rather than wondering how to not use "best practice" use it as then the problem goes away.
    Please do also keep in mind that your database version is so old it is in desupport and based on your version number could use a good patching if nothing else.

  • HT2500 Less a question, more a statement: finally given up on Mail.

    I just lost TWO entire DAYS because Mail keeps dropping passwords from the Key Chain. Apple refuses to even acknowledge the problem exists, let alone fixing it, so why should I persist? Fails to live up to expectations of Apple Customer Experience… dismally.
    Next: reviewing my decision to purchase iPhone 5.

    FYI, I've given up on Mail about 8 years ago.
    Web based email rules.
    However your welcome to run through this list of fixes, it might be a simple User Permissions/KeyChain reset is in order.
    Step by Step to fix your Mac

  • Saved state is not backuped in HyperV backup for Win2012R2

    I am trying to backup Win2012 R2 VM on my Win2012 R2 hyperv host using VSS.
    Before starting backup my vm is in Saved status.
    But after backup I cant find saved state file *vsv and *bin file in the backup so I am loosing whatever contains I have in saved state.
    Its working fine on Win2008. Is there any change in VSS/Saved state behavior in Win2012R2?
    hypervbackup is the utility  I used to run backup.
    Thanks In advance. Please let me know if more details are required.

    Hi Sir,
    According to your description , one thing came into my mind .
    In 2008/R2 , to backup VM online the hyper-v vss writer must be registered , if not , the VM will run into saved state untill accomplishing  the backup .
    http://blogs.technet.com/b/askcore/archive/2008/08/20/how-to-enable-windows-server-backup-support-for-the-hyper-v-vss-writer.aspx
    If you are in that case ( hyper-v VSS writer was not registered in 2008/R2 ) , actually the backup will perform a file based backup  , it will keep the VSV file there .  
    If you do same backup in 2012 R2 (select VM's folder then backup) , the VSV file should be backed up .
    In 2012/R2 you do not to manually register vss writer , you just need to select VM and backup .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Information about adf data model's state management in JSF/ADF faces?

    Dear All,
    i am developing an application with JSF/ADF faces + using
    adf data model (EJB, not adf bc)...
    i want to know more about state management of adf data model..
    1. under what condition, will the data in the binding context
    (methodIterator, variableIterator, accessorIterator..etc) be maintained accross
    http requests? say browse pageA.jspx, pageB.jspx, pageC.jspx..then do data
    in the corresponding pages saved somewhere else until session timeout?
    2. how do the binding context data be saved ?? http session?
    i can't find detail information in the adf bc dev guide and the adf dev guide..
    could anyone give me more information about this?? any better document??
    i have asked these question several times...but seem nobody can give me a
    full picture about the adf data model's state management....it is quite important
    in order to develop good application using adf data model.
    my company have brought oracle's support service...can i get these information
    through metalink (open a SR) ?? or actually no such information available ??
    btw, after playing with adf data model for a few weeks, i do find it is very
    hard to learn it... no complete document, information is just by providing example...
    adf data model do make:
    1. simple logic, supported by adf, more simple in coding
    2. simple logic, not supported by adf, more complex in coding
    3. complex logic, much more complex in coding...brain damage..
    lsp

    Hi,
    actually, these pages don't explain the state management about the adf data model's iterators?
    i want to know the state management of the iterators...for some iterators..it's
    state is maintained across requests...
    please see my previous post: ADF JSF data binding: why state maintained between requests? that Frank Nimphius said:
    "in this case its the iterator that survives the page navigation"...
    in the adf dev guide..section 5.5.5..it says: "Upon each request, the iterator bindings are refreshed to rebind them to the
    underlying RowSetIterator objects. By default, the rowset iterator state and the
    data caches are maintained between requests."
    in dev guide, it seems state is maintained for request for the same page, but not
    accross different pages. but in fact, the rowset iterator do survive...
    any detail document that write down the actual behavior of the iterators?
    thank you.
    lsp

  • Looking for a simple, standalone desktop app for web stats

    Well, I see they've changed the forums here again. SIGH.
    Anyway, a certain web host has eliminated AWStats from it's shared hosting. So I used Webmaster Tools. And now they've changed, and no longer display the simple visitors and hits. Google Analytics is way too complex for what I need, as are many of the stats programs I've looked into.
    I can download the daily Apache log files, that's no problem. Just looking for a small standalone program to import these and show the data like AWStats.  Any suggestions? The only other options would be to go to a different web host. Not a big deal overall, but I would rather not deal with the hassle, especially the migrating the database.

    Not sure of standalone 'desktop' apps. But check out http://www.openwebanalytics.com/ and Web Analytics in Real Time | Clicky  - they're both very intuitive and easy to use with a lot more simplified stats than Google Analytics.

  • Applescript works in Automator, but not when app is opened - running all if statements at once?

    Good evening,
    I am new to applescript and have a newbie question regarding the following code. I am making a simple automator program to pull songs from iTunes to practice dancing to. I've started the program with a script that lets the user choose which dances (s)he wants to be played. Then I use applescript to run if statements for each dance, checking whether the dance was selected (and is therefore in "danceList"). If so, I call a separate app to handle finding and playing that dance. The whole thing runs perfectly once opened in automator.
    The problem is when I try to open the app for the first time, whether in finder or in automator -- it calls every single one of the if-statement applications, all at once, before anything else has happened, and thus crashes itself. I have no idea why. I have searched various help sites, tried multiple variations of the if statement code (waltz is an example, below) and making the sub-applications into workflows, but that didn't help.
    Any advice or pointers in the right direction/to appropriate resources would be greatly appreciated.
    Here is a snippet from the relevant code: (didn't include it all, it's the same thing with more if statements)
    on run {danceList}
              if danceList is not null then
                        if danceList contains "Waltz" then
                                       tell application "waltz"
                                                      run
                                       end tell
                                       delay 110
                        else
                                       tell application "waltz"
                                                      quit
                                       end tell
                        end if
                        if danceList contains "Tango" then
                                       tell application "tango"
                                                      run
                                       end tell
                                       delay 110
                        end if
                        if danceList contains "Viennese Waltz" then
                                       tell application "viennese"
                                                      run
                                       end tell
                                       delay 110
                        end if
    ... and so forth ...
        end if
        return danceList
    end run

    Ok, let me try to do a better job explaining.
    I am making this app to simulate the rounds used in competitive ballroom dancing. It lets the user select the dances they will participate in, and then, for each dance, the program reads out the dance title, chooses all songs in iTunes with that genre, selects one at random, starts playing it, waits ninety seconds, and then stops the music. Then a twenty second pause before the next dance. I have made eleven apps for this; one is the main app that calls the others; the others are identical and handle the individual dances.
    Here is all the code I have:
    1. Ask for confirmation - dialogue box explaining app
    2. Get specified text - list of all dances, passed to first section of applescript
    3. First section of script - found on internet, altered for multiple selection; lets user choose multiple dances from a list (code is below pic)
    on run {input, parameters}
    choose item(s) from text
    input: text - items are delimited by paragraphs (returns/newlines)
    output: a list of paragraphs selected
              set output to {}
              set NameList to {}
              set NameList to paragraphs of (input as text)
      activate me
              set TheChoice to (choose from list NameList with title "Choose Dances" with empty selection allowed and multiple selections allowed)
              if TheChoice is false then
                        error number -128 -- cancel
              else
                        set output to TheChoice
              end if
              return the output -- pass the result to the next action
    end run
    4. Store value of variable as "danceList" - probably unnecessary but gave it a name
    5. Second section of applescript - what's been discussed previously, here's the full code:
    on run {danceList}
              if danceList is not "" then
                        if danceList contains "Waltz" then
                                  tell application "waltz"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Tango" then
                                  tell application "tango"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Viennese Waltz" then
                                  tell application "viennese"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Foxtrot" then
                                  tell application "foxtrot"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Quickstep" then
                                  tell application "quickstep"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Samba" then
                                  tell application "samba"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Cha cha" then
                                  tell application "chacha"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Rumba" then
                                  tell application "rumba"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Paso Doble" then
                                  tell application "paso"
                                            run
                                  end tell
                                  delay 110
                        end if
                        if danceList contains "Jive" then
                                  tell application "jive"
                                            run
                                  end tell
                                  delay 110
                        end if
              end if
              return danceList
    end run
    Here is the code for the waltz app. All the other dance apps are identical; they just search for different terms and have a different introduction spoken.
    1. Get specified text - "Next Round is the Waltz, etc."
    2. Speak text - reads text out loud so people know what's next
    3. Find iTunes tracks where genre is "Waltz" or "waltz"
    4. select these tracks
    5. store all these in variable "tracks"
    6. applescript to pick a random track from "tracks":
    on run {tracks}
              set maxNumber to count of tracks
              set randy to random number from 1 to maxNumber
              set chosenTrack to item randy of tracks
              return chosenTrack
    end run
    7. 3 second pause between speech and music
    8. Start playing the chosen track
    9. 90 second wait while track plays
    10. pause itunes (stop music)
    11. end app
    Again, my concern here is why the program runs fine once it has already been opened in automator (say second or third time running it there) but when run from finder, or first opened in automator, it calls all the dance apps at once. Then they give error messages because the speech section is first, and this can't be done simultaneously:
    Also, not sure if this is relevant, but I have a spinning gear in the corner of my mac that I believe is automator launcher, and it's showing all the apps as running even after I've ok'd their error messages and they have disappeared from the dock. I can exit waltz and danceApp, which are the two actually running, but the others won't stop until I've ended automator launcher in activity monitor.
    Hopefully this is more helpful. Thanks again.

  • Case Statement in Oracle Query.

    Hello Oracle Gurus,
    I need suggestion on whether I should use Case statement in Oracle queries.
    I have a sql statement which inserts the data by selecting data from other table. While selecting the data I have put a logic in the select statement for one column which is something like this and there are some more similar statements in the same query.
    CASE
                   WHEN (b.ACCOUNT = 'FIN' or b.ACCOUNT ='FIN ACC' or b.ACCOUNT like '%Global Eq%' or b.ACCOUNT like '%Flexible Bond%')
                   THEN
                        'MTM'
                             WHEN (substr(a.CTC,-3)='MTM')
                   THEN
                        'MTM'
                             WHEN (substr(a.CTC,-3)='AFS' or substr(a.CTC,-3)='HTM' OR substr(a.CTC,-3)='ACC' OR substr(a.CTC,-3)='HFI' )
                   THEN
                        'ACC'
                   ELSE
                                  'OTH'
              END,
    I wanted to get an suggestion about how much performance issue can I have due to this in my insert statement.
    Let me know if you need any other information.All comments are really appreciated.

    Hi,
    It's depends on the joins how you have performed with source table, stats and existing of indexes. If the volume of data is high - in case of any performance issue - why can't you perform the required things of logical conditions of data and popualte in one cluster so - that you can fetch out the chunks of required information with better way and in support with indexes.
    Let us know the ful query your working on
    Oracle version
    Explain plans - get it from dbms_xplan.
    - Pavan Kumar N
    - ORACLE - 9i/10g - OCP
    RHCE - Enterprize Linux 5.4

Maybe you are looking for

  • IPhone deletes new emails as soon as I click on them

    Lately when I've been receiving new emails, as soon as I click on them the iPhone immediately deleted it and opens a prior email instead. The new email that it just deleted is not in my junk or trash folders and when I log into my email account in my

  • How do I concatenate a SQL statement in JSP?

    why I'm getting compilation error from the following? <% String QueryAdd = "insert into SOIAdminUsers (PI,Name,Password,Admin) values (" %> <%= fPI %> <% + ", " %> <%= fName %> <% + ", " %> <%= fPassword %> <% + ", " %> <%= fAdmin %> <%"; %> thanks i

  • Creating a File

    I would like to create a file in the running of my applet. I am using the code: String FileName = "C:\\FileFolder\\FileFile"; File NewFile = new File(FileName); Then I try the code: try Boolean FileNew = NewFile.createNewFile(); catch(IOException IOE

  • Free java library to zip/unzip files

    Hi all, I would like to know if there is any java library to zip and unzip files that can be used freely. Thanks in advance, Miguel

  • Disable Very Fast Scrolling Acceleration

    Please, make update disabling very fast scrolling acceleration in Mountain Lion. Scrolling sould works like in Lion!!!