Concatenating a string in a URL syntax does not work (syntax error)

I am trying to print a Report in PDF format. The code is:
select '<a href="http://oasdev.oh.gov./reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
GLOBAL_URL should carry the value ( a sring) ----> http://oasdev.oh.gov.
Therefore I changed it to the following code:
select '<a href="GLOBAL_URL/reports/rwservlet?GDMS_ACR&Y='||:P106_YEAR||'&B='||:P100_BUSINESS_UNIT_ID||'&C='||:P106_COMMISSION_ID||'&d=('||TO_CHAR(SYSDATE,'MMDDYYYYhhMISS')||')", target=_new> <font color="blue"><b>Print PDF Version of the report</b></font> </a>' url from dual
But it does not work. Any suggestion would be highly appreciated.
Thanks in advance.
Gouri
Edited by: user1046395 on Dec 8, 2010 8:41 AM

When you do a select, you need to select into a variable..
select ' Print PDF Version of the report ' url INTO <Variable>from dual
Are you trying to run an Oracle Report from APEX??
If so look at this thread: Using popupURL to call Oracle Reports - Problem passing parameters
Thank you,
Tony Miller
Webster, TX
When you have enough clowns, you have a circus.

Similar Messages

  • Bad URL fix does not work

    Bad url fix does not work, Skype still crashes when this string has been sent to group chat. People on the group chat are unable to load up Skype properly.

    frank604 wrote:How are you suspending?  As rdahlgren requests, can you manually try to suspend and post output of useful logs here?
    I use the built-in suspend mechanism in KDE 4.12. The problem appeared on all my computers

  • Adobe Create PDF Desktop Printer does not work, receive error mail

    the program to print adobe does not work. does not print from the internet. txt file does not print. Word does not print. does not send the documents to print and the e-mail always arrives unsupported file. impossible because there are the list of file types that I want to print. fake

    Hi Pleso
    Can you login to this website https://createpdf.acrobat.com/signin.html using same account?
    Please email me directly at [email protected] and we can do a online session to troubleshoot this issue.
    Thanks
    -sarabjit

  • "activeDocument.saveAs" does not work! -- Error 8800 | PS CS5 | Mac OSX 10.5.8

    Error 8800: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
    I even tried to copy the Script from the scripting Guide.
    jpgFile = new File( "/Temp001.jpeg" )
    jpgSaveOptions = new JPEGSaveOptions()
    jpgSaveOptions.embedColorProfile = true
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE
    jpgSaveOptions.matte = MatteType.NONE
    jpgSaveOptions.quality = 1
    app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,
    Extension.LOWERCASE)
    Everything else in my Scripts work :-/
    Any Tipps?

    The reason the original script did not work is new File( "/Temp001.jpeg" ) is not a valid file path. The path must be the full URL not a releative one.
    The reason the second script saves to the folder where Photoshop is installed is because path is a reserved word in Photoshop. Even is you assign something else to path like var path = app.activeDocument.path, it will still point to the app path. name is another reserved word. It will always return 'Adove Photoshop'.
    Better to do something like this.
    var docPath = app.activeDocument.path;
    var jpgFile = new File( docPath + "/Temp001.jpeg" );

  • Browser back button does not work (IE) - Error On Page message

    Just take over website from our designer; I'm new, probably doing more fiddling on the live remote website than I should be...
    http://www.cmcwny.org
    Error On Page message, internal links work, but the browser Back button does not (at least in IE). 
    I have a backup of my local site from before this happened, but I do not know how to actually replace it.
    Any help on either issue will be appreciated, thanks!
    Larry Congdon
    Buffalo, NY, USA

    Hi
    First, get rid of your designer, the page design/code is a mess.
    There are a number of problems with the page, not least being the disabling of the back button in all browsers I tested it in, (visitors may visit once with this, but are unlikely to do so a 2nd time).
    The menu system is a fixed size so that when the browser is resized it overflows the browser window.
    The use of tables for layout is not recommended as it is inaccessible to users using assistive devices.
    To put this more politely, if you paid for this, ask for your money back. If you did not pay, then start again and use one of the dreamweaver layouts for your page, for more info, see - http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html.
    PZ

  • Cwa url-redirect does not work

    Hello experts,
    I have ise with WLC , i m configuring CWA for wireless guest users.   the issue is, while i try to connect to Guest-Wifi and try to open a brower to be redirected to my ise guestportal,  but it is geting redirected.
    What can be the issue ?

    Hi Imran
    Please make sure that you have defined Security Group Access (SGA)-enabled devices in Cisco ISE and you have added WLC to this SGA to process requests from SGA-enabled devices that can be part of the Cisco SGA solution. Any device that supports the Security Group Access solution is an SGA-enabled device.
    SGA devices do not use the IP address. Instead, you must define other settings so that SGA devices can communicate with Cisco ISE.

  • Color picker does not work, " program error when I click, photoshop cc

    I am user of photoshiop cc and it worked fine until several days ago but suddenly it shows " program error " when I click color picker, and I can not use changing color. Please help me to resolve this issue.

    There was a bug with photoshop CC concerning the color picker and its swatches. Make sure you have the latest version and then if it still exists, reset your tools in the upper left hand corner which would be the very first icon in the top tool bar. That should fix it. If not let us know and maybe someone can think of something else.

  • MS-Silverlight does not work. Error says my isolated storage is not enabled.

    Silverlight says that my application storage is not enabled. When I right click on Silverlight. I can see that it is enabled, but it still doesn't work. Can anybody help me?

    Sorry I only just noticed your post and of course completely forgot the thread.
    The problem with a silverlight global error handler is you're probably trying to show an error and sillveright has chocked.  So I had second thoughts about that and put the "usual" javascript handling into the test page. 
    Internet explorer is no longer good friends with Silverlight.
    If you try that test site on the wiki page:
    http://social.technet.microsoft.com/wiki/contents/articles/30387.silverlight-trouble-shooting-installs.aspx
    And you get an error you get a blank page and ie11 won't show the error .
    You can, however go into developer options using f12 and an error will be shown there.  I
    think in the debgugger tab.
    Assuming one is actually bubbled.
    In my experience, Silverlight errors are often quite tricky to get much from but maybe you'll be lucky.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Flashplayer gone-adobe-does not work-get error 1606 Toshiba LS3550-S7901

    I have been trying to figure this out for days.  I have been trying to download Microsoft office & I get the error 1606 -the same with flashplayer, etc.   I read the error forums etc. & it was recommended to check the event viewer for errors. Well there are 433 errors there all the way back to last march.  It states  "the ip network address leae 192.168.1.2 for network card with an internet address  # 's denied bu DHCP server 0.0.0.0.     What is this & how can I repair it ?     Hopefully someone knows..............   Thanks, Mike

    Toshiba LS3550-S7901
    Sloppy! Maybe this one, Mike?
    Satellite L355D-S7901
    If so, you have 32-bit Vista.
    Please follow these instructions carefully.
    Double-click the event in Event Viewer and click the Copy button. That will put the details on your clipboard.
    Paste that without editing into your reply - except we want the part only above the line Event Xml:.
    -Jerry

  • Web.accButton("Xpath") does NOT work with error "failed to respond"

    web.accButton("web:dialog_unknown[@text='Do you want to open or save this file?']/web:accPushButton[@index='1' or @name='Save']").click();
    Got exception: Object "/web:dialog_unknown[@text='Do you want to open or save this file?']/web:accPushButton[@index='1' or @name='Save']" failed to respond to action: <Message name="Click"><Parameter AppType="Acc"></Parameter><Parameter Accindex="1"></Parameter><Parameter role="PushButton"></Parameter><Parameter handle=""></Parameter><Parameter WindowIndex=""></Parameter><Parameter DocumentIndex=""></Parameter><Parameter tag="accPushButton"></Parameter><Parameter index="0"></Parameter><Parameter type="element"></Parameter></Message>.
    Version Info:
    Version: 12.1.0.1 Production
    Build ID: 2.7.1.361
    32bit on Windows XP
    Edited by: 1006468 on 2013-5-16 下午8:29

    Hi Dianlong,
    Please check if SAP note 1132501 is relevant for your ECC release. If you apply the note, you may have to re-generate the web service from the function module.
    Regards, Trevor

  • System Recovery does not work. Error Code: 0xe0ef003

    I have a Touchsmart 310 1125y - Upon bootup was getting a BOOTMGR is missing. I tried the system recover on the hard drive and that failed with the error code: 0xe0ef003. I went ahead and purchased the cd revovery discs from HP Site ( 4 plus the supplimental reovery disc) and ran all of them and got down to disc 4 and then that same error came up. When I tried to reboot, it comes up to a blank screen with the flashing cursor in the top left corner. I hit ctrl/alt/del and the HP Blue screen comes up, when I hit the F11 now it just goes to a blank screen again with the cursor in the top left corner. Any other suggestions on how I can fix this?

    Hi
     Once unit is powered on keep tapping F10 Key go to Diagnostics run the Hard drive test if failed you need to replace the Hard drive if test passes kindly let me know.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Microsoft Word 2008 does not work after lion installation

    After I installed Lion in my MacBook Pro, Microsoft word 2008 failed to work properly. Each time I try to quit word an error message appears and word closes and reloads automatically. The only way I can now really quite word is by the 'Force quit' option (in the apple menu). Word was working properly with Snow Leopard, so no idea what happened there... Any hint? Thanks

    Ok, did exactly what you said... To 'make word crash' I only had to open it and then try to 'quit' it, in crashes 100% of the time...
    1/3/12 11:43:29.066 AM com.apple.launchd.peruser.501: ([0x0-0x99099].com.microsoft.Word[970]) Exited: Killed: 9
    1/3/12 11:43:31.983 AM Microsoft Error Reporting: CFURLCreateWithString was passed this invalid URL string: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
    1/3/12 11:43:31.984 AM Microsoft Error Reporting: CFURLCreateWithBytes was passed these invalid URLBytes: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
    1/3/12 11:43:31.984 AM [0x0-0x99099].com.microsoft.Word: 2012-01-03 11:43:31.983 Microsoft Error Reporting[977:7703] CFURLCreateWithString was passed this invalid URL string: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateWithFileSystemPath or CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
    1/3/12 11:43:31.984 AM [0x0-0x99099].com.microsoft.Word: 2012-01-03 11:43:31.983 Microsoft Error Reporting[977:7703] CFURLCreateWithBytes was passed these invalid URLBytes: '/StageOne/Generic/MacCrash/com_microsoft_word/12_3_2_111121/microsoftcomponent plugin/12_3_2_111121/0x000ed279.htm?lcid=1033&os=10.7.2&testDrive=NO' (a file system path instead of an URL string). The URL created will not work with most file URL functions. CFURLCreateFromFileSystemRepresentation should be used instead.
    I hope you can make some sense of all that!
    Thanks!

  • Applet does not work after conversion

    Hi,
    A have an html page on with a use an applet. The applet is downloaded in two cab files for the internet explorer.
    The applet and the download works fine without the java plugin.
    When I convert this page to using the html converter the applet does not work
    The error is
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I think he fails on the downlad of the second cab file....
    Sombody any ideas,
    Thank
    Tom Van de Velde

    I recently moved to programming applets and this problem gave me many
    headaches. I know that the java compiler is supposed to compile with an
    appropriate version, but I suspect that there may be a few flaws in the
    system.
    Try compiling with a command like this to force a 1.1 compilation:
    "javac -target 1.1 yourfile.java"
    This enabled my applets to load in Netscape 4.6, something they wouldn't do before.
    Installing the java plugin seems to fix the problem on other browsers. This might
    be a new bug introduced by Java 1.4, since I had very few problems with
    Java 1.3...I dunno...that's speculation...

  • EAX and Equalizer does not work aftrer upd

    Hello,
    after update from creative autoupdate page EAX and Equalizer does not work. Error message is:
    The audio device support by this application is not detected. The application will exit.
    I have Audigy 2 ZS sound card.
    Any body have idea how i fix this ?
    Regards,
    John Smith

    Condor_inc
    Try changing the sound card to another PCI slot.
    Jason

  • URL Does Not Work in Firefox, but DOES Work in Other Browsers

    The following URL does NOT work in Firefox. However, it DOES work in Internet Explorer and Google Chrome:
    https://www.ascap.com/ace/
    The main ASCAP URL works just fine. The problem seems to be confined to this link alone. Please fix; thank you!

    There is a server redirect on this URL.
    <pre><nowiki>
    https://www.ascap.com/ace/
    GET /ace/ HTTP/1.1
    Host: www.ascap.com
    HTTP/1.1 302 Found
    Location: https://www.ascap.com/Home/ace-title-search/index.aspx</nowiki></pre>
    If you use a bookmark then try to navigate to the want page starting with the main (home) page.
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

Maybe you are looking for

  • How can i deactivate the automatic downloads of my media in the itunes store

    I just activated the automatic download on my imac, thinking just about music. No, my i mac started to download all movies, i have downloaded on my i-tv, which I don`t want. I so far failed to find a point in the menues to deactivate that automatic d

  • Error message with variable

    Is it possible to include a variable in message box? For example, i have a variable v_name and i want to include it in my error message. MESSAGE i001.

  • The workbook was not saved

    Hi, This problem occurs after a BI upgrade. When I try to change a workbook and save it, I get the error "The workbook was not saved". There are other threads with that issue but no answer has been provided. Thanks, Patrick

  • No extensions will install in Safari 5.01

    Upgraded to 5.01 so i could use the extension library from Apple, but none of the extensions will install. Extensions are turned on in the preference pane, but every time I try to install one I get this message. "Safari can't install this extension"

  • I purchase $50 refill cards for Unlimited Service but they are only lasting 2 weeks instead of a month.

    I just switched to the $50 unlimited last month and I noticed after 2 weeks of usage it keeps prompting me to add another $50 payment. That is more than I was paying previously. I switched so I could call anyone not just Verizon users.