Array execution with a function

I have a series of buttons on the screen and they all have some sort of animation associated with them.  All of these buttons are in a symbol titled "MainMenu"  I would like to create an array and place all the button names in the array.  Then using a function when you press any button on the menu all the buttons will stop animating.
I put this on the stage under document.compositonReady action...
var buttonReset = ["steelBTN", "glassBTN", "woodBTN", "waterBTN"];
sym.resetGlobal=function(){
for(i=0; i<buttonReset.length; i++){
sym.getSymbol("MainMenu").getSymbol[buttonReset[i]].stop("off");
And this is on the button under the click action...
sym.getComposition().getStage().resetGlobal();
when I don't use an array and just use this...
sym.resetGlobal=function(){
sym.getSymbol("MainMenu").getSymbol("steelBTN").stop("off");
sym.getSymbol("MainMenu").getSymbol("glassBTN").stop("off");
sym.getSymbol("MainMenu").getSymbol("woodBTN").stop("off");
sym.getSymbol("MainMenu").getSymbol("waterBTN").stop("off");
...everything works so I am thinking maybe I am not creating the array correctly in my first example?  Any help would be appreciated.
Thanks in advance for the help.

Actually if you want to reset all your buttons at once this should work:
var buttonReset = ["steelBTN", "glassBTN", "woodBTN", "waterBTN"];
function resetBtn(){
for(i=0; i<buttonReset.length; i++){
sym.getSymbol("MainMenu").getSymbol[buttonReset[i]).stop("off");
resetBtn();

Similar Messages

  • How to find the number of data items in a file written with ArryToFile function?

    I have written an array of number in 2 column groups to a file using the LabWindows/CVI function ArrayToFile...Now if I want to read the file with FileToArray Function then how do I know the number of items in the file. during the write time I know how many array items to write. but suppose I want the file to read at some later time then How to find the number of items in the file,So that I can read the exact number and present it. Thanks to all
    If you are young work to Learn, not to earn.
    Solved!
    Go to Solution.

    What about:
    OpenFile ( your file );
    cnt = 0;
    while ((br = ReadLine ( ... )) != -2) {
    if (br == -1) {
    // I/O error: handle it!
    break;
    cnt++;
    CloseFile ( ... );
    There are some ways to improve performance of this code, but if you are not reading thousands of lines it's quite fast.
    After this part you can dimension the array to pass to FileToArray... unless you want to read it yourself since you already have it open!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Error thread java : problem with the function "resume 0x***"  (forum sun)

    One problem with the function of jdb occured when I tried to use it to
    pilot the processor with differents threads. In fact, I use a simple example with 2 threads.
    I stop the two threads with two breakpoint, and I want to resume one or the other (with the function "resume 0x****"), the one wich I resumed stop again on the breackpoint and I decide again to resume one or the other. All of that to obtain a tree of execution.
    I give you the code of the class and the code of jdb.
    CLASS: (it's just a object Room with a variable degre that I increment and decrement with two threads increase and decrease)
    public class Test{
         public static void main(String[] args){
              Room r = new Room();
              decrease de = new decrease(r);
              increase in = new increase(r);
              de.start();
              in.start();
    class Room {
         private volatile int degre=20;
         public void more(){
         degre += 4;
         public void less(){      
         degre -= 3;
    class decrease extends Thread{
    private Room room;
    public decrease(Room r){
              room =r;
    public void run(){
    try{ 
         while (!interrupted()){ 
              room.less();
    catch(InterruptedException e) {}
    class increase extends Thread{
    private Room room;
    public increase(Room r){
         room =r;
    public void run(){ 
         try{ 
              while (!interrupted()){
                   room.more();
    catch(InterruptedException e) {}
    JDB:
    Initializing jdb ...
    stop at Test:7Deferring breakpoint Test:7.
    It will be set after the class is loaded.
    runrun Test
    Set uncaught java.lang.Throwable
    Set deferred uncaught java.lang.Throwable
    >
    VM Started: Set deferred breakpoint Test:7
    Breakpoint hit: "thread=main", Test.main(), line=7 bci=30
    7 in.start();
    main[1] stop at room:16
    Set breakpoint room:16
    main[1] stop at room:20
    Set breakpoint room:20
    main[1] resume
    All threads resumed.
    >
    Breakpoint hit: "thread=Thread-0", room.less(), line=20 bci=0
    20 degre -= 3;
    Thread-0[1] threads
    Group system:
    (java.lang.ref.Reference$ReferenceHandler)0x10d Reference Handler cond. waiting
    (java.lang.ref.Finalizer$FinalizerThread)0x10c Finalizer cond. waiting
    (java.lang.Thread)0x10b Signal Dispatcher running
    Group main:
    (decrease)0x146 Thread-0 running (at breakpoint)
    (increase)0x147 Thread-1 running (at breakpoint)
    (java.lang.Thread)0x148 DestroyJavaVM running
    Thread-0[1] resume 0x147
    Thread-0[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] print degre
    degre = 24
    Thread-1[1] resume 0x146 //It's here the problem, thread 0x146 have to stop on the //next breakpoint of decrease but nothing happen
    Thread-1[1] resume 0x147
    Thread-1[1]
    Breakpoint hit: "thread=Thread-1", room.more(), line=16 bci=0
    16 degre += 4;
    Thread-1[1] clear
    Breakpoints set:
    breakpoint Test:7
    breakpoint room:16
    breakpoint room:20
    PS: I tried many other examples with other class and other kind of breakpoints, but, in any cases, on thread doesn't manage to resume. When I try with general resume (no specification of the thread), It works but it isn't interresting for me because I want to decide wich thread continue his execution.

    Hi,
    I have read the FAQ of the JMF.
    The problem was the jar files of the JMF were not in the JRE\BIN\EXT
    folder of the Java runtime!
    now it works!
    thanks
    Reg

  • How to make 1D Array but with only one element filled in Real Time

    Hi folks,
    here I am with another question. I want to implement an prediction discrete state space observer which is going to run on a CRIO real time target. I am going to do it just like in the example which comes with LV.
    I have some questions regarding the input and outputs which in the example those are "dummy".
    My model is a SISO model, but the function "Construct SS model" returns parameters (A,B,C,D Matrices) as 2D arrays, so once you connect the cluster model into the Discrete Observer model, it takes y and u as 1D arrays despite of the fact that there is a SISO model.
    I realized that the function I am using in the simulations, uses 1D arrays but with only one element filled:
    Does anyone knows how to implement such 1D arrays in Real Time? I guess the way to do it is preallocating one array of zeros of size 1, and then recirculating it through some SR, and replacing the element with my real input and output, but at the dummy.vi, they are using a simple "build array"
    function.

    Ok, I did it that way. But I am facing another problem right now...
    At some point the Discrete Observer return a NAN array, you will see the code in the code snippet?
    I get rid of that component by component, but the observer gets "stuck" in it. So my Control law is zero... but the state stimate is NAN.
    Also I am attaching the VI.
    I do not know why, since in the simulation program all runs well. any thoughts? Maybe the internal numeric precision of the State Space Model?
    Attachments:
    RT - Pole Placement + Complete Observer.vi ‏40 KB

  • Non-blocking execution with Pro*C/C++

    Hi readers,
    Is there any mechanism available through which Non-blocking execution with Pro*C/C++?
    I observe that Pro*C queries are hanged when the DB server (hardware) is down.
    I understand that OCI provides non-blocking mechanisms. Pro*C doesn't use this OCI functionality?
    Regards,
    RajaGopal Maddi

    You can use TAF to handle your db down scenario.
    http://www.oracle.com/technetwork/database/app-failover-oracle-database-11g-173323.pdf

  • Modifying Array position with IViewCursor

    I have array print with command
    Alert.show(''+ObjectUtil.toString(arrColl));
    (mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 4
    list = (mx.collections::ArrayList)#1
    length = 4
    source = (Array)#2
    [0] (Object)#3
    2008-03 = "1473"
    2008-03p = "40,19"
    desc = "Usuários únicos"
    [1] (Object)#4
    2008-03 = "1476"
    2008-03p = "-16,80"
    desc = "Novos usuários"
    [2] (Object)#5
    2008-03 = "53114"
    2008-03p = "39,25"
    desc = "Sessões"
    [3] (Object)#6
    2008-03 = "45"
    2008-03p = "-97,78"
    desc = "Tarifação"
    uid = "8B1A7D6D-62D1-C9BF-85DD-C538F40ED10D"
    sort = (null)
    source = (Array)#2
    I would like to modify the position of the Array, moving the
    last key for the beginning.
    thus:
    [0] (Object)#3
    desc = "Usuários únicos"
    2008-03 = "1473"
    2008-03p = "40,19"
    [1] (Object)#4
    desc = "Novos usuários"
    2008-03 = "1476"
    2008-03p = "-16,80"
    [2] (Object)#5
    desc = "Sessões"
    2008-03 = "53114"
    2008-03p = "39,25"
    [3] (Object)#6
    desc = "Tarifação"
    2008-03 = "45"
    2008-03p = "-97,78"
    my code source, but is not functioning. some tip of the
    error?
    /code]
    //Recebi o resultado e guarda em um array devido
    ordenação
    var arrColl:ArrayCollection = new ArrayCollection(event.data
    as Array);
    Alert.show(''+ObjectUtil.toString(arrColl));
    if (! runBefore) {
    runBefore=true;
    for (var i:int=0; i < arrColl.length; i++)
    // Get an IViewCursor object for accessing the collection
    data.
    var myCursor:IViewCursor=arrColl
    .createCursor();
    // Get the original collection length.
    var oldLength:int=arrColl.length;
    myCursor.seek(CursorBookmark.LAST);
    // The cursor is initially at the first item; delete it.
    var removedItem:Object=Object(myCursor.remove());
    // The cursor is at the (new) first item;
    // move it to the firs item.
    myCursor.seek(CursorBookmark.FIRST, 0);
    // Add removedItem as the first item.
    myCursor.insert(removedItem);
    var sort:Sort = new Sort();
    arrColl.sort=sort;
    // Refresh the collection view to apply the sort.
    arrColl.refresh();
    //Guarda na variavel o array
    dgReport.dataProvider = arrColl;
    [/code]

    No tip??

  • Importing shared variable (DLL) with simple function

    So I'm attempting to use a DLL I was givven to do something simple.
    string input--> DLL --> three string output.
    The .h file defines the function like so:
    struct FunctionName {
    char str1[5];
    char str2[4];
    char str3[2];
    It sems that the wizard is having an issue creating the datatype defined as the struct (which consists of three strings of length (5, 4, and 2).  I've read that sometimes you can go thru the wizard again and create a ctl, but when I did this the function wrapper vi dissapeared form the library it creates...
    I'm by no means a C programmer, and dont really remember much of it from school at all.
    I'm looking into this here: https://decibel.ni.com/content/docs/DOC-9080  thinking the answer might lie somewhere in the "adapt to type" selection (but this only seems available on the functions input?
    Thanks for any advice/suggestions
    -pat

    You've only shown the definition of a structure, not of a function. Can you provide the prototype for the function that uses that structure? Does the function expect three separate strings as parameters, or a struct containing three character arrays?
    If the function expects a struct containing three character arrays, each of fixed length, and the parameter is passed by pointer (this would be normal), then yes, you want to configure the parameter as Adapt to Type. You should create a cluster containing three elements, each of which is itself a cluster. The first of those clusters should contain 5 U8 values, the second 4 U8 values, and the third 2 U8 values. That will match the structure in your example. To get those to strings in LabVIEW, use cluster to array, and then byte array to string. You need to pass the empty cluster into the DLL call; the DLL call fills in the cluster and provides the values on the corresponding output. If you're dealing with C strings you should also know whether they include a terminating null, or if they're simply fixed-size character arrays.
    For more help, please post the entire real header file, and any relevant LabVIEW code.

  • Performance problem with OLE_FLUSH_CALL function module

    Hello Everyone,
    I am facing problem with OLE_FLUSH_CALL function module (execution is taking long time which is going to be dump error).
    Could you please help me in knowing solution for this problem?
    Thanking you in advance.
    Srinivas

    Hi Srinivas,
    the OLE_FLUSH_CALL does an RFC from ABAP backend to frontend UI. So high execution time could result from high network time, for example latency between UI and backend server.
    How many UI interaction steps did you measure for the trace above? Ideally, there should only be one OLE_FLUSH_CALL per user interaction step. If its more, the application is not written in an optimized way.
    Best Regards, Randolf

  • Numeric Operations with transfer functions

    Dear Friends,
           I am relatively new to labview and i am using labview 8.2. I wanted to know that how can i perform a numeric operation between an array and a transfer function. I am attaching a sample of what I have been able to do, but the output is in the waveform pattern. Can anyone suggest a better way to perform this operations. Any suggestions will be of great help.
    Thank you.
    Shashank

    Shank,
    What is the operation that you are trying to do with Control Design? It is not very clear what the fnal goal. There are several ways to do things with LabVIEW that would be more suited for your final problem.
    Just to let you know, as of LabVIEW 8.5, we introduced basic operations of models (that can be in State-Space, Transfer Function and ZPK). So, you can multiply a scalar value by a Transfer Functions model, giving a transfer function scaled back. Before, you would need to do operations with that.
    Additional to this, also consider using Simulation Module 8.2 for changing the paramters on the fly. I noticed that you are trying to use the Simulation Signal Express VI and try to simulate the transfer function on the fly. This is EXACTLY what you can do with Simulation Module, but in a more natural way. If you have LabVIEW 8.5, the Control Design Toolkit and the Simulation Module are part of the same product called Control Design and Simulation Module 8.5.
    Hope this helps. Let me know if I can of more assistance!
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • Using BC4J to pass an array to a stored function

    I have successfully implemented the use of BC4J view objects to pass and retrive values from a stored database procedure/function as per Steve Muench's paper.
    What I am having difficulty achieving is passing through an array to a stored function. I have a multiple selection table where on submit, I retrieve the selected values and want to be able to put them in a array and pass them to a stored function.
    At the database level, I have created a nested table with one of the columns being a table of numbers. A wrapper function is called with the array type being one of the in parameters and the database updated.
    I am however having no luck building the array in my Java code and passing it to the database through an expert-only view object.
    I have :
    1. Database wrapper function has an extra parameter for the table of numbers (number(10))
    2. Changed the view object query to include the extra parameter (of type Number[])
    3. Changed the relevant view object and transaction Impl classes to pass through an array of oracle.jbo.domain.Number
    4. Update my test module class to
    -- Test module class
    String _am = "transaction2.transaction2module", _cf = "Transaction2ModuleLocal";
        String str1 = "String1";
        String str2 = "String2";
        String str3 = "String3";
        Number[] num4 = {new Number(1001),new Number(1002),new Number(1003),new Number(1004)};
        Transaction2Module testModule = (Transaction2Module)Configuration.createRootApplicationModule(_am,_cf);
        TxnResultType txnResult = testModule.getTxnResult(str1,str2,str3,num4);
    -- Transaction2ModuleImpl.java
    public ProcessTransactionImpl getProcessTxn()
        return (ProcessTransactionImpl)findViewObject("ProcessTxn");
      public TxnResultType getTxnResult(String p1, String p2, String p3, Number[] p4)
        return getProcessTxn().getTxnResult(p1, p2, p3, p4);
    -- ProcessTxnImpl.java
    public TxnResultType getTxnResult(String p1, String p2, String p3, Number[] p4)
        setWhereClauseParam(0,p1);
        setWhereClauseParam(1,p2);
        setWhereClauseParam(2,p3);
        setWhereClauseParam(3,p4);
        executeQuery();
        return ((ProcessTransactionRowImpl)first()).getTxnResult();
      }but the error message given is :
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select transaction_wrapper(:0, :1, :2, :3) as txn_result from dual
    java.sql.SQLException: Invalid column type
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
    Can anyone offer some suggestions ?
    Thanks,
    Brent

    Thanks for the reply - I had nearly given up on this ! I did add the setWhereClause statement as you suggested
    setWhereClause("p1=:0 and p2=:1 and p3=:2 and p4=:3");but still got the same error. I have posted the entire output which may help you see what's still going wrong (hopefully!)
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. 
    Statement: SELECT * FROM (select test_array(:0,:1,:2,:3) as result from dual) QRSLT  WHERE (p1=:0 and p2=:1 and p3=:2 and p4=:3)
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
              QueryCollection.java:541
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
              ViewObjectImpl.java:2650
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
              ViewRowSetImpl.java:523
         void oracle.jbo.server.ViewRowSetImpl.executeQuery()
              ViewRowSetImpl.java:564
         void oracle.jbo.server.ViewObjectImpl.executeQuery()
              ViewObjectImpl.java:2614
         java.lang.String mypackage5.TxnViewImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TxnViewImpl.java:25
         java.lang.String mypackage5.TransModuleImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TransModuleImpl.java:29
         void mypackage5.TestArray.main(java.lang.String[])
              TestArray.java:17
    ## Detail 0 ##
    java.sql.SQLException: Invalid column type
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
              DBError.java:229
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int)
              DBError.java:292
         void oracle.jdbc.driver.OraclePreparedStatement.setObject(int, java.lang.Object, int, int)
              OraclePreparedStatement.java:2782
         void oracle.jdbc.driver.OraclePreparedStatement.setObject(int, java.lang.Object)
              OraclePreparedStatement.java:2905
         boolean oracle.jbo.server.ViewRowSetImpl.bindParameters(java.lang.Object[], java.sql.PreparedStatement)
              ViewRowSetImpl.java:1313
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
              QueryCollection.java:511
         void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
              ViewObjectImpl.java:2650
         void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
              ViewRowSetImpl.java:523
         void oracle.jbo.server.ViewRowSetImpl.executeQuery()
              ViewRowSetImpl.java:564
         void oracle.jbo.server.ViewObjectImpl.executeQuery()
              ViewObjectImpl.java:2614
         java.lang.String mypackage5.TxnViewImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TxnViewImpl.java:25
         java.lang.String mypackage5.TransModuleImpl.getResult(java.lang.String, java.lang.String, java.lang.String, oracle.jbo.domain.Number[])
              TransModuleImpl.java:29
         void mypackage5.TestArray.main(java.lang.String[])
              TestArray.java:17
    Exception in thread main
    Process exited with exit code 1.I had to do a new example as I could not find the code I was using earlier. This is my java class
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.Number;
    import mypackage5.common.TransModule;
    public class TestArray
      public static void main(String[] args)
        String _am = "mypackage5.TransModule", _cf = "TransModuleLocal";
        String str1 = "String1";
        String str2 = "String2";
        String str3 = "String3";
        Number[] num4 = {new Number(1001),new Number(1002),new Number(1003),new Number(1004)};
        TransModule testModule = (TransModule)Configuration.createRootApplicationModule(_am,_cf);
        String txnResult = testModule.getResult(str1,str2,str3,num4);
        System.out.println("Result = " + txnResult);

  • [C] Passing an array in to a function [SOLVED]

    Hello, everyone,
    I'm writing a small unit testing library for myself for various C projects I've got on the go at the moment. Right now, it just consists of one function which accepts an array of tests (structs) and runs each one. The problem is that the array seems to disappear once I pass it in to the library function.
    The library's only test code at the moment is:
    #include "test.h"
    enum TestResult testPass();
    enum TestResult testFail();
    int main()
    struct Test tests[] = {
    {"pass", testPass},
    {"fail", testFail},
    testRun(tests);
    return 0;
    enum TestResult testPass()
    return PASS;
    enum TestResult testFail()
    return FAIL;
    test.h:
    #ifndef TEST_H
    #define TEST_H
    enum TestResult
    PASS,
    FAIL,
    struct Test
    char* name;
    enum TestResult (*test)();
    void testRun(struct Test*);
    #endif /* TEST_H */
    And test.c, which compiles to libtest.so:
    #include <stdio.h>
    #include "test.h"
    #define ARRAY_LENGTH(array) ((int) (sizeof(array) / sizeof(*array)))
    void testRun(struct Test* tests)
    enum TestResult result;
    int i;
    for(i = 0; i < ARRAY_LENGTH(tests); i++)
    if((result = tests[i].test()) == PASS)
    fprintf(stderr, ".");
    else if(result == FAIL)
    fprintf(stderr, "F");
    else
    fprintf(stderr, "?");
    fprintf(stderr, "\n");
    I get a single newline as output for running the test code. (that last fprintf() call). In other words, ARRAY_LENGTH(tests) == 0.
    I've tried several different ways of making the array accessible to the library, including making an extern variable in test.h (couldn't use the automatic array sizing declaration), making a static variable in test.c and initializing it with a function (the array still disappeared), and just passing it in to the function, as shown. What am I overlooking? The way I figure, an array is a pointer, meaning they (arrays) are always passed by reference, and I can therefore declare testRun() as taking a struct Test* without any using any complicated data structures to preserve the contents and make the client interface as simple as possible.
    Last edited by Michael C. (2010-04-10 21:28:02)

    Another widely used way of doing it, without having to pass the size, is to use null-terminated arrays.
    You probably know that strings are null-terminated arrays of characters?
    Well you can do the same with arrays that you define.
    You would have something like:
    struct Test tests[] = {
    {"pass", testPass},
    {"fail", testFail},
    {NULL, NULL},
    Then instead of using the size of the array, you just loop on its elements until you have the null element, then break.
    You just have to make sure you always put this null element at the end of your arrays. And that the null element is really a null element, I mean you can choose anything but of course it shouldn't be a possible normal value of the array.

  • Can I use Array Binding with a ExecuteDataSet or ExecuteReader methods?

    I want to use Array binding with selects. From the examples that I see so far it seems like everyone is showing the ExecuteNonQuery method. I wonder if I can use this functionality with a regular query that returns ref cursoros.
    Andrzej

    what is the error you recieve?

  • Error while replacing IF statements with DECODE function in procedure

    Hi All,
    I have created a procedure which has nested IF statements. Now I want to replace the IF statements with DECODE functions to improve performance.
    Procedure:
    IF (var_int_sev = '0')
    THEN
    var_sev := '2';
    ELSE
    SELECT sev
    INTO var_int_sev
    FROM errorconfig
    WHERE errorcode = var_errorcode;
    var_sev := var_int_sev;
    END IF;
    I converted the above IF statement into DECODE function as mentioned below:
    var_Sev := DECODE(var_int_sev,0,2,SELECT severity FROM errorconfig WHERE errorcode=var_ErrorCode)
    But it throws below error at the select statement used inside DECODE.
    Error(58,51): PLS-00103: Encountered the symbol "SELECT" when expecting one of the following: ( - + case mod new not null others <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date <a string literal with character set specification> <a number> <a single-quoted SQL string> pipe <an alternatively-quoted string literal with character set specification> <an alternativ
    Can someone help me in converting the IF to DECODE in the above case. Also how can we use a select statement inside decode.

    instead of trying to rewrite all your code and hoping that the performance will be better, it's a better option to investigate and find out which part of your application is slow
    read this:
    When your query takes too long ...

  • Can not see the option Execution with Data Change in the infoprovider?

    Hi team,
    i am using query designer 3.x, when i go into my bex brodcaster settings and schedule my report
    i can not see the option "Execution with Data Change in the infoprovider",
    i can only see 2 options
    Direct scheduling in background process
    create new scheduling
    periodic,
    is there any setting which i would be able to see the option "Execution with Data Change in the infoprovider"?
    kindly assist

    Hi Blusky ,
    check the below given link.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/ec/0d0e405c538f5ce10000000a155106/frameset.htm
    Regards,
    Rohit Garg

  • Not able to copying files/folders from one Document Library to another Document Library using Open with Browser functionality

    Hi All, 
    We have SharePoint Production server 2013 where users are complaining that they are not able to copy or move files from one document library to another document library using “Open with Explorer” functionality.
    We tried to activate publishing features on production server but it did not work. We users reported following errors:  
    Copying files from one document library to another document library:
    Tried to map the document libraries and still not get the error to copy files: 
    In our UAT environment we are able to copy and move folders from using “Open with Explorer” though.
    We have tried to simulate in the UAT environment but could not reproduce the production environment.  
    Any pointers about this issue would be highly appertained.
    Thanks in advance
    Regards,
    Aroh  
    Aroh Shukla

    Hi John and all,
    One the newly created web applications that we created few days back and navigated to document library, clicked on “Open with Explorer”, we get this error.
    We're having a problem opening this location in file explorer. Add this website to your trusted and try again.
    We added to the trusted site in Internet Explorer for this web application, cleared the cache and open the site with same document library but still get the same above error.
    However, another existing web application (In same the Farm) that we are troubleshooting at the moment, we are able click on “Open with Explorer”,  login in credentials opens and we entered the details we are able to open the document
    library and tried to follow these steps:
    From Windows Explorer (using with Open with Explorer), tried to copy or move a files to
    source document library.
    From Windows Explorer moved this file to another destination document library and we got this error.
    What we have to achieve is users should be able to copy files and folders using
    Open with Explorer functionality. We don’t know why Open with Explorer
    functionality not work working for our environment.  
    Are we doing something wrong? 
    We have referred to following websites.
    we hope concepts of copying / Moving files are similar as SharePoint 2010. Our production environment is SharePoint 2013.   
    http://www.mcstech.net/blog/index.cfm/2012/1/4/SharePoint-2010-Moving-Documents-Between-Libraries https://andreakalli.wordpress.com/2014/01/28/moving-or-copying-files-and-folders-in-sharepoint/
    Please advise us. Thank you.
    Regards,
    Aroh
    Aroh Shukla

Maybe you are looking for

  • Mini iPad Without Contrat. Help me ):

    I'm thinking about buy a mini iPad with cellular but I live out of the USA so I need to buy one without contract. How much will cost a mini iPad without contract?

  • SMFC Fan control

    I installed the SMFC fan control app to cool down my rmbp but im now paranoide about the defult settings so i deleted the program and shut down my mac and turned it on again hoping it's now at it's defult values... So i thought i'd reset the SMC too,

  • Pivot a table

    Hi All, I have this query: select columnA, columnB ,sum (Case when wType='FULL' then YEAR_1 else 0 end) as FULL_1 ,sum (Case when wType='FULL' then YEAR_2 else 0 end) as FULL_2 ,sum (Case when wType='PART' then YEAR_1 else 0 end) as PART_1 ,sum (Case

  • Problem after importing mail to Mail 2.1.3

    Hi, Imported mail from another G4 and all email within the Sent Items folder is displaying as from and date received instead of to and date sent. Anybody any ideas on how I can fix this? It's driving me potty!

  • Crash when starting Final Cut Express Hd (Version 3.5.)

    Hi folks, I have installed My Final Cut HD 3.5 to my MacBook (OSX 10.6.8, 2,26 GHz Intel Core 2 Duo, 4 GB DDR3 RAM) but alyway when I want to start Final Cut it crashes!!! I can start "Soundtrack" and "LiveType" with no problems, but not FInal Cut. F