Export to Excel button rather than the export report link

I use of Denes Kubicek export to Excel. The customer wants an Export to Excel button rather than the link in the Section of the report for the report's export. So I created a button named "Download to Excel" and created a branch of the Branch of URL of return to function under a condition "When the button is pressed" with "Download to Excel" and action of the branch is

Start
return ' f? p = & APP_ID.:0 : & SESSION. : D OWNLOAD_EXCEL:no:T_REGION_ID, T_EXCEL_NAME, T_PAGE: #REGION_ID #, MiniProfile_firms, & APP_PAGE_ID.';
end;

When I press the button to get the following "File download" windows error:
< pre >
Do you want to save this file, or find a program online to open it?

Name: .xls [1]
Type: Unknown file Type
< / pre >

Why is that happening and how can I solve this problem?

Robert

Robert,

http://Apex.Oracle.com/pls/OTN/f?p=31517:108

Create a hidden item: p108_region_id and it calculate whether it is NULL using the suite of applications:

SELECT region_id
  FROM apex_application_page_regions
 WHERE application_id = :app_id
   AND page_id = :app_page_id
   AND region_name = 'Employees'

Make your button a button URL with the following link:

f? p = & APP_ID.: 0: & SESSION. : D OWNLOAD_EXCEL:no:T_REGION_ID, T_EXCEL_NAME, T_PAGE: P108_REGION_ID, my_report, & APP_PAGE_ID.

and there you go.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Windows Photo Viewer - how to change the default Windows Photo Viewer options so it will open the images directly in 'Real size' rather than the auto zoom

    Windows Photo Viewer - full size

    Hello

    Is there a way to change the default Windows Photo Viewer, so it will open the images directly in 'Real size' rather than the auto zoom?

    Thanks in advance, Yoni.

    Hi Yonikl,
     
    1 let me know the format of the file that is causing the problem?
    2. you have any third party photo editing and look at a software installed on your computer?
    3. do you have any recent software or the hardware changes on your computer?
     
    If there is any third party even software uninstall and check if that helps.
     
    You can follow these steps below to set the image at its actual size while watching.
     
    To display the image at its actual size, click actual size . To make the entire image enters the Windows Photo Viewer window, click on adjust to the window.
     
    For more information you can visit this article for assistance below.
     
     
    You can also try to download and install the Windows Live Photo Gallery and check if the problem persists.
     
    If the problem persists then you can try these steps below to create a new user account and check if the problem persists.
     
    Create a new user profile.
    Now you must create a new user account and check the question of do you need to follow the steps
    below.
    a. open user accounts by clicking the Start button.
    b. click Control Panel.
    c. click on user accounts.
    d. family Safety.
    e. click on user accounts.
    f. click on manage another account.
    g. If you are prompted for an administrator password or confirmation.
    h. type the password or provide confirmation.
    i. click on create a new account.
    j.Type the name you want to assign to the user account.
    k.Click an account type.
    l.Click create an account.
    Now search for the question.
     
    If you still face the question, then you can follow the link provided below to fix the damaged user profile.
     

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I open a new tab, it goes straight to the Bing, rather than the white page.

    I recently downloaded a program called PDFlite to view the PDF files. He seems to have changed some settings on my Firefox, I does not allow to do so. I am today and there was a Bing toolbar, which I disabled it without problem. But now when I open a new tab, it goes directly into the Bing search engine, rather than the blank page where it used to go. This turn off the coast. I hate Bing. I checked my addons and there is no new addons added by the program. I can't understand what is happening. Help, please!

    Restore the default home page

    Check and tell if its working.

  • How can I automatically have Favorites in a new tab rather than the tab I am when I select a bookmark?

    How can I get bookmarks will automatically open in a new tab rather than the tab I am when I select the bookmark?

    You can middle - click a bookmark to open it in a new tab. There are also some quitre some add-ons that have this feature, for example:

    The following modules add the functionality you want, more a certain tab more options.

    There will be a little more, you can find several by searching the Add-ons site.

  • How can I get a formula refer to the text in the cell rather than the data?

    I've formatted some cells to show 0 if the calculation is a negative number, but how do I get another formula using the value 0 (rather than the negative number that is in the data) when calculating?

    This one is stumping me!

    HI WS8,.

    Formulas will use the value in the cell. A 'format' only controls what is displayed and does not change the actual value contained in the cell.

    If you want a formula for use 0 in which case the actual value in the cell is negative, you will need to do one of the following:

    1. Revising the formula to create the value in the source cell to return a zero if the calculated value is less than zero:
      = MAX (0,formula)

      OR

    2. Revise the formula that returns the value in this cell (B2 in the example below) to convert values less than zero to zero.
      Current formula: = B2 * 1 k
      Revised formula: = (MAX (0, B2) * k)

    Kind regards

    Barry

  • I have a new MacBook Pro 13 "." When you click on almost ANYTHING, I get a drop-down menu, rather than the simple task. This includes a link to closing a window, writing a message of openness. Whatever it is. I've updated to 10.11.2.

    I have a new MacBook Pro 13 "." When you click on almost ANYTHING, I get a drop-down menu, rather than the simple task. This includes a link to closing a window, writing a message of openness. Nothing, including the drafting of this issue. A screenshot is included. I've updated to 10.11.2.

    Thank you!

    Bill Koechling

    Is it possible that you accidentally tap the touchpad with 2 fingers?

    Try to go to the preferences system-> Trackpad-> point & click and disable the "Secondary click" item Or change one option other than water from the tap 2 fingers.

  • square pulse time rather than the sampling frequency and size dependent frequency

    Anyone know if it is possible to create a pulse square with its dependent on the frequency at the time rather than the sampling frequency and size?

    for example if I set the frequency to 10. That means 10 pulses per second.

    rather than having to set the sampling rate and use the equation

    frequency = [(# of cycles) * (sampling frequency)] / sample size

    Thanks in advance. a photo of the block diagram would be grateful if possible

    NVM, that I solved it

  • That's why when I want to sign into xbox live on my console, I get the join rather than the sign in guest

    Original title: sign in error xbox

    That's why when I want to sign into xbox live on my console, I get the join rather than the sign in guest?

    Hello

    The issue you have posted is related to Xbox Live, I recommend you post this question in the Xbox forum.

    http://forums.Xbox.com/xbox_forums/xbox_support/default.aspx

  • Windows 8 cursor jumps in the existing text and continues to type here rather than the finish line that I am on, anyone else spotted the same thing?

    Just upgraded to Windows 7 to 8, using MS Office Word 2010, worked well on Win 7, but now type text and the cursor suddenly jumps into the existing text and continues typing, rather than the finish line that I'm on.  Thought, I was accidentally touched for touch pad or other keys, so now consciously look for this but can find nothing on my part.  Have experienced it before with a processor OS Linux and Open Source, when the OS has been updated.  Think there may be a loophole to WIN 8.  It also happens when keying in the screens like this, that has happened twice while here. Someone else spotted the same thing?  Or is it just me?

    Also, anyone know how to disable "Open Tap" on the Mouse touchpad of the notebook, its annoying, I could disable in WINDOWS 7 but cannot know how Win8.

    Thank you very much for your help, the setting was not really there, but you gave me the name of the device, so I was able to download the right driver from

    http://www.Synaptics.com/resources/drivers

    above mentioned just in case anyone has the same problem. The site recommend to go with the hardware vendor's website, but ASUS has wrong driver, one of the above works fine.

    Its such a relief to be able to settle this problem - THANK you

    Lets see if it sorts the problem MS Office too.

  • From LR6.1 to LR6.3: rename folders created are based on the date of importation rather than the date of shooting!

    I started using LR with version 2... My import workflow was even up to 6.1 and all my files are organized in the same way for more than 10 years.

    I went on LR6.2 given the changes made in the import dialog. But upgraded to LR6.3 think the problem has been resolved.

    But now I noticed that all my photos are renamed and placed in folders corresponding to the date of importation rather than the date of shooting... I rename my files from custom and is gone in this dialogue, but has not as how to restore LR import my photos using the date of shooting. This creates havoc on my hard drives and in LR. I use the date of shooting a lot to find my photos, since I often neglect to add keywords.

    I really need to be able to get the date of shooting on the behalf of my photos and have copied them in the folder the correct date.

    Thanks in advance for your help.

    BTW: something has changed in the way the forum appears. Research is not very powerful... it has not brought something, yet I know that the import dialog has been at length when 6.2 was introduced. In addition, I see no browser passed a few more recent messages. I don't like the new interface.

    Well, I answered my own question. Yes, I was looking for settings in the destination Panel... There is a line that shows what would change the name... and it showed the date of importation as the new name... but actually... It was only to show you what the name change would look like. Because I had a selected image, I thought it would show that the change of name for this image. But it is not related to the image... The import worked as expected... My apologies for disturbing him. .

  • How to print pictures on the corner of the page rather than the Center on photoshop elements 8?

    How to print pictures on the corner of the page rather than the Center on photoshop elements 8?

    sofiat75502936 wrote:

    How to print pictures on the corner of the page rather than the Center on photoshop elements 8?

    Go to file > new > empty file. Enter the dimensions of your paper stock

    Go to file > place, point on the image, and then position it on the corner.

  • Is it possible to read the contents of the XML file rather than the properties for the location of FLEX

    Is it possible to read the contents of the XML file rather than the properties for the location of FLEX

    Strictly speaking, this is not really true. When running, the ResourceManager of IResourceBundles for localization, not deal with XML files or properties files. As long as you implement IResourceBundle, you can back it up with XML, properties, JSON, AMF files - what you want. The problem is that mxmlc will not build modules of resources for you what it is, with the exception of properties files, and cannot compile just resource bundles in a .swf using anything other than properties files. If you build your own interface to spit IResourceBundles, this could work, but it is probably more trouble that it's worth.

    (Assuming that you establish the link in the application) the best solution is to write a script to pre-process the XML in properties files.

  • report is different than the original report after export/import use icommand

    as topic,.
    I export a report and import it into a different environment, but the report is different, I have config drill anywhere in a bar chart, but he lost...
    All the tips you all?

    What version of BAM do you use to export and which version to import?
    Also, I'm sure you import report drilled through first and then the main report, right?

  • How can I force Firefox to access an external web site rather than the site corresponding to the cache on my computer?

    A web site that I regularly access using Firefox has been updated in the last 24 hours. I make Firefox to access the external site updates rather than site updates apparently stored on my memory cache?

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)
  • I keep redirected to the American version of a site rather than the site of origin.

    Recently I hooked to reading the articles of a UK site, but recently, when I click on the links in the article I'm automatically redirected to the American site and its contents to the place! I live in the United States but hate the American site articles and many prefer the British. Initially, my only solution was to stop the article during the loading in order to stay on the link of the desired article, but also the end that fails and I'm automatically redirected to the American pages instead (ugh...).

    I am currently using 25.0 Firefox on Windows 7 Home Premium and checked the box 'Warn me when websites try to redirect or reload the page' under Tools > Options > advanced > General > section accessibility but was always redirected. I also installed the add-on Refresh Blocker v0.8 but was always redirected. The site is http://www.denofgeek.com but when I select an article on their homepage or the categories I get redirected to the "equivalent" http://www.denofgeek.us As a precaution, I have performed an analysis of malware but come clean and have deleted all cookies and temporary internet files, but once again it was in vain.

    Is there anything else I can do to avoid the redirect? Or if this site has officially lost a player? Any help is appreciated.

    I don't know why you will be redirected, but here are a few thoughts:

    (1) in case your preference for .us is stored in a cookie - rather than an account setting - try to clear the cookies for the site (this will probably end your session, so save all pending work first). While displaying a page on the site, try either:

    • Click on the globe or the padlock in the address bar > more information > Security > "View Cookies".
    • Right click on the page > View Page Info > Security > "View Cookies".
    • Menu Tools > Page Info > Security > "View Cookies".

    In the dialog box that opens, you can delete cookies from the site individually.

    Any changes in the navigation of the homepage?

    (2) if give you permission to site to access your location, that turns off. You can access specific permissions to the site while displaying a page on the site using the Page Info dialog box. Either:

    • Click on the globe or the padlock in the address bar > more information > permissions
    • Right click on the page > View Page Info > permissions
    • Menu Tools > Page Info > permissions

    (See screen shot on location approval)

    (3) if the site uses your preferred language to redirect, you can add en-GB and reorganize your languages. However, this could lead to strange results on other sites. If you want to try it, go to the languages of content here options dialog box:

    the button Firefox orange (or the Tools menu) > Options > content > select button

Maybe you are looking for

  • Woman does not receive message from my iphone tones

    Wife & I have new iPhone5s. Everything works fine except that when I text her, she gets the message, but not the notification tone. It also appears on his screen locked. She 'do not disturb' on her phone, nor does it me has no on his "list blocked ca

  • Download window clears automatically, how do I downloads remain in the window?

    When I download a file from the download window automatically clears the list. So I go to my download folder to search for the file. Previously downloaded files displayed in the window until I hit the button clear the list. How can I change this back

  • error code oXC800042D__

    summer like that 2-3 weeks

  • System audio warning when you try to enter a Webinar

    Hi, I am trying to enter a seminar online through the Blackboard program work and my computer (Windows XP) won't let me in, a system audio warning pops up saying... The entry line was turned off from another application has deseleted it... It gives m

  • 11 7140 pro meeting place cannot activate audio maxx

    Hello Got my 11 7140 pro with windows 10 place now. Really happy with the product so far, but I've noticed that I can't activate audio maxx on it. He came up with message 'Maxxaudio supports stereo output only. Please can someone help, because the cu