How To Kill Frames in PL/SQL?

I opened a frameset using
htp.framesetOpen;
htp.frame('sample link 1');
htp.frame('sample link 2');
htp.framesetClose;
I have a button in both links. When I click a button, I wish to return to a regular window display (no frames). How do I do this? Thanks in advance!

I'm pretty sure, I'm using SQL Navigator and the links reference other procedures. I just can't figure out how to kill the display of frames as I navigate from one procedure to another.

Similar Messages

  • How to kill a SQL Server DB?

    How can I completely kill, or delete a SQL Server DB?  I can't seem to detach it or take it offline.  I can't do anything with it at all.  I basically ran out of disk space while loading a table, and not it seems to be corrupted.  How
    can I completely kill the DB, so I can start over.  Every time I try to do something, it says, 'database is currently in use'.
    Thanks.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Rguy first your question was too confusing and then please
    dont mark every post as answer. You never kill SQL Server DB you drop it. Let the answer be one which is crisp and clear and really answers your question you can vote comments as helpful. A new user reading the thread would get confused as to what actually
    is answer
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to Kill a Stored Procedure?

    Sombody knows how to kill a stored procedure from another stored peocedure?
    I wanna know if exists a way to use therads in sored procedures.
    Best Regards

    1) You can't. Unless you code a mechanism yourself, but then since
    you can't thread Procedure calls that wouldn't help much.
    2) You can try using DBMS_JOB, if your not in a hurry to have your procedure finish.
    This is PL/SQL, not Java. You have to imagine all you get is a single thread running
    static methods. You can get away from everything being static by using the CREATE TYPE
    OBJECT stuff. but that doesn't help you thread your processes.
    I hope someone else can give you a different answer,
    Eric Kamradt

  • How to kill the hanged JFrame in swing?

    How to kill the hanged frame in swing?
    I am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPane.
    If one frame is hanged up then i could not work on others .
    I need to kill the hanged frame.
    Assist me.

    am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPaneWell, a JFrame, can't be added to a JDesktopPane, so your question doesn't even make sense.
    As was suggested earlier, if your GUI is unresponsive, then that means you are blocking the GUI EDT and the GUI can't respond to events. Don't do this.
    Read the Swing tutorial on Concurrency to understand why this happens and to learn the proper way to write GUI code so it won't happen.

  • How to kill oracle session?

    hi there,
    Aside from using tool like TOAD is there a syntax on how to kill oracle session?
    pls help.
    tnx...

    First findout the SID, Serial No for the Particular Session ( syntax is as follows )
    SELECT sid, serial#,osuser, program FROM v$session;
    (Killing the session on SQL Prompt)
    ALTER SYSTEM KILL SESSION 'sid,serial#';
    force to kill the session by adding IMMEDIATE
    ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE;
    OS Oracle Kill Session
    First findout the SID, SPID for the Particular Session ( SQL syntax is as follows )
    SELECT s.sid,p.spid, s.osuser ,s.program
    FROM v$process p, v$session s
    WHERE p.addr = s.paddr;
    Windows OS Command for kill Session
    orakill SID SPID
    Regs,
    Naresh

  • How to kill the applet

    how to kill the applet which in the browser.
    With Regards
    Santhosh

    my code.. this is main program for my applet. can find out errors. if not i will send the code to u.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    public class StyleEditor extends Applet implements ItemListener ,ColorListener
        public ImageButton imgBold,imgItalic;
        public ColorButton colorButton;
        public Choice fontFace,fontSize;
        public TextArea textArea;
        public Panel toolBar,textPanel;
        public String content;
        public Font font = new Font("Arial",Font.ITALIC,16);
        public ColorDialog dialog;
        public Frame f;
        public String sColor;
        public InputStream in;
        private int size[] = {8,10,12,14,18,24,36};
        private Label textLabel;
        public void init()
            try
                setLayout(new BorderLayout());
                toolBar = new Panel();
                toolBar.setBackground(Color.lightGray);
                Toolkit toolkit = getToolkit();
                in = StyleEditor.class.getResourceAsStream("bold.gif");
                byte bin[] = new byte[in.available()];
                in.read(bin);
                Image ibold = toolkit.createImage(bin);
                in = StyleEditor.class.getResourceAsStream("italic.gif");
                byte binc[] = new byte[in.available()];
                in.read(binc);
                Image iitalic = toolkit.createImage(binc);
                imgBold = new ImageButton(ibold);
                imgItalic = new ImageButton(iitalic);
                fontFace = new Choice();
                fontSize = new Choice();
                colorButton = new ColorButton();
                f = new Frame();
                dialog = new ColorDialog(f,"Color Chooser",true,StyleEditor.this);
                textLabel = new Label("             Edit Style   ",Label.CENTER);
                textLabel.setFont(new Font("Arial",Font.BOLD,18));
                String editColor= getParameter("editcolor");
                if(editColor!=null)
                    int eValue = Integer.parseInt(editColor,16);
                    textLabel.setForeground(new Color(eValue));
                String fontArray[] = toolkit.getFontList();
                content = getParameter("style");
                String fname = getParameter("fname");
                String fsize = getParameter("fsize");
                Boolean bBold = new Boolean(getParameter("bold"));
                Boolean bItalic = new Boolean(getParameter("italic"));
                sColor= getParameter("oldcolor").substring(1);
                int value = Integer.parseInt(sColor,16);
                colorButton.setColor(new Color(value));
                boolean bold = bBold.booleanValue();
                boolean italic = bItalic.booleanValue();
                imgBold.setSelected(bold);
                imgItalic.setSelected(italic);
                for(int i=0;i<fontArray.length;i++)
                    fontFace.addItem(fontArray);
    fontFace.addItemListener(this);
    for(int i=0;i<size.length;i++)
    fontSize.addItem(size[i]+"");
    fontSize.addItemListener(this);
    toolBar.setLayout(new FlowLayout(FlowLayout.LEFT));
    toolBar.add(imgBold);
    toolBar.add(imgItalic);
    toolBar.add(fontFace);
    toolBar.add(fontSize);
    toolBar.add(colorButton);
    toolBar.add(textLabel);
    textPanel = new Panel();
    textPanel.setLayout(new BorderLayout());
    textArea = new TextArea(content);
    textArea.setEditable(false);
    textArea.setBackground(Color.white);
    textArea.setForeground(new Color(value));
    if(fname!=null && fsize!=null)
    setStyleFont(fname,fsize,bold,italic);
    textPanel.add(textArea);
    add(toolBar,BorderLayout.NORTH);
    add(textPanel,BorderLayout.CENTER);
    imgBold.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    boldActionPerformed(ae);
    imgItalic.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    italicActionPerformed(ae);
    colorButton.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    if(!dialog.isVisible())
    dialog = null;
    dialog = new ColorDialog(f,"Color Chooser",true,StyleEditor.this);
    dialog.setLocation(colorButton.getLocation());
    dialog.setLocation(200,200);
    dialog.pack();
    dialog.setVisible(true);
    }catch(Exception e)
    System.out.println(e);
    public void setStyleFont(String fname,String fsize,boolean bold,boolean italic)
    int s = sizeValue(Integer.parseInt(fsize));
    fontFace.select(fname);
    fontSize.select(s+"");
    if(bold && italic)
    font = new Font(fname,Font.BOLD+Font.ITALIC,s);
    textArea.setFont(font);
    return;
    }else
    if(bold)
    font = new Font(fname,Font.BOLD,s);
    textArea.setFont(font);
    return;
    }else
    if(italic)
    font = new Font(fname,Font.ITALIC,s);
    textArea.setFont(font);
    return;
    }else
    font = new Font(fname,Font.PLAIN,s);
    textArea.setFont(font);
    return;
    public void itemStateChanged(ItemEvent e)
    String f = fontFace.getSelectedItem();
    String s = fontSize.getSelectedItem();
    font = new Font(f,font.getStyle(),Integer.parseInt(s));
    textArea.setFont(font);
    public void boldActionPerformed(ActionEvent ae)
    if(imgBold.isSelected())
    if(imgItalic.isSelected())
    font = new Font(font.getName(),Font.BOLD+Font.ITALIC,font.getSize());
    textArea.setFont(font);
    return;
    font = new Font(font.getName(),Font.BOLD,font.getSize());
    textArea.setFont(font);
    return;
    }else
    if(imgItalic.isSelected())
    font = new Font(font.getName(),Font.ITALIC,font.getSize());
    textArea.setFont(font);
    return;
    font = new Font(font.getName(),Font.PLAIN,font.getSize());
    textArea.setFont(font);
    return;
    public void italicActionPerformed(ActionEvent ae)
    if(imgItalic.isSelected())
    if(imgBold.isSelected())
    font = new Font(font.getName(),Font.BOLD+Font.ITALIC,font.getSize());
    textArea.setFont(font);
    return;
    font = new Font(font.getName(),Font.ITALIC,font.getSize());
    textArea.setFont(font);
    return;
    }else
    if(imgBold.isSelected())
    font = new Font(font.getName(),Font.BOLD,font.getSize());
    textArea.setFont(font);
    return;
    font = new Font(font.getName(),Font.PLAIN,font.getSize());
    textArea.setFont(font);
    return;
    public boolean isBold()
    return imgBold.isSelected();
    public boolean isItalic()
    return imgItalic.isSelected();
    public void colorSelection(Color currentColor)
    colorButton.setColor(currentColor);
    textArea.setForeground(currentColor);
    int r = currentColor.getRed();
    String red = Integer.toHexString(r);
    if(red.length()==1)
    red = 0+red;
    int g = currentColor.getGreen();
    String green =Integer.toHexString(g);
    if(green.length()==1)
    green = 0+green;
    int b = currentColor.getBlue();
    String blue =Integer.toHexString(b);
    if(blue.length()==1)
    blue = 0+blue;
    sColor = red+green+blue;
    public String getName()
    return font.getName();
    public int getFSize()
    switch(font.getSize())
    case 8 : return 1;
    case 10 : return 2;
    case 12 : return 3;
    case 14 : return 4;
    case 18 : return 5;
    case 24 : return 6;
    case 36 : return 7;
    default : return 0;
    public int sizeValue(int value)
    switch(value)
    case 1 : return 8;
    case 2 : return 10;
    case 3 : return 12;
    case 4 : return 14;
    case 5 : return 18;
    case 6 : return 24;
    case 7 : return 36;
    default : return 0;
    public void stop()
    System.out.println("Stop");
    destroy();
    public void destroy()
    imgBold=null;
    imgItalic=null;
    colorButton = null;
    fontFace =null;
    fontSize=null;
    textArea=null;
    toolBar=null;
    textPanel=null;
    content=null;
    font = null;
    dialog=null;
    f=null;
    sColor=null;
    in=null;
    textLabel=null;
    super.destroy();

  • How to kill Active Data Request in DSO

    Hi all,
    I have 2 dsos ( A, B). Data loads from A to B.
    Now I have deleted data from DSO B by using option delete data ( did killed one running request by turing the status to RED).
    when I try to load data again to DSO B, it is not allowing me to execute the DTP.
    Message is Request 257.617 is stil processing.
    I am SAP BI 7.0 environment.
    Please suggest how to kill active request ( I am not seeing it RSMO/SM37).
    I tried to use Zombie Request FM, it didnt worked.
    Thanks All,
    Jason

    Srinivas,
    Thanks for the reply.
    When I go RSRQ
    I can see the request , the exception it is showing is CX_RS_FAILED logged.
    SM51, when try to kill the process it says
    SAP System Message:
    Work Process restarted; session terminated
    Apologies for earlier post messages saying that I did nt saw the message in RSMO, I can see it is in yellow process.
    Please suggest how to kill the processes .
    Apperciate your response..
    Thank you
    Jason

  • How can I enable embedded pl/sql gateway to run on port 80

    I have a new 11G install on OEL 4.0, database created. I would like to be
    able to access the instance using the pl/sql gateway. Works fine with
    port 8080, the default. How to I enable it to run on port 80?
    I found this statement in the following docuementation:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb22pro.htm#ADXDB2500
    Using HTTP(S) on Nonstandard Ports
    By default, HTTP listens on a nonstandard, unprotected port: 8080. To use HTTP(S) on
    the standard port, such as 80, your DBA must chown the TNS listener to setuid ROOT
    rather than setuid ORACLE, and configure the port number in the Oracle XML DB
    configuration file /xdbconfig.xml.I have root priviledges on the box.
    I've tried setting the listener file permissions:
    chown root:dba /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    chmod 6775 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    Also put root in the dba group.
    The permissions turn out like this:
    -rwsr-sr-x 1 root dba 830854 Jun 17 21:04 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr
    I stopped the listener, bounced the database, and started the listener again.
    But it still shows the process being owned by oracle:
    oracle 29682 1 0 21:08 ? 00:00:00 /u01/app/oracle/product/11.1.0/db_1/bin/tnslsnr LISTENER -inherit
    Changing the port is easy:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    8080 2100
    At this point, I can access the apex home page with the following url:
    http://hostname:8080/apex/f?p=4550:10:1454849288245548
    I can than change it to port 80:
    SYS>begin
    dbms_xdb.sethttpport('80');
    dbms_xdb.setftpport('2100');
    end;
    2 3 4 5
    PL/SQL procedure successfully completed.
    SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    80 2100
    When I try to access apex with the following url:
    http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
    I get the following:
    Failed to Connect
    Firefox can't establish a connection to the server at hostname.com.
    Though the site seems valid, the browser was unable to establish a connection.
    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings
    * can interfere with Web browsing.I can set the port. Just can't talk to it.
    This is the entry from the listener log:
    <msg time='2008-07-03T15:40:09.741-06:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='hostname'
    host_addr='xxx.xxx.xxx.xxx'>
    <txt>TNS-12546: TNS:permission denied
    TNS-12560: TNS:protocol adapter error
    TNS-00516: Permission denied
    Linux Error: 13: Permission denied
    </txt>
    </msg>
    So this looks like an permissions problem. But where? I posted
    this on the apex forum here:
    Re: How can I enable embedded pl/sql gateway to run on port 80
    They suggested asking here.

    No, that thread did not provide the information that I need. Some more data:
    I have the port set to 8080:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    8080 2100
    At this point, I can access the apex home page with the following url:
    http://hostname:8080/apex/f?p=4550:10:1454849288245548
    I can than change it to port 80:
    SYS>begin
    dbms_xdb.sethttpport('80');
    dbms_xdb.setftpport('2100');
    end;
    2 3 4 5
    PL/SQL procedure successfully completed.
    SYS>SYS>select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
    HTTP-Port FTP-Port
    80 2100
    When I try to access apex with the following url:
    http://rmdcopslnx1.us.oracle.com/apex/f?p=4550:10:1454849288245548
    I get the following:
    Failed to Connect
    Firefox can't establish a connection to the server at hostname.com.
    Though the site seems valid, the browser was unable to establish a connection.
    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy? Incorrect settings can interfere with Web browsing.
    I can set the port. Just can't talk to it.

  • How to kill a job in SM37

    hi All,
             can someone wxplain me how to kill a job in SM37 which is delaed by 10,000 secs.
    cheers

    Hi Rase,
    goto SM37 and click on the active selection and enter the jobname and then click excute the particulr job should appear highlight the jobname then click on the stop iconthat appears on the taskbar( 3 rd from left)
    or goto SM50 Click on the process and select process->stop without core
    or
    set a running infopack of the chain (in RSMO) to red, thats will stop the chain (if there are no parallels, else set all parallels to red).
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

  • How to find leap year in sql query

    How to find leap year in sql query

    Select
    CASE
      WHEN result = 0 THEN 'Leap_Year'
      WHEN result <> 0 THEN 'Not_A_Leap_Year'
    END
    From (Select mod((EXTRACT(YEAR FROM DATE '2013-08-24')), 4) result FROM DUAL);

  • How to see dbms_output on oracle sql developer

    ned immediate help
    how to see dbms_output on oracle sql developer

    Hi,
    In sql developer u have a tab named DBMS Output in your result sheet. In that the first Icon is Enable DBMS Output. turn it on (After on it will give the message set serveroutput on in the sheet) and then run your code.
    In the code u have to use the dbms_output.put_line package.after running the code u have to see the result in DBMS Output tab.
    Regards,
    NTR

  • Cant sync my iphone contacts with yahoo, it says "unknown error (4)" and tells me to come back later, been doing it for months. Any ideas on how to kill it?

    cant sync my iphone contacts with yahoo, it says "unknown error (4)" and tells me to come back later, been doing it for months. Any ideas on how to kill it?

    Hey joshuafromisr,
    If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/HT1925
    or here:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Best,
    David

  • Timing how long a frame has been active

    I am trying to time how long a frame as been the active
    frame. Once the frame is displayed, if the user doesnt press a
    button to move to another frame after 6 seconds, the movie should
    jump back to the previous frame it was at. I think the setInterval
    function would be correct to use here to time the 6 seconds, but im
    not sure how to clear the interval after. Here is my logic, (i know
    this isnt correctly coded..)
    If a button was pressed before the 6 seconds has elapsed,
    then it would not jump to frame5, i think.. but im not really sure
    if this will work for what i am tryin to do, and if there is a
    simpler way. thanks for any advice

    onEnterFrame does NOT execute once when the frame is entered
    (despite its name). it executes repeatedly (ie, it starts a loop)
    starting when the frame that contains its code is entered and
    continues until the timeline to which it's attached no longer
    exists or a delete onEnterFrame is executed.
    in addition, you should always precede your setInterval()
    statement with a clearInterval(). especially, when your setInterval
    is attached to a frame. it's almost guaranteed that you'll have a
    mess on your hands if you use the code given by madmac, unless you
    add that clearInterval().

  • How to define variables in toad sql script editor - newbie

    I have just pull out the script of a Function and want to run it on toad SQL editor.
    I am little bit confused how to define the VARIABLEs here in toad SQL editor to run my script.
    SELECT
    NVL(SUM(debit), 0) - NVL(SUM(credit), 0)
    INTO l_accountBalance
    FROM
    GLP_VoucherMaster vm
    INNER JOIN GLP_VoucherDetail vd ON vm.GLP_VoucherMaster_ID = vd.GLP_VoucherMaster_ID
    INNER JOIN GLP_ChartOFAccounts coa ON vd.GLP_ChartOfAccounts_ID = coa.GLP_ChartOfAccounts_ID
    WHERE
    vm.isActive = 'Y' AND vd.isActive = 'Y'
    -- *** how to define variables in toad sql script editor ***
    AND vm.voucherDate < p_cDate
    AND coa.AccountCode LIKE p_accountCode || '%';
    Thanks
    w\

    Just prefix with a colon (:)
    SELECT   NVL (SUM (Debit), 0) - NVL (SUM (Credit), 0)
      INTO   L_accountbalance
      FROM           Glp_vouchermaster Vm
                 INNER JOIN
                     Glp_voucherdetail Vd
                 ON Vm.Glp_vouchermaster_id = Vd.Glp_vouchermaster_id
             INNER JOIN
                 Glp_chartofaccounts Coa
             ON Vd.Glp_chartofaccounts_id = Coa.Glp_chartofaccounts_id
    WHERE       Vm.Isactive = 'Y'
             AND Vd.Isactive = 'Y'
             AND Vm.Voucherdate < :P_cdate
             AND Coa.Accountcode LIKE :P_accountcode || '%';
    /:p

  • How to set alert mail contain SQL text activities

    How to set alert mail contain SQL text activities.
    In "Notification Templates" topic have no Available Tags about sql text. Can I send mail alert with SQL text?

    it should be text/plain, for a complete list refer
    http://www.freeformatter.com/mime-types-list.html
    Regards.

Maybe you are looking for

  • Error while deleting an order

    Hi, In the planning book  i could see an order displayed as a Replenishment delivery(stk trsf del)in the distribution demand(TLB Confirmed) KF and in the requirements view also i could see the same. the order was transferred from R3 and now is in the

  • Error in Unique Bill Number alg using SDK

    Hi friends, I am trying to generate unique bill no by taking InstallationDocumentNumberAlgorithmSpot i added pluged this algorithm (admin->installation options framework) But i am getting some error ,pls help me how to solve this. public class CMBill

  • Italicized duplicate keywords - How do I get rid of them permanently? - BRIDGE CS5

    In the keyword panel,I have the same keyword in several places in the hierarchy. I think some came in as legacy keywords, and others, I inadvertently created the same keyword twice. These duplicates appear in different parts of the whole keyword list

  • Problem with UIScrollBar

    I've used this many times in the same exact fashion, but I've never run into this problem: I've got a movieclip on which there is this code: onClipEvent(load) { loadVariables("content.txt", this); onClipEvent(data) { nextFrame(); In that movieclip: -

  • How do I drag an image icon or image from one panel to another panel?

    Please help. I know to need how to drag an image icon from one panel to the other. For example, the first panel would shows the image files that is inside my folder. How can i code it so that I can drag the image that appear on the first panel into t