Reference of the called VI VI call

Hello

I have a main VI which calls one under VI. I'm using call in Subvi chain to get the reference of the main VI but sends output as a Subvi. Is this so call chain works because I had the feeling that call the string returns to the caller name Vi.

Please help me if someone knows something about it or guide me in the case have another solution to make better since adding a terminal and passing the reference to sub - VI is not our requirement.

Thanks in advance

Kind regards

Vivek

Hey Vivek!

Is this something like that you try to do?

Concerning

/ Thomas

Tags: NI Software

Similar Questions

  • Generation of multiple reports in subdirectories with the calls of the nested sequence

    I would like to generate different paths for multiple sequences, which are each managed in respect of execution of their own.  The following text displays the desired hierarchy:

    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\Test [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Sequence group [email protected]
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup1\Test tswan.html
    YYYY. MM DD. HH.mm.ss_MainSequenceFileName\YYYY. MM DD. HHmm.ss_SequenceGroup2\Test tswan.html

    where:

    Summary of the test contains only steps of the MainSequence of the MainSequenceFile
    SequenceGroup1 is a step of calling in MainSequence with new execution sequence (to generate a separate report).
    Note: The subsequences of the SequenceGroup are stored in a different sequence file.

    Example of a hierarchy:
    MainSequence-> SequenceGroup1-> SubSequence1, SubSequence2, SubSequence5
    MainSequence-> SequenceGroup2-> SubSequence2, SubSequence3, SubSequence4

    Would result in the following files:
    2010.08.18.10.00.00_MainSequenceFile\Test [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\SequenceGroup1 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test1.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.05.00_SequenceGroup1\Test5.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\SequenceGroup2 [email protected]
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.40.00_SequenceGroup1\Test2.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test3.html
    2010.08.18.10.00.00_MainSequenceFile\2010.08.18.10.45.00_SequenceGroup1\Test4.html

    My plan was to specify the base path using the StationGlobals (for support through several files), and then use the ReportOptions reminder in the file of the main sequence and the sequence of group file.  However, the recall of ReportOptions occurs only in the file in the main sequence.  If I create a ReportOptions reminder in the sous-suite file, it will never be called.  The ReportOptions of the MainSequenceFile callback is only called (since that's where the new run is launched I guess).

    In my view, that this hierarchy could be created using what follows:
    In the ReportOptions callback, get a reference to the sequence of the appellant step and determine if it is a SequenceGroup_SequenceCall (a type of special stage that I created), if so then use a different expression to generate the name of the subdirectory and report.  If this isn't the case, then use the expression of the main sequence.

    It would take to what follows the ReportOptions in MainSequence reminder:

    1 get the reference to MainSequence path of the report generated from the process template.  This could be done by storing the RunState.Root.Locals.ReportPath in a StationGlobals variable before the new sequence.

    • Is it possible to do without StationGlobals?  A SequenceCall parameter is most appropriate?

    2 get the reference to the call of the sequence step

    • Not sure what the best way to achieve this.  Please notify.

    3. date format
    The statement to get the start time of the SequentialModel is not called that after ReportOptions recall and the path of the file Expression determine report.  This is why the name of the report file timestamp may be different from the header of the report.

    • Why the statement to get the start time is not called as the first step of the sequence, and what are the consequences of this change in the sequential model?

    My questions are indicated by bullets that precedes.  Any help would be greatly appreciated!

    Hello

    I created a small example that should full fill your requests.

    Note: I have only tested in Mode Single Pass (No. Serialnumber request!)

    No StationGlobals when used. To get the parent folder data two queues when used in ReportOption callback

    Hope this helps

    Jürgen

  • VI server: Get references from the project which has a VI

    OK, here's a question for someone who knows the intricacies of the VI server:

    Is there a relatively easy way to get the reference of the project which has a VI?  (I don't know how that would play if there are multiple instances in different contexts, but maybe I'm overthinking it.)

    I see that there is a property "Own App" for the screws, which means that I could probably get to open projects from that and across these hierarchies of project.  That seems like a lot of effort, however.

    Thank you

    Jim

    @Ben: you are right, a VI, you get the reference of the call library, in the library, you can get the mention of 'a project', which is a "temporary project X" where X is an increment. But how to get the real owner of project?

    If the project is in memory, you can use the property to "Own the Application" of the VI then the 'Project.Active of the project"which is a private property.

    Christian

  • The call for a Subvi without providing a reference to the objects inside the Subvi?

    Hi all

    Suppose I have a Subvi, which trace Y1 vs X 1 and Y2 X 2 vs on the same XYGraph. See attachment.

    XYGraph the property node is linked to the XYGraph. It sets the style width and point line for each curve on the XYGraph.

    If I call this Subvi 4 times in other code (make 4 diferent XYGraphs (XYGraph1, XYGraph2, XYGraph3, XYGraph4, each of which contains two lines Y1 X 1 and Y2 X 2 vs vs)).

    Why would I need to create 4 different references for 4 different XYGraphs?

    The question is really this: If the property node is explicitly linked to the XYGraph in the Subvi, why the property node must be updated via a reference if the Subvi is called

    several times to several XYGraphs? Wouldn't the Subvi take entries, draw the curves of the XYGraph, update the nodes property and then produce a final with XYGraph

    update properties?

    If there is to be a Subvi why you a graph on its façade and manipulate its properties? You will have to manipulate the properties of the chart on the front of the top-level VI. You see a graph is not a type of data - it is a display object. What is passed through calling screw terminals are given, and in this case, the data type is an array of clusters containing a table of x values and an array of values there.

    If you want to do a Subvi that performs this operation you must pass it a reference to the curve that you want to handle that one of them has entered the data values.

    Mike...

  • Open the Panel front of the Subvi, which is called by reference in the EXE

    I want to open the façade of a Subvi when it is called. This sub - VI will open the façade of a Subvi third level. So, I want to go back to the main.vi the output of the subVIs.
    I can do successfully in the development environment.
    I call on the reference asynchornously screws. If the screw load when they are called and the calling VI awaits the release of the subvi.

    I am attaching the screenshot of the window subVIs properties customize.

    When I build the application, the executable file could not be opened the Subvi front panel, even if the paths of the subVIs are related.

    I also put the subVIs in the field "Always included" the build properties and the box "Remove front panel" is not selected.

    I join the project and screenshots of the parameters.

    If you had used the dialogues of error, you would have seen the paths of access to the VIs you build are not valid.  The screws are always included in the EXE file, so you don't have to do any special stripping of the VI EXE path.  A fake wire to your case structure determine the path, and it works perfectly.

    Just dual-band is the path if you try to get the EXE directory.

  • Need to delete local references in the context of unknown call

    Hello

    I was looking for the need to remove local references and came across this documentation,
    That means the calling context unknown? and how it causes no local references to remain allocated in the reference table that returns the native function?



    http://Java.Sun.com/docs/books/JNI/HTML/refs.html

    5.2.1 releasing local references

    You want to write a utility function that is called from unfamiliar contexts. MyNewString in Section 4.3 example illustrates the use of Delete-LocalRef to remove local references promptly in a utility function. Otherwise, there will be two local references that remains allocated after each call to the function MyNewString.

    How does it cause local references to remain allocated in the reference table that returns the native function?

    Because it does not refer to the JVM when it gets released, he returned to the context of unknown number, i.e. an another piece of native code in your JNI layer. If the references remain until the unknown caller's context returns to the JVM.

  • The file reference does not call. upload()

    OK it's going to take a little bit to explain but stick with me:

    I have two layers in the timeline, with no keyframes (coucheUn) and the other with a picture any key for every frame in the layer (layerB).
    In coucheUn, I have the script action to declare a variable of FileReference and I also declare and attach a listener object to the file reference.
    The listener object detects the event .onSelect to the FileRefernce (this event is generated when the service. the FileReference class's browse() is called - which opens a file browser and allows you to select a file). When called onSelect listener object executes the function. upload() FileReference which analyzes the file selected to a php script that downloads the file on my server.
    Function. for the FileReference browse() is called from an image in layerB. This is where the weird stuff that happens.
    When I test the movie the first time I enter the keyframe that calls the function. browse() all download routine work and the file is downloaded successfully. If I continue to the next keyframe (using navigation controls) and then navigate back and try to repeat the download process, then the file browser opens successfully, I select the file and then nothing happens. I have problems to identify the problem, for as far as I see it is as if it does never emit the onSelect event once the file is selected, which shouldn't be the case that the function .Browse works and a file is selected successfully. This would imply the php script does not work which is just ridiculous because it is a very simple script and it works the first time.
    Everyone has ideas, if you need more just information!


    UPDATE:

    Just did some tests and I'm completely confused, it's something the onSelect event. For some reason, it is not called / is not detected by the listener object. It's just weird because he calls good the first time you enter the frame, but if you navigate back, it is not detected. I checked the listener object was still in the scope of this framework and it seems to be, so I'm completely confused. The listener object is there and listening, the event that generated the onSelect event is executed but then never detected.

    Wooops, corrected just, said an another FileReference var on the following image with the same name, changed the name and works very well. Really really stupid of me.

  • Why is the "Called" property returns a name with *: Instance: 0?

    I'm building a VI that returns a list of all the side screws and their auxiliary screws, etc., a given top-level VI.  I first open a reference giving the path to the top-level VI, and then use the property 'Called' to get the subVIs. I then (in a loop) get all each Subvi conscripts by opening a reference using the name of the previous output called string. I noticed something when I ask for conscripts by the string name of XYZ.vi, that I get all its subvis, but I also have a XYZ.vi:Instance:0 name returned. What is the purpose of the proceeding: 0 and why is it happening? I like understand why Instance: x would never get added to the name, and also why VI would return his name in the property called? The VI is not defined as re-enterent or calling themselves dynamically or anything like that.

    Hope someone can explain that.

    Thank you

    James

    Hi ejb068,

    Hello and I hope that your well today.

    I continued to study your issue now I am back in the office, with my LabVIEW machine and resources OR. I concluded and also since found a confirmation of this issue.

    For a first level VI which has a few express screws on its block diagram, the names of the callee property currently includes a single instance of the upper level for each express VI VI.
    For example, if a VI has two ExpressVIs in the block diagram. The property called node will return two instances of the toplevel VI.

    First level VI = mainVI.vi

    Express VI = delay

    Result name called: mainVI:Instance0 (number lists according to the order screw Express are deleted from the diagram.)

    : first level VI name: InstanceX

    The problem is if you use VI server that this name is not valid - and causes a VI Server error. So I think it would be pretty safe filter these names.

    Please let me know what you think,

  • How to talk to the caller in a dynamic way called vi?

    Hello

    following situation:

    A vi is loaded dynamically into a secondary on the Panel of vi calling using the property node "running vi. The called vi needs to know by what vi It was called. That we can learn from some of the contributions to the discussion forum or to own experiences, appellant vi only name in the table given by the property node '"appellants names' if the vi is called"by reference. " If it is called by the property node 'execution vi', there seems to be no way of knowing the identity of the caller from inside the vi that is called. Is there at least a solution which makes use as a callee vi runs in a school on the Panel of the appellant? Is there a property to read the identity of the secondary, in that the called vi runs inside the called vi?

    Because my explanation has become probably already quite confused, I enclose a simple example.

    Peter

    I don't think that there is a way to do it because the VI in the Panel is concerned, it runs as a first level VI. A workardound is to use a control. During the call to the use of VI VI server to set the value of the control (with the value of the control-> the Set method) on behalf of the VI who calls the VI. True, it requires you to use a control, but it's not so bad of a workaround.

  • dbAdapter fails during the call to procedure package oracle object type in the parameter out

    JDeveloper 1.1.1.6

    Oracle 11g

    Existing package procedure is defined with the table of objects in input parameters and.

    Package myPackage

    procedure processRecon (numero_projet VARCHAR2,

    INST_ID select NUMBER,

    recon_type VARCHAR2,

    gis_design_stock GMPVT. GMPVT_GIS_DESIGN_STOCK_T,

    stock_uop GMPVT. GMPVT_STOCK_CODES_T,

    x_status OUT VARCHAR2,

    x_escalation OUT VARCHAR2,

    x_recon_error ON GMPVT. GMPVT_GIS_RECON_ERR_T) IS

    GMPVT. GMPVT_GIS_RECON_ERR_T is an array of GMPVT objects. GMPVT_GIS_RECON_ERR, who has 12 fields including the new I added it.

    I have added a new field to the GMPVT object. GMPVT_GIS_DESIGN_STOCK, where GMPVT. GMPVT_GIS_DESIGN_STOCK_T is a table of GMPVT. GMPVT_GIS_DESIGN_STOCK, no problems encountered during the test.

    Next, I added a new field for the object of type GMPVT. GMPVT_GIS_RECON_ERR, the following error below occurs when the DBAdapter is called

    < Summary > Exception occurred when the link was invoked. Exception occurred during invocation of the JCA binding: "JCA binding run operation 'processStockRecon' failed due to the reference: Interaction processing error." Error in the processing of applications from running. GMP_SOA_RECON_PKG. Interaction of the PROCESSRECON API. An error occurred during the processing of the interaction to invoke APPS. GMP_SOA_RECON_PKG. PROCESSRECON API. Cause: java.lang.ArrayIndexOutOfBoundsException: 12 check to make sure that the XML file containing the data of the parameter matches the parameter definition in the XSD. This exception is considered non reproducible, probably due to an error of modeling. ". The called JCA adapter threw an exception of resource. Please review the error message above carefully to determine a resolution. < / Summary >

    I confirmed that the XSD for the stored procedure has in fact change, which has been generated by JDeveloper as I refreshed the database adapter.

    The statement "Cause: java.lang.ArrayIndexOutOfBoundsException: 12" I can't that assume somehow SOA has 12 parameters but the 12 setting was not saved.

    Any thoughts on what I might be missing. I can provide more information if necessary.

    Hello

    This problem has been resolved. Not deployed SOA composite and then deployed to the server of the SOA. For some reason, SOA has been either you see does not changes in the file XSD (cached?) or the XSD was not get updated.

    Thank you

  • Iterating through a collection of cursor type give PLS-00306: wrong number or types of arguments in the call to "PUT_LINE '.

    I wrote the following anonymous block. He has a slider ""cur_total_tckt "who choose 6 columns."  A nested table 'total_tckt_colcn' is declared of type ""cur_total_tckt "."  In the dbms_output.put_line I want to print each item in my collection. It gives me the following error:

    PLS-00306: wrong number or types of arguments in the call to "PUT_LINE '.

    ORA-06550: line 29, column 2:

    PL/SQL: Statement ignored

    06550 00000 - "line %s, column % s:\n%s".

    I want to print all 6 columns of an element for 366 these elements.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    DECLARE
    CURSOR cur_total_tckt    
      is
      select t.ticket_id ticket_id, t.created_date created_date, t.created_by created_by, t.ticket_status ticket_status,
      t.last_changed last_changed, h.created_date closed_date
      from n01.cc_ticket_info t
      inner join n01.cc_ticket_status_history h
      on (t.ticket_id = h.ticket_id)
      where t.last_changed >= '6/28/2012 17:28:59' and t.last_changed < (sysdate + interval '1' day);

    type total_tckt_colcn
    is
      TABLE OF cur_total_tckt%rowtype;
      total_tckt_col total_tckt_colcn;
      total_coach_col total_tckt_colcn;
    begin
    total_tckt_col := total_tckt_colcn ();
    total_coach_col := total_tckt_colcn ();
      OPEN cur_total_tckt;
      loop
      fetch cur_total_tckt bulk collect into total_tckt_col limit 100;

      dbms_output.put_line(total_tckt_col.last);

      FOR i IN total_tckt_col.first..total_tckt_col.last
      loop

      -- dbms_output.put_line(total_tckt_col(i).ticket_id);          -- this line works
      dbms_output.put_line(total_tckt_col(i));                       -- this line gives error

      END LOOP;

      exit
      WHEN (cur_total_tckt%NOTFOUND);

      END LOOP ;
      CLOSE cur_total_tckt; 




    end;

    making reference to an element differs from the reference to a field in the record that is part of the collection.

    'dbms_output.put_line (total_tckt_col (i))' works if there is only a single element.

    will not work if this element has subcomponents. in your case it has subcomponents as fields in a record.

  • PLS-00306: wrong number or types of arguments in the call

    Hello

    I get this error when I run the script to test below:
    < font color = "red" >
    PLS-00306: wrong number or types of arguments in the call to 'SPLIT_AMOUNT '.
    < / make >

    This script is to test that the package below that I wrote. It seems to use the same 9 parameters of the same type:

    TEST SCRIPT+ *.
    declare
      TYPE g_table_number  IS TABLE OF  NUMBER INDEX BY BINARY_INTEGER;
      p_customer_trx_ids        g_table_number;
      p_total_amount_to_apply   NUMBER := 10;
      p_total_amount_to_adjust  NUMBER;  
       --
      p_result                  NUMBER;
      p_message                 VARCHAR2(200);
      p_payment_schedule_ids    g_table_number;
      p_terms_sequence_numbers  g_table_number;
      p_apply_amounts           g_table_number;
      p_adjust_amounts          g_table_number;
    begin
      p_customer_trx_ids(1)        := 23613;
      p_customer_trx_ids(2)        := 23614;
     hirap.split_amount
      (
       p_customer_trx_ids        
      ,p_total_amount_to_apply   
      ,p_total_amount_to_adjust 
      ,p_result                  
      ,p_message                
      ,p_payment_schedule_ids   
      ,p_terms_sequence_numbers 
      ,p_apply_amounts          
      ,p_adjust_amounts         
      );
      for i IN p_customer_trx_ids.FIRST .. p_customer_trx_ids.LAST LOOP
        dbms_output.put_line( 
        i || ' p_customer_trx_id: ' || p_customer_trx_ids (i) || ' p_apply_amounts(i): ' ||
         p_apply_amounts(i) || ' p_adjust_amounts: ' || p_adjust_amounts(i) );
      END LOOP;
    end;
    /
    PACKAGE+ *.
    CREATE OR REPLACE PACKAGE hirap
    AS
    TYPE g_table_number  IS TABLE OF  NUMBER INDEX BY BINARY_INTEGER;
    
    PROCEDURE split_amount
      (
       p_customer_trx_ids        IN   g_table_number
      ,p_total_amount_to_apply   IN   NUMBER
      ,p_total_amount_to_adjust  IN   NUMBER
       --
      ,p_result                  OUT  NUMBER
      ,p_message                 OUT  VARCHAR2
      ,p_payment_schedule_ids    OUT  g_table_number
      ,p_terms_sequence_numbers  OUT  g_table_number
      ,p_apply_amounts           OUT  g_table_number
      ,p_adjust_amounts          OUT  g_table_number
      );
    
    END hirap;
    /
    
    CREATE OR REPLACE PACKAGE BODY hirap
    AS
    PROCEDURE split_amount
      (
       p_customer_trx_ids        IN   g_table_number
      ,p_total_amount_to_apply   IN   NUMBER
      ,p_total_amount_to_adjust  IN   NUMBER
       --
      ,p_result                  OUT  NUMBER
      ,p_message                 OUT  VARCHAR2
      ,p_payment_schedule_ids    OUT  g_table_number
      ,p_terms_sequence_numbers  OUT  g_table_number
      ,p_apply_amounts           OUT  g_table_number
      ,p_adjust_amounts          OUT  g_table_number
      )
    IS
      l_total_pay_sched_amount   NUMBER;
      l_customer_trx_id          NUMBER;
      l_amount_due_remainings    g_table_number;
    
      CURSOR pay is
            SELECT p.payment_schedule_id
                  ,p.terms_sequence_number
                  ,p.amount_due_remaining
            FROM   ar_payment_schedules_all p
            WHERE  customer_trx_id = l_customer_trx_id
            AND    p.terms_sequence_number =
                  (SELECT  min(p1.terms_sequence_number)
                   FROM    ar_payment_schedules_all p1
                   WHERE   p1.customer_trx_id = l_customer_trx_id
                   AND     p1.status          = 'OP'
                  );
    
    
    BEGIN
      p_result := 0; -- means OK
    
      -- read the payment schedule for each transaction and store values and totals:
      FOR i IN p_customer_trx_ids.FIRST .. p_customer_trx_ids.LAST LOOP
        l_customer_trx_id          := p_customer_trx_ids(i);
        l_total_pay_sched_amount   := 0;
          BEGIN
            OPEN  pay;
            FETCH pay INTO
                   p_payment_schedule_ids(i)
                  ,p_terms_sequence_numbers(i)
                  ,l_amount_due_remainings(i);
    
            CLOSE pay;
            l_total_pay_sched_amount   := l_total_pay_sched_amount + l_amount_due_remainings(i);
         
          EXCEPTION WHEN NO_DATA_FOUND THEN
            fnd_file.put_line(fnd_file.LOG, 'Transaction does not exist for CUSTOMER_TRX_ID: ' ||
                              p_customer_trx_ids(i) );
            RAISE;
          WHEN OTHERS THEN
              RAISE;
          END;
      END LOOP;
    
      -- save values for each payment schedule based on total
      FOR i IN p_customer_trx_ids.FIRST .. p_customer_trx_ids.LAST LOOP
        p_apply_amounts(i)         := round
                                        (
                                         l_amount_due_remainings(i) / l_total_pay_sched_amount
                                         * (p_total_amount_to_apply + p_total_amount_to_adjust)
                                         , 2
                                        );
        p_adjust_amounts(i)        := l_amount_due_remainings(i) - p_apply_amounts(i);
    
      END LOOP;
    
    EXCEPTION
      WHEN OTHERS THEN
        p_result := 2;
        p_message := 'SQLCODE= ' || SQLCODE || ', SQLERRM = ' || SQLERRM;
        fnd_file.put_line( fnd_file.LOG , TO_CHAR(SYSDATE, 'HH24:MI:SS') || ' - ' || p_message );
    END;
    --
    END hirap;
    /
    Does anyone know what is the problem?

    Thank you
    Steve

    Hi, Steve,.

    The package contains a data type called g_table_number and also a procedure called split_amount.
    That does not create another data type (different), also called g_table_number, outside of the package, any more that it prevents you from creating another procedure, also called split_amount, also. When you want to reference the data type or the procedure outside the package from the package, then you must prefix the name with the name of the package. You do this correctly when you reference the name of the procedure of your anonymous block:

     hirap.split_amount
      (
       p_customer_trx_ids     ...
    

    Now you must do the same when you reference the data type:

    declare
      p_customer_trx_ids        hirap.g_table_number;
      p_total_amount_to_apply   NUMBER := 10;
      p_total_amount_to_adjust  NUMBER;
       --
      p_result                  NUMBER;
      p_message                 VARCHAR2(200);
      p_payment_schedule_ids    hirap.g_table_number;
      p_terms_sequence_numbers  hirap.g_table_number;
      p_apply_amounts           hirap.g_table_number;
      p_adjust_amounts          hirap.g_table_number;
    begin ...
    

    If you do not create another type of (different) data outside of the package, it will be the same as the type of data inside the packaging, even if the name is the same and they are defined in the same way. The package expects the arguments of the type hirap.g_table_number, so you have to give the hirap.g_table_number of type arguments.

  • The call for a process of application using JS by a button

    Hello

    I need to create a button that deletes the entire table All_References lines.

    I have created a new process of shared components "Delete_All_References" call, then set it to run on demand.

    PL/SQL block:

    Begin
    Delete from All_References;
    End;
    /

    In the HTML header of the page on which lies the button 'Remove all references' or P13_DeleteAllReferences, I entered in the following:

    < script language "JavaScript" type = "text/javascript" >
    function Delete_All_References()
    < /script >

    I have then entered the settings button, set the action to "defined by dinamic action", then added onchang = "javascript:Delete_All_References();" "in HTML table cell attributes.

    According to most of the tutorials when I click the button remove all the button of refereneces, my table should now get clear but it doesn't.

    Can you guys please help?

    Thank you and best regards,
    Diez

    The onchange event will work fine. Change the button back to a normal button instead of linking to a dynamic Action for now.

    The only other thing I see which can cause a problem is your call to the method itself.

    OnChange = "JavaScript:Delete_All_References();" »

    Need to replace...

    OnChange = "JavaScript:delete_all_references();" »

    The called javascript method is case-sensitive.

    Let me know if it suits it.

    Malay Keith
    www.blackhawkenterprise.com

  • 10g: re-raise the exception modifies the call stack

    Hello! I'm "Oracle PL/SQL Reference" and trying to re-raise the exception:
    begin
      dbms_output.put_line('line a');
      raise no_data_found;
    exception
      when others then
          dbms_output.put_line('line b');
          raise;
    end;
    Oracle reports exception was thrown on line 7, not 3. Apparently "re-raise" modifies the call stack, making it of no use: I can throw a new exception with the same success. It is not re - raise a conventional sense of the term. The question is, is there a possibility to actually STILL raise exception, without changing the call stack?

    A reference to 'Lines followed by Steven Feuerstein'

    Impact of multiple reminders

    Often, an exception occurs at the bottom of the execution stack. If you want this exception to propagate all the way to the PL/SQL block outside, it should be re-relief within each exception handler in the stack of blocks. Listing 3 shows an example of such an event.

    Code Listing 3: Re-raising exceptions to the outermost block on the stack

    CREATE OR REPLACE PROCEDURE proc1 IS
    BEGIN
       DBMS_OUTPUT.put_line ('running proc1');
       RAISE NO_DATA_FOUND;
    EXCEPTION
       WHEN OTHERS THEN
          DBMS_OUTPUT.put_line (
             'Error stack in block where raised:');
          my_putline (
             DBMS_UTILITY.format_error_backtrace);
          RAISE;
    END;
    /
    CREATE OR REPLACE PROCEDURE proc2
    IS
       l_str VARCHAR2 (30) := 'calling proc1';
    BEGIN
       DBMS_OUTPUT.put_line (l_str);
       proc1;
    END;
    /
    CREATE OR REPLACE PROCEDURE proc3 IS
    BEGIN
       DBMS_OUTPUT.put_line ('calling proc2');
       proc2;
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line ('Error stack at top level:');
          my_putline (DBMS_UTILITY.format_error_backtrace);
          bt.show_info (DBMS_UTILITY.format_error_backtrace);
    END;
    /
    

    When I run the code in Listing 3, I see the following result:

    SQL> exec proc3
    calling proc2
    calling proc1
    running proc1
    Error stack in block where raised:
    ORA-06512: at "SCOTT.PROC1", line 4
    Error stack at top level:
    ORA-06512: at "SCOTT.PROC1", line 11
    ORA-06512: at "SCOTT.PROC2", line 6
    ORA-06512: at "SCOTT.PROC3", line 4
    
    Program owner = SCOTT
    Program name = PROC1
    Line number = 11
    

    When I call the function backtrace in the program at the lowest level, it correctly identifies the line 4 of proc1 as the line where the error is mentioned. I then re - raise the same exception using the statement of RECOVERY. When the exception propagates to the outermost block, I call the backtrace function once again and this time it shows that the error was raised at line 11 of proc1.

    This behavior, we can conclude that DBMS_UTILITY. FORMAT_ERROR_BACKTRACE watch the running back to the last trace LIFT during its session. As soon as you issue a STIMULUS to a specific exception or re - raise the current exception, you restart the cell which produces the backtrace function. This means that if you want to take advantage of the DBMS_UTILITY. FORMAT_ERROR_BACKTRACE, take one of the following two approaches:

    Call the function backtrace in the section of the exception to the block in which the error was raised. This way you have (and can connect) that line number critical, even if the exception is re-relief more further upward in the stack.
    Avoid exception handlers in your carpet intermediate programs and call the function backtrace in the section except for the outermost program in your stack.

    Full article available here

    http://www.Oracle.com/technology/oramag/Oracle/05-Mar/o25plsql.html

  • Transfer the call.

    Hi all, I wonder if it is possible to transfer a call made on the iWatch at the iPhone connected 5s?

    There are times that I answer a call on my iWatch, but because she is a sale of a business call, I'm waiting for a call from the desire to make the appeal more private with my iPhone.

    TIA.

    Hello

    To transfer a call to your iPhone:

    • Speaking of your watch, drag upward on the phone icon in the lower left corner of the iPhone lock screen.
    • Or, if your iPhone is open, press the green bar at the top of the screen.

    It is also possible to check who you called on your watch and then press and hold the call so that transfer you it to your iPhone:

    • After receiving the notice of appeal, turn the digital Crown to scroll down and tap on answer on iPhone.

    More information:

    https://help.Apple.com/watch/#/apd32b6c5658

Maybe you are looking for