Sql case statement with link not opening new window

Apex 4.2
I am writing a query that has a case statement. I need the case statement to open up a new window, not a new tab. I have the following:
SELECT
case when SCHED_ID = 1 then
'<a href="javascript:popupURL(''http://www.google.com'')">LINK</a>'
end as MyLink
FROM Table_Name
When I plug this into a a column link in the URL field under a page item or report item, then a popup window appears. However, inside the query I am getting a new tab.
ANy help on this matter would be great. Thanks in advance.

Hi,
Try adding a target attribute to you link:
'<a href="javascript:popupURL(''http://www.google.com'')" target="_blank">LINK</a>' 
Regards,
Vincent

Similar Messages

  • Firefox 30 will not open new windows maximized

    I use Firefox on 2 machines, one at home and one at work. I updated both to Firefox 30.
    My home machine, with Windows 7 opens new windows maximized.
    My work machine, however, will not open new windows maximized. It will only open them at the last remembered window size. I have tried deleting localstore.rdf and this does not solve the issue.
    The window will open maximized on Firefox 28 on the same machine.

    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''''' {web link}
    While you are in safe mode;
    Press the '''<Alt>''' or '''<F10>''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites and see if there is still a problem. Then restart.

  • I can not open new windows

    When I´m on the internet I can not open new windows, not by ¨file new windows ¨ or by ctrl N. New tabs work but no new windows. It worls well with all other browsers.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • The firefox will not open new windows

    My firefox will not open new windows. It opens new tabs. The problem is in the windows.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    If it does work in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If the new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can also try to reset Firefox:
    *https://support.mozilla.org/kb/Basic+Troubleshooting

  • Mac user OS 10.6.8 Firefox 6.0.2. Click the Firefox icon in dock, program does not open new window. Type cmd+N to open new window, cmd+T to open new tab or cmd+L to enter URL, nothing happens. What causes this, and what can be done?

    Mac user OS 10.6.8 Firefox 6.0.2. Click the Firefox icon in dock, program does not open new window. Type cmd+N to open new window, cmd+T to open new tab or cmd+L to enter URL, nothing happens. What causes this, and what can be done?

    It's strange. The problem apparently resolved itself after I ran TechTool on it. When I clicked on Firefox last night, I had no problem opening a window. Thanks for your help. (As to your previous post, the focus was on Firefox and neither the speed keys nor the menu bar would open a window or tab of allow me to enter a URL to open a window. Strange!)

  • Middle-click on Link not opening new tab

    Yesterday Middle-click on Link stopped working to open a link in a new tab (or close a tab if I Middle-click on the tab).
    V. 27.0 (Auto updates turned on)
    Window 7, 64 Bit, Home Edition
    Was running no add-ons outside extensions for Java, SilverLight, and Adobe and Wacom, and Norton (Disabled as of about 2 months ago)
    I HAVE tried starting in FireFox Safe mode with all add ons disabled, problem still persisted.
    I uninstalled Firefox, cleared my preferences, and reinstalled, same issue.
    I have check the configuration files (I found the command for it in other help topics) and the command line for it is Enabled (I disabled and enabled it again just to check).
    Under options, I have it also set to open new windows, as a tab
    The ONLY thing that I had done that could have changed anything, was I ran Mal-ware Bytes, and Spybot S&D, before the problem started. However I have run both programs in the past and they have never caused this issue to start after a scan.

    My middle click stops working if I show the menu bar. Middle click works as expected if the menu bar is off and just the Firefox button is at the top. Windows 8.1 and Firefox 28.
    Hope this helps

  • Firefox will not open new window, Why?

    I have Vista home base premium operating system. I am a regular user of Mozilla firefox after had lots of positive feedback as one of the best browser. I had no problem for a good while, until recently I found out my add-on firebug stop working. Then I noticed that firefox stopped working properly, ie; it will no more open new window/s. One window will open after rebooting and i can have a number of tabs opened. When I right click on a web link and take the option to open it in a new window it will not open. When I take the option to open it in a new tab then that would be ok. When I go to the toolbar and click on File and chose option "open new window" again it will not open. I have on many accasions completely installed Firefox using the IObit software and use the advance system care to clean the registry and completely scan the system. I then reinstalled the latest version of Mozilla Firefox. I did that twice. The problem is still there. About the ad-on firebug, when I go to the toolbar and click on Tools, i can see Firebug with the extended arrow, but when I click on the arrow to the extended options, it simply would not respond.
    There must something going on, please help.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Links that open new windows in Safari instead of new Tabs...grrrr!!!!

    Why is it that when clicking on a link in a website sometimes open a new tab in the same window (which is great) an other times it opens a completely new window (annoying)? I have already ticked the box which tells safari to open new links in tabs rather than a new window, but it continues to open new windows...although not always. Firefox seems to handle this feature a lot better. Any ideas?

    Funny you should post this. I was just looking for this answer as well and I found this:
    http://discussions.apple.com/thread.jspa?messageID=9343894&#9343894
    thread. Basically, enter:
    defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
    in a terminal window and it will change to the behavior you desire. Change 'true' to 'false' to revert back.
    Andy

  • Firefox will not open new window for websites that require it

    I am running Firefox 3.6.16 on Windows XP.
    For some time now, certain websites will just not work - for instance, when I use Mapquest, it used to open the new window when I clicked on "print" - that no longer happens.
    Today, I was trying to use the eScrip online mall, and when I clicked on the store name, it did not open a new window - this was working fine back in December when I was doing my online shopping.
    My suspicion is the new version has some kind of problem. does anyone have a solution for this?
    Thanks!

    I use MapQuest a lot but haven't used the PRINT option for a while. I just tried it and you are right, the PRINT does not open any window or even work. But if you change it to the NEW MapQuest, the PRINT function will work. I guess MapQuest has disabled the PRINT option in their CLASSIC version. Maybe they are trying to encourage users to use their NEW version instead.
    If you still want to use the CLASSIC version, you can always copy the map and paste it onto a Image Editor program and print from there.

  • Will not shut down (must use Task Manager) & will not open new window

    When I shutdown FF the FF window disappears, but a new FF cannot be started unless I manually end FF from Task Manager. When running I cannot "open Link in a new window" - nothing happens, but opening a link in a new tab works.
    I am running FF3.6.13 on Windows XT. I ran antivirus software, so I don't think I'm infected. All other programs work fine. I deleted and reinstalled FF. I deleted FF and installed an older version. No luck.

    See this: <br />
    https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit

  • My firefox does not open new window and pop-up

    i can't open new window with firefox. my versian is up-date
    please help

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Link to Open New Window not working on Intranet

    I hope someone can help me. I created a PDF file with pages that contain links. I directed the linked files to open up in a new window. The linked files open in a new window on my hard drive but when I uploaded the pdf file and the links folder to our intranet at work, the links work but the files do not open in a new window. They open in the same window. Please help.
    Thanks
    Jeff

    Hello Eric,
    Thanks for the prompt reply and suggestion.
    Unfortunately command - option/alt - click doesn't do it either.

  • Link to page, not open new window

    Hi there
    in Edge, how do I code to link to a page, without opening a new browser window (but also without using _self which caused problems by trying to open the link in the animation window).
    Thanks
    Simon

    So ... just to clarify ... _blank would open a new window, not what I want!

  • Firefox will not open new windows, opens with session restore every time I use it, and won't let me open the throubleshooting tab... Why?

    Whenever I try to open a new window, nothing happens. This includes clicking ctrl+N and through the drop down menu.
    Also, whenever I start firefox to browse the internet, it always open with a Session Restore with the previous session listed, even though I closed all the tabs and shut it down normally without any prompts telling me about saving multiple tabs.
    Finally, when I tried to troubleshoot this problem, the tab never appeared. The only options that work on the Help Menu are:
    - Firefox Help (after a few clicks)
    - Report Broken Web Site
    - Check for Updates
    - About Firefox

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    There are other things that need your attention.
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    *Shockwave Flash 10.0 r45
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/

  • Can not open new windows with the update

    i used to be able to open multiple windows with different url and i now i can not...

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

Maybe you are looking for

  • How to export photos with editing from preview mode to hard drive and external hard drive?

    I have applied changes to the photos in the preview mode. Unfortunately, I can't export them from preview mode to hard drive and external drives. Whenever the external drive is plugged, the changes I made are not applied to the photos on the both har

  • Mac OS 10.4 Startup problems.

    Hey guys, Just recently reinstalled Mac OS 10.4 Tiger on my PowerMac G3 and now when i go to start the machine up where the Apple logo should be in the middle of the screen during boot has turned into a circle with a bar going through it. can anyone

  • Get rights for Server service account on exchange servers

    Hi, How i can retrieve the information about , particular  Server service account has got any level of permissions on exchange environment ? ( on server or any exchange objects ) Do you have any command / script to retrieve these information ? Br, An

  • Add R3TR element to the Transport Request

    Hello BW Experts, I am transporting a query and get the below error message. Element 40WVM5KB0OENRCAWG7PN2GHM3 is missing in version M Message no. R9132 Diagnosis Element &1 in version &2 is referenced but is not available. System response The action

  • Cannot Access AppSTore: "We could not complete your request."

    Hi, I have a valid Apple ID and I am also able to Sign In with that ID to the App Store. But when I try to install any application I get the following message: "We could not complete your request" "There was an error in the App Store. Please try agai