Is it possible to refer, or return to a part of a code

Hey all,.

Is there a way to goto or consult an earlier part of a code of another party. What I have is a window showing the Viewer 2 buttons, I would like to return to this screen, once they click on one of the two buttons. I've included the part of the code below, so if they, then click on the 'text' button, they read, that it is a program, then click Ok, it should go back to the first dialog box display. Any ideas?

display dialog ¬

Buttons 'Sample Text' {"text"2}

If the result back button is "what is it" then

display dialog ¬

"This is a program" buttons {"Ok"}

on the other

display dialog ¬

"Text text text.

Thank you, AppleTardis

Don't know if that's what you're looking for, but he will then leave your script at first, until you click "Cancel".

SG

¬ Display dialog box

Buttons 'Sample Text' {"Text1", "text 2"}

If the result is 'Text1' and then back button

¬ Display dialog box

"This is a program" buttons {"Ok", "Cancel"}

on the other

¬ Display dialog box

'Text text text' buttons {"Ok", "Cancel"}

end if

run me

Tags: Mac OS & System Software

Similar Questions

  • Made Oracle 6i LOV with ref cursor returned by a function of database

    Hi all

    I want to dynamically create a LOV in oracle forms 6i using the value of ref cursor returned by the function of database.

    is this possible?

    Using loop, I could able to display the values returned by the ref cursor, but how can I assign these values in the LOV?

    You will need to loop through your REF Cursor and assign each value to a group of registration of forms and then assign the Group Record to your LOV.  Take a look at the built-ins CREATE_GROUP, ADD_GROUP_COLUMN and ADD_GROUP_ROW in the help system of forms for more information about how to use these built-ins and examples of how to use them.

    Craig...

  • I just installed Lightroom CC 2015 and when it opens after 5 or 10 seconds video flashes up "" look at an overview of Lightroom and its features". It is not possible to cancel or return to Lightroom. I can just click on the play button and after that, Lig

    I just installed Lightroom CC 2015 and when it opens after 5 or 10 seconds video flashes up "" look at an overview of Lightroom and its features". It is not possible to cancel or return to Lightroom. I can just click on the play button and after that, Lightroom crashes.

    I uninstalled Lightroom, re-installed, but everything remains the same. After clicking on the play button, the video window is black. I can only kill Lightroom in the Task Manager.

    I use Windows 7.

    Thank you for helping me.

    OK guys, I have a solution. Press escape [ESC] to close the video window. Yes I know... It took less than hour of my time to understand this. If Adobe please, no matter how lucky you could focus on the provision of a useful product, not to invent unnecessary mess that have zero impact on your username? And Holy shit, employ a specialist UX, this is catastrophic!

  • How to read my ref cursor return user defined cursor type

    Hello
    I have the types defined as follows:
    TYPE MY_RECORD IS RECORD (
    COL1 TABLE1.COL1%TYPE,
    COL2 TABLE1.COL2%TYPE
       );
    
    TYPE MY_CURSOR IS REF CURSOR
    RETURN MY_RECORD;
    It is used as a return type in a stored procedure.
    I have a pl/sql block, where I make a call to MS that returns this cursor.
    How to read individual values for SP?
    SQL> create or replace package pkg
    as
       type my_record is record (col1 emp.empno%type, col2 emp.ename%type);
    
       type my_cursor is ref cursor
          return my_record;
    
       procedure p (cur out my_cursor);
    end pkg;
    /
    Package created.
    
    SQL> create or replace package body pkg
    as
       procedure p (cur out my_cursor)
       as
       begin
          open cur for
             select   empno, ename
               from   emp
              where   rownum <= 2;
       end p;
    end pkg;
    /
    Package body created.
    
    SQL> declare
       cur     pkg.my_cursor;
       e_rec   pkg.my_record;
    begin
       pkg.p (cur);
    
       loop
          fetch cur into   e_rec;
    
          exit when cur%notfound;
          dbms_output.put ('Empno: ' || e_rec.col1);
          dbms_output.put_line ('; Ename: ' || e_rec.col2);
       end loop;
    
       close cur;
    end;
    /
    Empno: 7369; Ename: SMITH
    Empno: 7499; Ename: ALLEN
    PL/SQL procedure successfully completed.
    
  • Is it possible to easily just change the first part of the path from one channel to the other?

    Due to a disk failure, the first part of the path to the library changed and disconnected so many photos that I've been using photoshop for more than 8 years. I am running windows 7 with photoshop elements 14. An example is the original path was 3 28 \\dualdisk02\bobk\myphotos\2010 and now the path is 3 28 \\dualdisk03\latk\myphotos\2010 is it possible to easily just change the first part of the path from one channel to the other?

    Go to the forum of elements

  • Is shuttle - possible to print values in the second part of the shuttle

    Shuttle took 2. parts. Is it possible to also load values iin database part of the shuttle at the beginning? For example the user sees in the first part of the books of the shuttle of database he loves, and in the second part of the shuttle books that he dislikes database. It could pass the books from one to the other part of the shuttle. Is this possible?

    Hello

    I set up a page the demo of the functionality you need: [http://htmldb.oracle.com/pls/otn/f?p=22619:4]

    This is based on the following tables:

    EMP
    EMPNO pk
    ENAME

    BOOKS
    BOOK_ID pk
    BOOK_NAME

    EMP_BOOKS
    EMP_BOOK_ID pk
    EMPNO fk
    FK BOOK_ID
    DATE_OUT

    What I did is:

    1 created a Select list with Submit called P4_EMPNO to allow you to choose an employee. The SQL code for this is:

    SELECT ENAME d, EMPNO r FROM EMP
    ORDER BY 1
    

    I have disabled the use of null values or extra.

    2 created a calculation before header which is subordinated to the P4_EMPNO = NULL, makes:

    SELECT EMPNO
    FROM EMP
    WHERE ENAME = (SELECT MIN(ENAME) FROM EMP)
    

    This just ensures that P4_EMPNO has a selected value when the page is loaded for the first time.

    3 created a shuttle component called P4_BOOKS that has a SQL query to:

    SELECT BOOK_NAME d, BOOK_ID r
    FROM BOOKS
    

    Note that I list all THE books here

    4 created a PL/SQL process that runs without condition "on the load - before the heading" with the following code:

    DECLARE
     vBOOKS VARCHAR2(100);
     vSEP VARCHAR2(1);
    BEGIN
     vBOOKS := '';
     FOR C IN (SELECT BOOK_ID FROM EMP_BOOKS WHERE EMPNO = :P4_EMPNO)
     LOOP
      vBOOKS := vBOOKS || vSEP || C.BOOK_ID;
      vSEP := ':';
     END LOOP;
     :P4_BOOKS := vBOOKS;
    END;
    

    This creates a string delimited by colon BOOK_ID values already selected for the current user and sets this string P4_BOOKS. The BOOK_IDs in this string, then say the features of the shuttle to move the items in the list on the right - then, all that is left in the list on the left is not selected for the user (so is your NOT IN)

    5. I have a button on the page called P4_SUBMIT_BUTTON that submits the page and redirects to page 4

    6 - Finally, I have a PL/SQL process that runs on submit, triggered by the submit button and has the following code:

    BEGIN
     DELETE FROM EMP_BOOKS
     WHERE EMPNO = :P4_EMPNO
     AND ':' || :P4_BOOKS || ':' NOT LIKE '%:' || BOOK_ID || ':%';
    
     INSERT INTO EMP_BOOKS (EMPNO, BOOK_ID, DATE_OUT)
     SELECT :P4_EMPNO, BOOK_ID, SYSDATE
     FROM BOOKS
     WHERE ':' || :P4_BOOKS || ':' LIKE '%:' || BOOK_ID || ':%'
     AND BOOK_ID NOT IN (SELECT BOOK_ID FROM EMP_BOOKS WHERE EMPNO = :P4_EMPNO);
    
    END;
    

    It removes the books of the EMP_BOOKS table for the employee, where they have been deselected (that is to say, inserted in the list on the left). It inserts then the books in the EMP_BOOKS table for the employee where the books appear in the right list BUT not included in the table EMP_BOOKS.

    And that's all!

    Andy

  • Is generator - possible to refer to the other layers?

    Hello people!

    I recently started to discover the generator. I have a document with about 30 layers with pictures, and then there is a top layer with a logo that should appear in all images. Is there a way that I can refer to this layer in the jargon of the generator, so that each of the 30 layers is generated with also this layer?

    Thanks in advance!

    I can tell that it's actually quite possible, due to the fact that it is possible to use layers for the generator. Just add the syntax for layer comp names rather than layers. Works like a charm!

  • PL/SQL - Call Out Ref Cursor returned by a stored procedure

    Hello

    I am creating a procedure where a Ref Cursor is defined as an OUT parameter, my question is how to shout that the Ref Cursor when I run for example here is how I want to call my EXEC sql command:

    EXEC film_not_in_stock (2,2,vcur);

    Here is the procedure:

    CREATE OR REPLACE PROCEDURE film_not_in_stock (p_film_id in NUMBER, p_store_id number, vcur ON SYS_REFCURSOR)

    IS

    News sys_refcursor;

    v_cur inventory.inventory_id%TYPE--ou is the same type of column inventory_id

    v_cur sys_refcursor;

    BEGIN

    Heart OPEN to SELECT inventory_id

    INVENTORY

    WHERE film_id = p_film_id

    AND store_id = p_store_id

    AND inventory_id NOT IN (SELECT inventory_in_stock (inventory_id) FROM dual);

    News of FETCH in v_cur;

    OUTPUT WHEN heart % NOTFOUND;

    END;

    /

    I know there are typos in the procedure, you will appreciate if you can help me to put it right.

    Thank you very much!

    Tonya.

    In fact, based on your previous post, function inventory_in_stock returns 0 or 1. If so, there are:

    CREATE OR REPLACE

    PROCEDURE film_not_in_stock)

    p_film_id in NUMBERS

    p_store_id in NUMBERS

    p_cur ON SYS_REFCURSOR

    )

    IS

    News sys_refcursor;

    v_cur inventory.inventory_id%TYPE--ou is the same type of column inventory_id

    v_cur sys_refcursor;

    BEGIN

    OPEN p_cur

    FOR

    SELECT inventory_id

    INVENTORY

    WHERE film_id = p_film_id

    AND store_id = p_store_id

    AND inventory_in_stock (inventory_id) = 0;

    News of FETCH in v_cur;

    OUTPUT WHEN heart % NOTFOUND;

    END;

    /

    SY.

  • slider Ref function return

    Hi, I wrote a function that returns a ref cursor, and I'm this assignment to resultset in java. I already have the ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY result set.
    but when I work with method resultset as rs.first (), rs.previous (), it shows an invalid operation on the single result farword set.
    can someone help me please... or tell me alternatives

    It's my code-->

    = function

    FUNCTION to CREATE or REPLACE getDetails (ename IN emp2.emp_name%type,choice in NUMBER)
    RETURN types.ref_cursor
    AS
    types.ref_cursor emp_cursor;
    BEGIN
    If choice = 0 then
    OPEN for Emp_cursor
    SELECT emp_id, emp_name, emp_address, salary, to_char (join_date, "DD/MM/RR '") from emp2
    WHERE emp_name like "%" | Ename | » %';
    end if;
    If choice = 1 then
    OPEN for Emp_cursor
    SELECT emp_id, emp_name, emp_address, salary, to_char(join_date,'MM/DD/RR') FROM emp2
    WHERE ename like emp_name | » %';
    end if;
    If choice = 2 then
    OPEN for Emp_cursor
    SELECT emp_id, emp_name, emp_address, salary, to_char(join_date,'MM/DD/RR') FROM emp2
    WHERE emp_name = ename;
    end if;
    RETURN emp_cursor;
    END;

    = the java code


    String query = "start?: = getDetails(?,?); end; « ;
    stmt = con.prepareCall (query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    stmt.registerOutParameter (1, OracleTypes.CURSOR);
    stmt.setString (2, uname);
    stmt.setInt(3,sel);
    stmt. Execute();
    RS2 = (ResultSet) stmt.getObject (1);
    RS2 = ((OracleCallableStatement) stmt) .getCursor (1);


    Rs2.next (single) here; works, if I use rs2.previous (); or rs2.first (); or rs2.last (); then it displays error
    said like this resultset is forword as long I have made scroll_insensitive


    What is the problem here
    can someone help me?

    Published by: user9130016 on February 18, 2010 20:42

    http://www.Google.ca/#hl=en&source=HP&q=Java+ResultSet+Oracle+REF+cursor+example&btnG=Google+search&meta=&AQ=f&OQ=Java+ResultSet+Oracle+REF+cursor+example&FP=f559cad6afc701c5

    The first link is very promising for what you need to do.

  • I have my serial number. Is it possible to get Lightroom return after uninstalling it?

    Help, please!

    I "refreshed" my computer and reinstall all my programs downloaded and purchased. Is it possible that I can re - download lightroom without purchasing again? I still have my download card and the serial number.

    Hi dustinb,

    Please click on the link below to download Lightroom on your computer.

    Download Photoshop Lightroom

    Once that is done, install and activate the application using the serial number.

    I hope this helps.

    ~ UL

  • Ref cursor returns null

    I have a proc as below.

    Input value will be in the format 123,9092

    But even if the database is set to, the da returns null

    Help, please

    PROCEDURE GET_HIP_MED_CENTER_DESCR (p_in_provnum in varchar2 ,p_out_HIP_MED_CENTER OUT ref_cursor)is
       p_provnum varchar2(100);
             BEGIN
             
    SELECT '''' || REPLACE(p_in_provnum,',',''',''') || '''' into p_provnum FROM DUAL;
             
             dbms_output.put_line(p_provnum);
             
      
     
             OPEN p_out_HIP_MED_CENTER FOR
              SELECT distinct PROVNUM,MED_CENTER
               FROM hip.ref_hip_med_centers 
               where  PROVNUM IN (p_provnum) AND MED_CENTER_DIPLAY is not null 
               order by MED_CENTER asc;
           
         end;
               

    You need the dynamic SQL statement:

    PROCEDURE GET_HIP_MED_CENTER_DESCR (p_in_provnum in varchar2 ,p_out_HIP_MED_CENTER OUT ref_cursor)is
       p_provnum varchar2(100);
             BEGIN
    
    SELECT '''' || REPLACE(p_in_provnum,',',''',''') || '''' into p_provnum FROM DUAL;
    
             dbms_output.put_line(p_provnum);
    
             OPEN p_out_HIP_MED_CENTER FOR
              'SELECT distinct PROVNUM,MED_CENTER
               FROM hip.ref_hip_med_centers
               where  PROVNUM IN ('  || p_provnum || ') AND MED_CENTER_DIPLAY is not null
               order by MED_CENTER asc';
    
         end;
               
    

    However, I would suggest using the collection.

    SY.

  • Is it possible to have a returned email serial number?

    My email was wrong initially due to typo, so I never received my serial number. Can I have the email of resentment?

    If you had a subscription to creative cloud using fake email ID, it is necessary to contact Adobe customer service and change it.

    You can use the links above to contact Adobe customer service. They rectified the Typo.

    However, for the time being, if you want to enable, disconnection of the creative cloud and sign in only once and then launch CC apps and check.

  • Is it possible to refer to an item and its properties in a variable?

    I have two custom components. Only always displays the value of currentState.

    <componants:wrUnapproved 
        itemCreationPolicy="immediate" 
        excludeFrom="SQLSERVER"
        id="wrUnapprovedComp" 
        wrIdLv="{parentApplication.wrId}" 
        userTypeCdLv="{parentApplication.userTypeCd}"
        width="100%" 
        height="354" 
        y="25"/>
       
       <componants:wrUnapprovedSqlServer
        itemCreationPolicy="immediate" 
        includeIn="SQLSERVER"
        id="wrUnapprovedCompSs" 
        wrIdLv="{parentApplication.wrId}" 
        userTypeCdLv="{parentApplication.userTypeCd}"
        width="100%" 
        height="354" 
        y="25"/>
      
    

    Now I want to refrence that being active and reference it dynamically

    As

    myComponanet.init ();

    where myComponanet is wrUnapprovedComp or wrUnapprovedCompSs

    Found my own answer

     

    var pp:Object = wrUnapprovedComp;

  • ProBook 4530 s: why do I need to return the old part, if I buy a new game?

    Well, I had a problem with my motherboard and replaced by a technician on-site in that HP sent me.

    The laptop is out of warranty, and I paid for the new motherboard + labor.

    However, when technology is introduced, he said it does not replace the motherboard unless I give him the old motherboard. He went on to say that it wascompany policy"and it won't let me keep all old, even though I pay for the new component.

    I was too tired t o argue with him, and he has replaced the motherboard and took the old motherboard.

    Reflection, it is quite absurd.

    It's like HP telling me "If you buy a new HP laptop, you will need to return your old HP laptop to us.

    It would make sense that I was getting a free replacement and the laptop was under warranty. It makes no sense when the laptop is out of warranty and that I pay for the replacement part.

    Think about it, when I bought the laptop, I obviously paid for the motherboard that came with the notebook. Then why HP becomes to take away from me?

    If I buy a new battery from HP store instead of amazon, I need to regain my old HP battery?

    If I buy a new keyboard on the HP store, should I return my old keyboard?

    I can give you the file number if you wish.

    Honestly, if it's the "strategy of the company", I never bother with another HP product again.

    HP has new motherboards. They sell the bad on the Chinese market and they appear on eBay or similar places. You have a new motherboard. If you can tell us the number of part of what you purchased we can tell you the "full" price and the "Exchange" of the party. They should definitely explain the options for you, but I think probably, they assume you want the lowest trading price.

  • I want to run a SWF in several screens, is - it possible a .swf can divided into different part and meet

    I have a flash file, I want to split application in 4 different part and individually run on 4 different screens (monitors o/p). If this is then can not possible I develop 4 rows of 4 different screens, but how they can jointly associated with one application.

    I have the application developed in Adobe Flash CC but no problem to switch technology. Please suggest...

    Thank you

    Maury

    Yes, you should be able to do it with a bit of CODE.

    Apply a transformation scene (scaleX = 2, scaleY = 2) and change the x / y position corresponding to higher positions left, upper right, lower left, lower right.

    The export of 4 different sovereign such as each of them show only a quarter of the original film after processing and implementation in different points of view.

Maybe you are looking for

  • get heat

    When I using my hand put z1 it becomes so much heat between 2 to 5 min

  • System DLL user32.dll was relocated in memory.

    DLL user32.dll system was moved in memory. The application will not work correctly. The move took place because the C: DLL \WINDOWS\system32\SHELL32.dll occupied an address box reversed for Windows system DLLS. The vendor supplying the DLL should be

  • USB does not work with flash or usb HD drives

    Lenovo T60 with XP Pro. USB flash drive appears in my computer, but must be formatted. If I click on the message in the format software generats the reader would noy be formatted. In properties-> volume are not met. If I click on fill to field will f

  • Unemployment insurance and threading issue

    I read this Article http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_setup... I want to do the same thing but not alternate entry point i.e. In my static main method, I want the same code as follows Publi

  • Language packs - Chinese simplified and traditional

    I am trying to install language packs traditional and Chinese simplified on Windows 7 Ultimate 64 bit.  When I go to Windows Update, there are 33 language packs not showing, but only the Chinese (traditional)... no Chinese (Simplified).  Am I missing