Open form in new windows from another form

hi,
I have module for departments, and one for employees
and I have push botton, I need when_button_pressed to open form employees in new window ( to view the employees in that department)
I used this code
open_form('Employees')
but it gives me an error: FRM-30203: No items on block EMPLOYEES.
FRM-30407: Block must have at least one database item.
Block: EMPLOYEES
FRM-30113: Block must have non-query-only database item.
Block: EMPLOYEES
Created form file C:\Users\m\Desktop\New Folder\MODULE1.fmx
and when I click the button I get error FRM-40010 cannot read from employees
any help would be appreciated

but I created new module for employeesOk, so make sure that this new module contains a block EMPLOYEES, save the module as EMPLOYEE.fmb and create the fmx. Make sure the fmx is created and is located in a directory listed in the FORMS_PATH in your default.env (assuming you use 10G)

Similar Messages

  • Open swf in new window from parent swf

    I'm making a gallery for some flash banners that I had
    created in AS3. When I click on a "launch" button, I wanted the
    flash banner swf to open in a new window separate from the parent
    swf (the gallery). I also wanted the parent swf to remain open.
    Is this possible and what would the code look like for
    something like this?

    ok, I should've also mentioned this, the flash gallery I'm
    making is not for the web, it's more for just opening in a flash
    player. So I don't really want it to open in a new browser window,
    but rather a new swf window, if there is such a thing.

  • Open iviews in new window from detailed navigation context menu function

    hello,
    when we click in the detail navigation menu and in the context menu (because many of ours users are used to right click to open a link in a new window on the internet) on the functionnality "open in new window", the start page is always display instead of the corresponding iview ...
    could you tell me if there is a configuration into the portal to :
    1- suppress the function "open in new window" from the context menu in the detailed navigation !
    2- make the iview displayed into the new window really the iview desired !
    best regards,
    Olivier.

    Hi Olivier,
    The frist part is very precise. Not possible. Period. The reason is that the links are calling JS and not directly calling a http target.
    About the second part: Within the Light Framework, you create a Light Detailed Navigation. And in this case, the links are direct http links. So with that, you have what you want.
    For the Light Framework see http://help.sap.com/saphelp_nwce10/helpdata/en/43/0174a642406db7e10000000a422035/frameset.htm and around.
    Hope it helps
    Detlev

  • Opening link in new window from cfgrid

    Hi all, I am using the following code to create a link to a
    more info page for the selected row of data:
    <cfinput type="button" name="MoreInfo" value="More Info"
    width="100" tooltip="Click here to view more information on the
    selected data"
    onClick="getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'])">
    how can I make it open in a new window please?
    many thanks

    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'],
    "_blank")

  • Open URL in new window from page process

    I have a Page process that returns a URL (stored in 'l_val' field). Within this process, what is the best way to open that URL (stored in l_val) in a new window?
    thanks
    DECLARE l_clob clob;
    l_xml xmltype;
    l_val clob;
    BEGIN
    for c1 in (select clob001
    from apex_collections
    where collection_name = 'CENTRIS_IEP_VIEWER') loop
    l_clob := c1.clob001;
    exit;
    end loop;
    l_xml := xmltype.createxml(l_clob);
    l_val := dbms_xmlgen.convert(
    l_xml.extract(
    '//GetIEPUrlWithAuditResult/text()'
    , 'xmlns="http://www.iepdirect.com/CentrisWebServices/IEPViwer"'
    ).getstringval()
    , 1
    END;

    Hello,
    You can create a application process using this code and call that process from a javascript function and return that URL to the javascript function there you can open a popup easily.
    If you want you can open a popup from process, you can do that using htp.p() function, I had tried this once but what it does was, it opens a popup but it clears out my parent page, I was not be able to see anything on my parent page.
    Thanks
    Tauceef

  • Open pdf in new window from an iframe

    i have a web page with an iframe that displays pdf's chosen  from a drop down menu.
    i need to be able to make the current pdf open from the iframe into a new window.
    any ideas?
    thanks
    Larry

    heres an example.
    http://www.sixmanmagazine.com/cev test/CEV00152/CEV00152.html
    i uploaded that so you can see what i am trying to do.
    the left side is for video and the right side is the iframe.
    i want the content of the iframe that i want to display in a new window.
    Thanks for your time.
    larry

  • Force PDF to open in a new window from URL

    Is there a way to save a PDF so that it forces IE to open a
    new window when linking to it from a web site? I have no control
    over the HTML code on the site but I need the PDF to not hijack the
    window containing the link.

    Hello justaquestion1112,
    Thank you for your post.
    You should know that these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Please visit the following Acrobat forums for any questions
    related to the Acrobat family of desktop products:
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/
    Cheers,
    Pete

  • Open Page in new window from button

    I have a button that need to open up a page in new window when clicked. The page it needs to open is dynamic and stored in an item called 'P0_STUDENT_RECORD_LIST'.
    I added this to item pre-element text:
    <button onclick="javascript:PopupSTUDENT()">
    How can I get the function to open the page name stored in the item?
    Is there a different method I should use?
    function PopupSTUDENT(){  popUp('f?p=&APP_ID.:DYNAMIC_PAGE_NAME:&SESSION.::NO:::');}

    how about this:
    function PopupStudent()
    javascript:window.open('f?p=&APP_ID.:&DYNAMIC_PAGE_NAME.:&SESSION.::NO.:::','Popup','width=800,height=500,scrollbars=1,resizable=1');

  • Opening website in new window from Digital Editions

    I have links inside my .epub but when using a PC they either open inside the frame(with no ability to scroll or navigate) or tell you that you can open in new window.  The latter is fine but there's no clear demarcation as to when this will happen.  How do I make it so all links open to new window automatically?

    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'],
    "_blank")

  • Opening a pop up window from another pop up window

    Hi i'm having difficulty doing this, i'm redoing the business
    directory at this address:
    http://www.localeyenewspaper.com/business.html
    When you click on an ad, on some companies that have website
    i want to put a link below the ad in the pop up window and when the
    user clicks on it another pop up window opens with their site.
    However when i tried to do this instead of another window opening,
    the window with the advert went to the site, and it also stayed the
    same size without resizing to the dimensions i need to display the
    website, can anyone help me? Thanks

    <script type="text/javascript">
    <!--
    var newWin2;
    function MM_openBrWindow2(theURL,winName,features) {
    //v2.0custom
    newWin2=window.open(theURL,winName,features);
    //-->
    </script>
    <a href="
    http://www.dmpowerwashing.co.uk"
    class="style1"
    onclick="MM_openBrWindow2('
    http://www.dmpowerwashing.co.uk','dm','toolbar=yes,loc
    ation=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1200,height=
    800');return false;">
    Note I've renamed the function and the function call (and
    added "return
    false" to the latter.) This means you'll no longer be able to
    modify it
    using the OpenBrowserWindow behavior in the Behaviors window.
    emichael
    Stuart.hamilton wrote:
    > Here's the code for a pop up window that i want to link
    to another pop up.
    > Where would i put the new code in this? thanks
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=UTF-8" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > .style1 {font-family: Verdana, Arial, Helvetica,
    sans-serif}
    > -->
    > </style>
    > <script type="text/javascript">
    > <!--
    > function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    > window.open(theURL,winName,features);
    > }
    > //-->
    > </script>
    > </head>
    >
    > <body>
    > <p><img src="../ADs/Useful services
    /Power-washing2.png" width="394"
    > height="438" /></p>
    > <p><a href="
    http://www.dmpowerwashing.co.uk"
    class="style1"
    > onclick="MM_openBrWindow('
    http://www.dmpowerwashing.co.uk','dm','toolbar=yes,loc
    >
    ation=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=1200,height=
    > 800')">www.dmpowerwashing.co.uk</a></p>
    > </body>
    > </html>
    >
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • I can not open one more new window of FF by double-clicking on FF icon

    I can open only 1 browser window FF
    I want to open another.
    - I can open by selecting NEW WINDOW from the file menu. It's normal.
    - But I can't open by double-clicking on FF icon. The message happens in this case: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system."
    Before double-clicking on FF, I checked processs at Task Manager and just one process "firefox.exe" is running.
    I try many ways to troubleshoot this problem such as:
    - install FF again
    - run safe mode
    - Update all add-on
    - add new profile in Profile manager and run with new one
    - I follow the anwser of post: https://support.mozilla.com/en-US/questions/770203
    But can't fix this problem.
    I'm looking forward to your earliest reply
    Thank so much
    Tien Dao

    There is the Free  iTube Grabber which can capture almost any audio and/or video stream (it says here) but only works with Intel Macs.
    http://itube-grabber.en.softonic.com/mac
    Firefox Download Helper is also supposed to work, you have to be logged into YouTube first.
    There is also iTubeX which allows you to download videos (Flash, HTML5 and others), .mp3 and .swf files from almost every website as easily as possible:
    http://www.macupdate.com/info.php/id/27604/itubex
    Lastly: How to download Flash videos and play them in Quicktime using Perian is explained here:
    http://perian.org/#watch
    It's the video at the bottom of the page.
    Last but not least (as some of the above may not work with Snow Leopard or Lion) there is the 'pwn trick':
    For example, the full youtube site for your movie is:
    http://www.youtube.com/watch?v=bC2XIGMI ... e=youtu.be
    As soon as the movie starts, pause it and add 'pwn' in front of the youtube part of the url so it looks like this:
    http://www.pwnyoutube.com/watch?v=bC2XI ... e=youtu.be
    Hit Return and then follow the instructions.

  • Open Link in New Window creates an invisible window (visible after restarting).

    When I use the right mouse button menu to Open Link in New Window from a web page it creates an invisible window. That is, I cannot see the window but it is listed in the Firefox Window menu. This newly opened window cannot be selected either by mouse or from the Window menu. However, if I quit and restart Firefox the new window appears as 0 pixels wide (i.e., a 1 pixel wide vertical line) and I can select it (by mouse or Window menu) and zoom it from the Window menu. After zooming I can operate on the window normally.

    Get Firebug and inspect the element. You'll see that it actually is this:
    onclick="javascript:saw.runThis
    URL('saw.dll?PortalProperties&_scid=To2OnvCVXpY&PortalPath=/shared/paint/_portal/PoC\x2520FINS&Done=ManagePortals\x2526Done\x253dAdmin');return false" href="javascript:void(null)" FF doesn't even give you the "Open..." options and all IE versions as of 7 show them but actually don't do anything when you invoke them.
    Edited by: Christian Berg on Sep 9, 2009 10:36 AM

  • Creating a link in a PDF form to open into a new window

    I have created the PDF form and every thing seems to be working fine. But I would like to set a link in the form that would open into a separate page. I have tried target="_blank" and onclick="window.open(this.href, 'child', 'scrollbars,width=650,height=600'); return false" with no success. Can someone give me some direction on how to create a link within a PDF form that will open into a new window?

    Try this, using JavaScript:
    app.launchURL("http://www.adobe.com",true);

  • How Can I Stop Tabs from Opening in a New Window?

    Since I updated to the newest version of Firefox, I am PLAGUED by a problem, and I can't get it to stop. When I return to Firefox and click on any tab, it almost always causes that tab to open in a new window. I understand this is a feature--drag a tab into the screen and it will cause that tab to open as a window, but I am not meaning to drag these tabs! I am using Firefox EXACTLY as I have used it for years, but for some reason, it seems to be interpreting my clicks differently--either I am dragging the tab a *tiny* bit, or it is simply registering that I have dragged the tab when I haven't. Is there a way to disable this feature? Or a way to decrease the sensitivity of the thing, so that you have to actually drag the tab all the way into the window before it opens as a new window? It is truly making me batty. I'm about to switch permanently to Chrome.
    To be totally clear: this is happening when I am simply trying to switch from one tab to another.

    You do not need to move your cursor much when pressing the mouse button to cause the tab to tear-off/tear-away into a new tab. No "sensitivity" setting that I am aware of. The tab in the new window can be dragged back to the original window.
    To disable the feature, install this: https://addons.mozilla.org/en-US/firefox/addon/bug489729-disable-detach-and-t/
    *Read the information on the above page
    *Set options for the add-on: Add-ons > Extensions, click Options next to the specific Extension (the 2 options are defined/explained in the above page).
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Option/command does not open a new window from bookmarks

    I have an occasional problem: how come sometimes a bookmarked link in Safari does not open in a new window when I click option/command. or even shift/option/command. I have had and still have this issue over the last few iterations of OS X and Safari. Does not do it for all bookmarks just a few.

    OK. A couple of other things to try in that case.
    It may just be a corrupt preference file causing the issue, so quit Safari, trash this file and then restart Safari:
    Hard drive > Users > Your Username > Library > Preferences > com.apple.Safari.plist
    If that makes no difference, does it behave correctly when used from another user account on the same machine? If you don't have another account then use System Preferences > Accounts > \[+\] to create a temporary one for testing.

Maybe you are looking for