File Browse "no file selected"

Hi,
Sorry if this has been asked before.
I've created a form, part of that form uploads a file and this works fine but i'm using the same page to edit those details. When the page is opened the all the values apart from the file browse diplay OK, this just says "no file selected".
Is there anyway to display the name of the file that has already been uploaded rather than it saying no file selected.
Thanks Andy

Hello,
I should have mentioned in the original question that I did exactly that, but it didn't work because apex_application_files view contains a blob as opposed to a clob column. In fact, I created two tables (2 "B" caharcters have been replaced by "C"s):
CREATE TABLE T_BLOB (
C_ID NUMBER PRIMARY KEY, -- Populated by a sequence which is out of scope for this question
C_FILE_NAME VARCHAR2(100),
C_FILE BLOB);
CREATE TABLE T_CLOB (
C_ID NUMBER PRIMARY KEY, -- Populated by a sequence which is out of scope for this question
C_FILE_NAME VARCHAR2(100),
C_FILE CLOB);
And this is the Process that populates them:
begin
if ( :p15_fb is not null ) then
insert into t_blob ( c_id, c_file_name, c_file )
select     s_clob.nextval,
filename,
          blob_content
from     apex_application_files
where     name = :p15_fb;
delete from apex_application_files where name = :p15_fb;
end if;
end;
This works like a charm. However, when I replace t_blob with t_clob in line 3, it fails. (See the error message here .)
Any help would be greatly appreciated!
Thanks,
Gabor

Similar Messages

  • File Browser with multi select....

    Is it possible to have a file browser with multi- select??? I have several (possibly dozens) of files in a directory that I'd like to up load using a file browser style item, but be able to select several at a time to up load rather that doing them on at a time. Is this possible???

    Different idea, look at this thread, where you could just have multiple file upload capacity in a form.. The multi-select with browser I believe is NOT possible with current version of APEX.
    how to Upload Multiple Files
    Thank you,
    Tony Miller
    Webster, TX

  • CS4 apps are VERY slow to open Windows file browser with File Open or File Save As commands

    We are running CS4 on Windows 7 with all available updates installed.   Photoshop and the other CS4 applications are VERY slow to open a Windows file browsing window to select files when File Open or File Save As menu options are run -- it can take as long as a minute or two for the window to open.  Once the window opens and a file is selected, then opening or saving the file is very quick.  The location of the default directory, whether it is on a local drive or a network drive, makes no difference.  Any suggestions as to what the problem might be?

    Raphman02
    The link that I posted earlier is off.  Read this one
    http://support.microsoft.com/kb/2501584.  I discovered in my network that the MS Office File Validation Patch made excel crawl when opening over the network though nothing else changed. At the time I was opening Excel on Office 2003.
    You can manually turn this off by editing the registry and tunring it off.  Going forward I skipped the patch to keep my sanity.  Not sure if this is the same as your issue, but the support article will go into detail how to either have Fix it
    clear the issue or change the proper registry keys.
    Hope this helps

  • File browsing and showing selected files in a datagrid? i'm missing something small... i hope

    I am currently allowing the user to browse and select multiple files. I'd like to display the selected files in a datagrid. Here's my code. What am I missing?
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <fx:Script>
                        <![CDATA[
                                  import mx.collections.ArrayCollection;
                                  public var Files:File;
                                  [Bindable]
                                  public var arrUploadFiles:Array;
                                  private function init():void
                                            arrUploadFiles = new Array()
                                            Files = new File(); 
                                            Files.addEventListener(FileListEvent.SELECT_MULTIPLE,onSelect_multiple_files); 
                                            Files.browseForOpenMultiple("Select Files to Send!!"); 
                                  public function onSelect_multiple_files(f_evt:FileListEvent):void
                                            for each(var tempF:File  in f_evt.files){ 
                                                      tempF.load(); 
                                                      arrUploadFiles.push(tempF);
                                                      trace (tempF.nativePath);
                        ]]>
      </fx:Script>
              <s:Button x="259" y="454" label="Browse for Files" click="init()"/>
              <s:DataGrid x="159" y="211" requestedRowCount="4">
      <s:columns>
      <s:ArrayList>
                                            <s:GridColumn dataField="dataField1" headerText="Column 1"></s:GridColumn>
                                            <s:GridColumn dataField="dataField2" headerText="Column 2"></s:GridColumn>
                                            <s:GridColumn dataField="dataField3" headerText="Column 3"></s:GridColumn>
      </s:ArrayList>
      </s:columns>
      <s:typicalItem>
                                  <fx:Object dataField1="Sample Data" dataField2="Sample Data" dataField3="Sample Data"></fx:Object>
      </s:typicalItem>
      <s:ArrayList>
                                  <fx:Object dataField1="data1" dataField2="data1" dataField3="data1"></fx:Object>
                                  <fx:Object dataField1="data2" dataField2="data2" dataField3="data2"></fx:Object>
                                  <fx:Object dataField1="data3" dataField2="data3" dataField3="data3"></fx:Object>
                                  <fx:Object dataField1="data4" dataField2="data4" dataField3="data4"></fx:Object>
      </s:ArrayList>
      </s:DataGrid>
    </s:WindowedApplication>

    Arrays do not send out change events so the DG doesn’t know you pushed things onto it.  If you used the DG’s dataProvider it will have wrapped the array in an ArrayCollection and will notice the changes.  There is a FileSystemDataGrid component by the way.

  • File Browse moving files

    So, my DBA has issues with me storing PDFs in the database as a BLOB. Instead, they want to move the file to a shared drive location and store the link to the file. They think that the 300 or so PDFs loaded per year will make the database get really slow and hard to partition.
    Is this possible in APEX? Does anyone have any examples?
    For example:
    User creates PDF on a local drive (C:/temp/somefile.pdf).
    I use the file browse for them to go find it. When the form is submitted, the system needs to pick up the file and copy it to //someserver/someshare/.../somefile.pdf and store the link as the new file name to the file.
    Oh, and I still need to be able to display the PDF from within the application.
    Any ideas?
    Thank you!

    Hi,
    I know this does not answer your question, but look at this Ask Tom post:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1011065100346196442
    Here we have thousands of files uploaded to the database by Apex apps and it does not make the DB slow (well in fact it is quite slow but for other reasons...)
    Luis

  • I want to change the file location for the automatic backup file bookmarks.file, but I can't find browser.bookmarks.file in the list on the about:config page.

    I asked about automatic backup of bookmarks and received the following answer:You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to true on the about:config page. That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page. I went to about:config page and toggled browser.bookmarks.autoExportHTML to “Yes” and it’s working. However, I want to change the file location, but I can’t find browser.bookmarks.file in the list.

    The browser.bookmarks.file preference does not exist by default. Right-click in about:config and select "New > String" to create it.

  • Use of browser.bookmarks.file in about:config to back up bookmarks file at location of my choice.

    I want to Firefox to do automatic backup of the bookmarks file. It saves the file in the Firefox Profiles folder. To have it save the file in My Documents, I created the following new preference:;C:\Users\Gerry\Documents\BOOKMARKS. However, the bookmarks file was not saved at this location when I exited Firefox. I tried adding a filename to the preference: browser.bookmarks.file;C:\Users\Gerry\Documents\BOOKMARKS\Firefox bookmarks.html. It still didn’t save the bookmarks file at this location. How do I do it? How do I specify both the new file name and the path? The following is earlier correspondence.
    Answer to question: How can I do automatic backup of Firefox bookmarks? What is the name of the bookmarks file and where is it probably located in Windows?
    You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to true on the about:config page.
    That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page.
    Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.
    See also:
    * http://kb.mozillazine.org/Export_bookmarks
    * http://kb.mozillazine.org/about%3Aconfig
    Answer to question: I want to change the file location for the automatic backup file bookmarks.file, but I can’t find browser.bookmarks.file in the list on the about:config page.
    The browser.bookmarks.file preference does not exist by default. Right-click in about:config and select "New > String" to create it.

    The browser.bookmarks.file preference does not exist by default. Right-click in about:config and select "New > String" to create it.

  • Function module to download using file browser

    FUNCTION MODULE TO download the data to a file by choosing the path using file browser.

    In your selection screen use this below logic. Then on the screen a pop up file browser wud appear where you can select the path to download the file.
    PS: If this solves your problem please reward points and mark this question answered.
    Regards.
    SELECT-OPTIONS AND PARAMETERS                                        *
    Local File path
    SELECTION-SCREEN BEGIN OF BLOCK file_info  WITH FRAME TITLE text-001.
    PARAMETER : p_file TYPE ibipparms-path .
    SELECTION-SCREEN END OF BLOCK file_info.
    AT SELECTION-SCREEN EVENTS    - validate user input                  *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *Pop up screen to select the local file from PC
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = p_file.

  • Browse HTM files on Memory Card

    I would like to browse html files that I have saved (using a card reader) on my memory card, but keep getting a "file not found" error message.
    Would some kind soul please tell me what address I should enter when using "Go To Address"?
    I'm using a 6230, my memory card is called "Card" and one of the files is called "start.htm"

    You'll almost certainly need to open the file from a file browser like File Manager or Y-Browser.
    The Web browser will only be looking at an internet address not a local address.
    I have full End User experience of:
    5510, 3210, 3310, 3510, 3510i, N80, N80IE, 7610, 2610, 1208 and current E90.

  • File Browser gives strange names to jpgs?

    I just downloaded jpgs from my Sony camcorder, memory stick, to my mac, and iPhoto. Everything looks fine. In Motion under File Browser, iPhoto files I find instead of 3 jpgs with individual names, I get 1 file with the following:
    DSC[####].JPG:1:3 as name. When I import it into the Motion it is like a few seconds long, and contains all 3 of the photos but like a mini-film. Any help would be appreciated! David

    You're welcome...
    New Discussions ReponsesThe new system for discussions asks that after you mark your question as Answered, you take the time to mark any posts that have aided you with the tag and the post that provided your answer with the tag. This not only gives points to the posters, but points anyone searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well...
    Patrick

  • Can not select a PDF file in the file uploader window after clicking the Browse... button for a file type input element.

    After upgrading to 5 (this worked in 4) I can not select a PDF file in the File Upload dialog that appears when I click the Browse button next to an HTML file type input element. The specific HTML element source code has the attribute: ACCEPT="image/*". I can select image files such as jpg, png, tiff, etc. But not PDF. This worked great in Furefox 4 and works in the latest version of Safari.
    The HTML code for the form element is:
    INPUT TYPE="file" NAME="file_1" ACCEPT="image/*" SIZE=35
    The File Upload dialog lists all files with PDF extension as dimmed and not selectable in Firefox 5.
    Can you help?

    Hi Purush
    Unfortunately we couldn't solve the problem. Our IT specialist checked it with SAP directly. SAP doesn't support the SAP KW solution anymore. Therefore we checked-in the document in ".doc"-Format.

  • APEX File Browser ITEM - select only XML Files

    HI ALL,
    I have problem with File Browser Item.
    How to I use file browser item select only xmlfile (*.xml)?
    Edited by: Mahir M. Quluzade on Nov 29, 2010 2:33 PM

    Try using the attribute<tt>accept</tt> attribute using the item's HTML Form Element Attributes:
    accept="text/xml"but note the warnings about poor browser support.

  • Motion 5 Hangs (beach ball) when selecting a movie file in File Browser

    Using the file browser in Motion 5, select a movie file (any type of movie file) Motion hangs. Even occurs when trying to select a folder that contains any movie files. After selecting a movie in about 30 seconds the clip details will appear at the top of the file browser, but the video is never displayed in the small preview window. No problems when selecting any pictures or audio files. Also, can drag any of these same movie clips with the Finder into Motion and they play with no issue. Any ideas?

    Primarily have HD footage that uses the H.264 codec and SD footage that is DV NTSC. Also, have clips I have created with After Effects and rendered out as mov files using the Animation Codec, all have the same problem.
    Further, did not have this issue until after migrating to Lion, all was good with Snow Leopard. But, I can't say that the problem started immediately after the migration. Did not use Motion 5 until about 2 days after I did the migration.
    This is on a Macbook Pro 17in, early 2011, 8GB memory, AMD Radeon HD6750M

  • How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    How can I change (or select) what is being being used when I share, as the file cover. When I Share lets say "Master File" i want to select a frame that is used as the file cover. So when its on my desktop I see this image as the file icon.

    I don't think Finder does this (I've tried).
    iTunes does though. Where you can set artwork or the "poster frame"...
    This may not be what you want but if it helps, I know 2 ways  do this is
    Open the video in QuicktimePlayer7 | View | Set Poster Frame (even then, you might need to save it as .mov (ie in a 'mov container').
    Drag the file into iTunes and set the artwork (as in http://www.dummies.com/how-to/content/adding-album-cover-art-or-images-in-itunes .html)
    From there, iTunes will use that frame as the "poster frame" ie the photo/frame that shows when you browse your videos. Which is what you want, but limited to iTunes.
    When I do either of these above, the frame I set does not show when exploring files in "Finder" (or in the other Explorer tool I use called "Pathfinder").
    So it maybe, that exactly what you want, is not possible.

  • How to add a new right-click menu entry in Nautilus file browser?

    I want to add a couple of new context menu entries to Nautilus File Browser.
    So when I e.g. right-click in View Pane on a file "foobar.conf" an menu entry "edit with gedit" should appear (among the other default entries).
    When clicked the file "foobar.conf" should be passed to gedit (and gedit editor opened).
    How can I achieve this?
    Under Ubuntu there are nautilus-actions but when I try to install them in Solaris with
    pkg install nautilus-actions
    then this package is not found.
    How else can I create my own context menues?
    I would appreciate to have one script with all my context menus, which when run add them all in one step.

    To manage selected files or directories, you can use specific Nautilus variables like NAUTILUS_SCRIPT_SELECTED_FILE_PATHS.
    For more details and which variables exist, please read the content of the following URL :
    Nautilus File Manager Scripts: Questions and Answers

Maybe you are looking for