0

I had create a button and I had written following code in it

declare
     l_flname varchar2(500) ;
begin
    l_flname := GET_FILE_NAME( File_Filter=> 'All Files (*.*)|*.*|',message=> 'select file to load');
    if l_flname is not null
    then
     :load.FILE_NAM := l_flname;
    else
         message('Please Select File To Load',acknowledge);
         message('Please Select File To Load',no_acknowledge);
         synchronize;
         raise form_trigger_failure;
    end if;
end;

But when I run form and click on the button Than I should open a Windows and from there I can select a file but instead of that I get message 'select file to load' Please help me out

4

1 に答える 1

0

Webutilを使用して、クライアントマシンからファイルをロードするために同じことを行うことができます

役に立つかもしれない以下のリンクを見つけてください

http://www.baigzeeshan.com/2010/01/open-file-dailog-box-example-using.html

http://fdegrelle.over-blog.com/article-1810290.html

于 2012-07-04T12:54:58.450 に答える