博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Get_File_Name Usage in Oracle Forms 6i
阅读量:5040 次
发布时间:2019-06-12

本文共 1404 字,大约阅读时间需要 4 分钟。

 of Oracle Forms 6i, used to get the file name with address by browsing the file. You can browse a specific extension name file or with multiple extensions using wild cards.
 
In this example I am showing three different usage of Get_File_Name function, one is given for to get any 
 name into a display field, second is given to 
 into an image item and third is for 
.
 
Below is the screen shot for this example:
 
 
You can also download this form from the following link:
Write the following code on When-Button-Pressed trigger for Browse CSV Files button:
 
declare
filename varchar2(500);
begin
filename := GET_FILE_NAME(File_Filter=> 'CSV Files
(*.Csv)|*.Csv|');
:block2.txtfile := filename;
end;
Write the following code on When-Button-Pressed trigger for Upload Image button:
 
declare
filename varchar2(500);
begin
filename := GET_FILE_NAME(File_Filter=> 'Jpg Files
(*.jpg)|*.jpg|Gif Files (*.gif)|*.gif|All Files (*.*)|*.*|');
READ_IMAGE_FILE(filename, 'JPEG', 'block2.image9');
end;
Write the following code on When-Button-Pressed trigger for Browse Wave button:
 
declare
filename varchar2(500);
begin
filename := GET_FILE_NAME(File_Filter=> 'Wav Files
(*.wav)|*.wav|All Files (*.*)|*.*|');
READ_sound_FILE(filename, 'wave', 'block2.sound_item11');
play_sound('block2.sound_item11');
end;
Like us to get notifications for free source code in future, thanks.

转载于:https://www.cnblogs.com/quanweiru/p/6220206.html

你可能感兴趣的文章
Android 内存泄漏优化总结
查看>>
luogu4849 寻找宝藏 (cdq分治+dp)
查看>>
Spring Cloud微服务笔记(五)Feign
查看>>
C语言键盘按键列表
查看>>
Codeforces Round #374 (Div. 2)
查看>>
oracle数据类型
查看>>
socket
查看>>
Vue中使用key的作用
查看>>
二叉索引树 树状数组
查看>>
日志框架--(一)基础篇
查看>>
Java设计模式之原型模式
查看>>
Spring学习(四)-----Spring Bean引用同xml和不同xml bean的例子
查看>>
哲理故事与管理之道(20)-用危机激励下属
查看>>
梳理caffe代码common(八)
查看>>
关于源程序到可运行程序的过程
查看>>
linux中的条件变量
查看>>
wepy的使用
查看>>
N3292系列资料之RTC介绍
查看>>
System.ValueTuple 未定義或匯入預先定義的類型
查看>>
Redhat6.4安装Oracle 11gr2 64位 注意事项
查看>>