Home » Developer & Programmer » Forms » WEBUTIL_FILE.FILE_OPEN_DIALOG File filter not working (Forms 10G, windows xp)
WEBUTIL_FILE.FILE_OPEN_DIALOG File filter not working [message #461564] Fri, 18 June 2010 20:22 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

l_filename := WEBUTIL_FILE.FILE_OPEN_DIALOG('c:\','*.xls','*.xls','Upload Excel File');


The code above doesn't run as expected. I see these on dialog box:

File name : *.xls
Files of type: All Files(*.*)

What I've been doing wrong? I want to see only folders and excel files when the dialog box appears, but I can see all types now like pdf's and word documents.
Re: WEBUTIL_FILE.FILE_OPEN_DIALOG File filter not working [message #463392 is a reply to message #461564] Thu, 01 July 2010 02:35 Go to previous messageGo to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

l_filename := WEBUTIL_FILE.FILE_OPEN_DIALOG('c:\','', '|Excel Files|*.xls|' ,'Upload Excel File');


Finally it's working.

Now I need to know how to filter two file types. The filter I need must read .doc and .xls
Re: WEBUTIL_FILE.FILE_OPEN_DIALOG File filter not working [message #463397 is a reply to message #463392] Thu, 01 July 2010 02:54 Go to previous message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

Don't bother, it's now working.
Previous Topic: Arabic Text issue
Next Topic: export the source code of an object
Goto Forum:
  


Current Time: Fri Sep 20 08:17:18 CDT 2024