Avatar of Godfrey Tsamaesi
Godfrey Tsamaesi asked on

oracle forms, open dialog box

I have used GET_FILE_NAME(File_Filter=> 'All Files |*.*|'); in my button to open a dialog but nothing is happening.

DECLARE
      filename VARCHAR2(2000);
BEGIN
    filename := GET_FILE_NAME(File_Filter=> 'All Files |*.*|');
end;
Oracle Database

Avatar of undefined
Last Comment
Helena Marková

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Helena Marková

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Godfrey Tsamaesi

Thanks Helena for your reply, i did try to use CLIENT_GET_FILE_NAME however i  get error 'CLIENT_GET_FILE_NAME must be declared ' when  i compile my form. See screen shot attached.
Helena Marková

I don't see screen with error. Have you attached webutil.pll library to your form without path to it ?
ASKER
Godfrey Tsamaesi

Hi below is the peace of code i have. Yes i attached webutil.pll library to form without path to it.

Declare
      w_file_name varchar2(2000);
Begin
      w_file_name := CLIENT_GET_FILE_NAME ('D1', null, 'All Files (*.*)|*.*|',null,open_file,true);
                                    
End;
Forms_11g.PNG
Forms_11g.PNG
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
SOLUTION
Helena Marková

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Godfrey Tsamaesi

I  have put them i'm getting a different error when i deploy my forms to the server '
Compilation errors have occurred.' but when i compile locally there are no errors.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Helena Marková

Webutill library is the solution.