How to popup a new forms window upon clicking Tools- Menu item

Hi,
I am new to forms. Can some one help me out with the following requirement?
I need to provide a new 'Menu' item in the Tools menu of a seeded form and when the user clicks on the new menu option, he should get a new window wherein he can input some values. Then I need to read these user input values and pass them to a custom stored procedure and invoke the stored procedure on the database. After the stored proc finished executing I need to re-query the block on the seeded form to populate the latest records.
Appreciate if some one can let me know the implementation steps for the requirement mentioned above.
Thanks
Sara
Edited by: 4377318 on Sep 2, 2008 2:33 PM

Hi OraMol,
Thanks a ton for your response! Looks like it is pretty simple, but can you please brief me on how to create this 'canvas' to accept parameters and requery the base block? I know its a silly question though but basically am new to forms :)
Sarah

Similar Messages

  • Help on how to call a new form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I used JFrame to the Parent...
    I used JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • Help how to Call a New Form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I extend JFrame to the Parent...
    I extend JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How do I open the photoshop window with the tools all around the screen?

    How do I open the photoshop window with the tools all around the screen?

    Try This:
    Hope this helps!
    Julia

  • I can only open a new tab by right clicking on an item in an already open tab and selecting open in new tab

    I can only open a new tab by right clicking on an item in an already open tab and selecting open in new tab. Nothing else works e.g. File, New Tab, or clicking on the New Tab to the right of the last tab.

    Uninstall the '''''Ask Toolbar'''''. It can cause that problem.
    *http://support.mozilla.org/en-US/kb/Uninstalling+add-ons
    *http://support.mozilla.org/en-US/kb/Cannot%20uninstall%20an%20add-on
    *http://kb.mozillazine.org/Uninstalling_toolbars
    If that does not solve the problem:
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    *See --> [http://support.mozilla.org/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    *See --> [http://support.mozilla.org/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How to get Safari to open window upon launch?

    I have my user login items set to launch Mail and Safari upon boot.  All is well with Mail.  However, now when I boot and Safari luanches it does not open a new window like it used to do, but simply shows in the Dock as launched.  I then have to click on it to open its homepage window.  It used to open the homepage window upon boot/launch.  How do I get this back?  Thanks!

    Go to ~/Library/Preferences. Move the com.apple.Safari.plist file to the Desktop.
    Restart your Mac.
    If that helped, move the .plist file to the Trash. If not, move it back to the Preferences folder.
    ~ (Tilde) character represents your Home folder.

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • How to open new browser window on click of command button

    Hi,
    We have a requirement to open an image in new window when a command button is clicked. Is there any sample explaining how to do that?
    Thanks in Advance,
    Pradeep

    Hi,
    I have to load an applet viewer in the new browser window. I have URL to the PDF.
    I ma able to load the applet viewer in new browser window using javascript. But I have to load the new PDF if the same window in already opened.
    The issue here is , i am loosing the window handle if the parent page is refreshed. I want to store the window handle in session scope variable and use the same.
    How do i update the session scope variable using javascript?
    Thanks and Regards,
    Pradeep

  • How to launch a new terminal window from the current Finder folder?

    Hello. I would like to have something like "DOS prompt here" menu item on the Finder popup menu, so that when I click it a new Terminal window is open and set to the respective directory.
    Any ideas?

    I don't know of a way to do that... You might be able to use FruitMenu
    http://www.unsanity.com/haxies/fruitmenu
    and create a script to launch for the contextual menu that does what you want.
    I just open Terminal (by clicking the icon on the Dock), type "cd " and drag the icon of the folder I want to go to to the terminal window (and Return). It's a few steps but not that bad.

  • How to create a new iTunes window ?

    I want to create a new iTunes window which will have only classical music.
    I tried first other options (you cannot move, only copy to playlist) :
    I created a subfolder and moved (actually copied) the tracks. I then try to erase the tracks from the main folder but it will also erase the tracks in the subfolder.
    I then try to uncheck (in the main) but then it uncheck also in the subfolder.
    How can I have these tracks in the subfolder and not in the main folder ?
    I guess if I create a new window it will work but I forgot how to do this (I knew it, I did it; I forgot how)

    Try a search

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • How to switch New TAB/New Window in click right menu link ? Firefox 4

    Hi there,
    I just installed Firefox4. I was near perfect although they switch Open in New Tab/Window position.
    I fixed yet when clicking right on a link using userChrome.css following settings :
    <pre><nowiki>
    #context-openlink {
    -moz-box-ordinal-group: 1 !important;
    #contentAreaContextMenu > * {
    -moz-box-ordinal-group: 2;
    }</nowiki></pre>
    Anyway i have still the same when right clicking on a bookmark/menu url - it show :
    Open
    Open in new Tab
    Open in new Window
    New bookmark...
    New folder...
    Anybody have an idea to set option in userChrome.ss 'cause atm i'm out.
    Thanks in advance,
    Golkran

    Try this:
    Open your userChrome.css
    <br>
    Then, insert this code:
    &#35;contentAreaContextMenu > #context-openlink { -moz-box-ordinal-group: 1 !important; }
    &#35;contentAreaContextMenu > * { -moz-box-ordinal-group: 2 !important; }
    &#35;placesContext_open { -moz-box-ordinal-group: 0 !important; }
    &#35;placesContext> menuitem[id="placesContext_open"] { -moz-box-ordinal-group: 0 !important; }
    &#35;placesContext> menuitem[id="placesContext_open:newwindow"] { -moz-box-ordinal-group: 2 !important; }
    &#35;placesContext> menuitem[id="placesContext_open:newtab"] { -moz-box-ordinal-group: 3 !important; }
    &#35;placesContext> * { -moz-box-ordinal-group: 3 !important; }
    Then restart Firefox.
    When I right click on a bookmark, I can see this order:
    Open
    <br>
    Open in new window
    <br>
    Open in new tab
    such as in Firefox 3.
    I also installed the Menu Editor add-on to change the order of this menu, but it works only with link within a page, not for bookmarks.
    With the previous code in userChrome.css file, it works also with right click on a bookmark.
    I hope this solution will be useful for many users, because I found more difficult to solve the problem.
    For Firefox Community: where can we find syntax such as the above?
    For example, for "placesContext", "placesContext_open:newtab" and so on?
    I tryed many combinations of parameters, before find the solution that solve the problem.
    Best regards.

  • Drill to link - How can integrate the new browser window inside the report

    Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
    So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
    This is right because on the manual is written:
    Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
    Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
    In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
    Any help will be appreciated
    Thanks
    Alex

    Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
    So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
    This is right because on the manual is written:
    Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
    Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
    In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
    Any help will be appreciated
    Thanks
    Alex

  • How to call a new Form with the same menu-settings then the calling Form

    In Form A we enable/disable some menu-items a runtime.
    When calling Form B we want to use these menu-settings.
    With other words: we don't want to enable-disable this item at eachr Form startup, but once, when the app. is started.
    Somebody an idea ?

    yes.
    bye
    TPD

Maybe you are looking for

  • Dual Boot Windows 7 and Arch with Shared NTFS partition.

    Hi everyone, I want to dual boot windows 7 and Arch Linux. Here's the problem... my hard drive isn't the biggest.  I want to store all my music, movies, pictures, and documents on partition that both linux and windows can access seamlessly. I want th

  • Query SAP BW via BO universe - Dialog user / Communication user

    Hi, Context: XI 3.1 Web Intelligence on top of SAP BW. Can a communication user be used in the universe connection? or does it need to be a dialog user? Possibly the following post already gives the answer: Change BEX query to run in background proce

  • Simply Dividing in Hyperion Reports

    Is there a way to divide two cells that contain sum formulas in Hyperion Reports? Example: Col ARow 1 dataRow 2 dataRow 3 dataRow 4 sum ([A,1],[A,2])Row 5 sum ([A,2],[A,3])Row 6 [A,4]/[A,5]

  • EXIF Info issue with Teleconverters

    Hello everybody, I think I have a problem with EXIF in Aperture (version 3.4.3) on my MacBook Pro (OS 10.8.3). For photos taken with Canon lenses plus 1.4/2.0 Canon teleconverters both Camera Info and EXIF Info are displaing all the information corre

  • XML too big?

    i'm doing a web page with my restaurant's menu. I'm using a tree component, have done the AS and the XML and everything seemed to work while testing with only a couple items inside the xml. However - after having populated the XML with all the data,