Example of Get_File_Name Function in Oracle Forms

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
Displays the standard open file dialog box where the user can select an existing file or specify a new file.

Syntax
FUNCTION GET_FILE_NAME
(directory_name VARCHAR2,
file_name VARCHAR2,
file_filter VARCHAR2,
message VARCHAR2,
dialog_type NUMBER,
select_file BOOLEAN;

Returns VARCHAR2

See also: A Practical example of Get_File_Name built-in

Parameters

directory_name Specifies the name of the directory containing the file you want to open. The default value is NULL. If directory_name is NULL, subsequent invocations of the dialog may open the last directory visited.
 
file_name Specifies the name of the file you want to open. The default value is NULL.
 
file_filter Specifies that only particular files be shown. The default value is NULL. File filters take on different forms, and currently are ignored on the motif and character mode platforms. On Windows, they take the form of Write Files (*.WRI)|*.WRI| defaulting to All Files (*.*)|*.*| if NULL. On the Macintosh the attribute currently accepts a string such as Text.
 
message Specifies the type of file that is being selected. The default value is NULL.
 
dialog_type Specifies the intended dialog to OPEN_FILE or SAVE_FILE. The default value is OPEN_FILE.

select_file
 Specifies whether the user is selecting files or directories. The default value is TRUE. If dialog_type is set to SAVE_FILE, select_file is internally set to TRUE.

GET_FILE_NAME examples
/*
** Built-in: GET_FILE_NAME
** Example: Can get an image of type TIFF.
*/
DECLARE
filename VARCHAR2(256)
BEGIN
filename := GET_FILE_NAME(File_Filter=> ’TIFF Files
(*.tif)|*.tif|’);
READ_IMAGE_FILE(filename, ’TIFF’, ’block1.imagefld);
END;

Like us to get notifications for free source code in future, thanks.

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6
标签: oracle

“Example of Get_File_Name Function in Oracle Forms” 的相关文章

Pro Android学习笔记(一一八):Location(4):某位置的到达或离开

作者@恺风Wei。LocationManager通过addProximityAlert()可以在设备到达或离开某个地点(一定范围)是发送Intent,再由Intent触发Service、BroadcastReceiver或Activity,对触发intent可以设置一定的时限。可以针对GPS和ne...

【区块链 | EVM】深入理解学习EVM - 深入Solidity数据存储位置

目录 目录 简介 EVM是一个工业工厂 为什么要在 Solidity 中理解 Evm 数据位置? 数据位置 → 概述...

作业随笔-指针

指针数组数组指针函数指针二维数组传参函数指针传参函数指针解引用,调用指向函数指针的指针#define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> /* int main() { int arr[5];//arr是一个5个元素的整型数组 i...

UVa 10916 Factstone Benchmark (数学&阶乘的处理技巧)

10916 - Factstone BenchmarkTime limit: 3.000 secondshttp://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=99&page...

基于LCC谐振补偿网络的无线充电技术的研究

【摘要】无线充电技术源于无线电力输送技术利用磁共振在充电器与设备之间的空气中传输电能接收线圈通过磁耦合就能在两端得到感应电压传统方式是同时利用电容等形成谐振提供线圈的无功补偿实现电能高效传输的技术。但是在无线磁共振电能传输系统中由于发送线圈与接收线圈之间往往具有很大的间隔或者没有对齐使得两个线...

Visual Studio高效调试手段与技巧总结(经验分享)

目录 1、对0xCCCCCCCC、0xCDCDCDCD和0xFEEEFEEE等常见异常值的辨识度 2、在Debug下遇到报错弹框,点击重试,查看函数调用堆栈...