用来设置某个栏位为必录
可以在A的WHEN-VALIDATE-ITEM里写,实现条件控制B栏位是否为必录。
使用例:
app_fields.set_required_field('WHEN-VALIDATE-ITEM',:block.A is not null,'block.B');
---------------------------------------------------------------------------------------------------------------
附procedure原码:
PROCEDURE set_required_field(event VARCHAR2,
condition BOOLEAN,
field1 VARCHAR2,
field2 VARCHAR2 DEFAULT NULL,
field3 VARCHAR2 DEFAULT NULL,
field4 VARCHAR2 DEFAULT NULL,
field5 VARCHAR2 DEFAULT NULL) IS
value NUMBER;
BEGIN
COPY('Entering app_field.set_required_field. Event is '||event||'.','global.frd_debug');
if (condition) then
value := PROPERTY_ON;
else
value := PROPERTY_OFF;
end if;
if ((not set_property(field1, REQUIRED, value)) or
(not set_property(field2, REQUIRED, value)) or
(not set_property(field3, REQUIRED, value)) or
(not set_property(field4, REQUIRED, value)) or
(not set_property(field5, REQUIRED, value))) then
null;
end if;
COPY('Completed app_field.set_required_field. Event is '||event||'.','global.frd_debug');
END set_required_field;
分享到:
相关推荐
app_release.apk
标题中的"c_app_window.zip_c_app_window.zip"似乎是一个重复的文件名,这可能是由于复制错误或者用户在输入时的疏忽。不过,我们可以假设这里提到的是一个名为"c_app_window.zip"的压缩包,它包含了与C语言应用窗口...
sixty_nine_app_20230925_gjcp.apk
xlav_app_20231025_jbun.apk.1
NB_Android_OneApp_v2.2.8_b10_Release_202305051612__sign.apk
Android_OneApp_v2.2.4_b9_Release_09272_jiagu_sign.apk.1
app_release.apk.1.1
Android_OneApp_v2.3.0_b15_Release_202310181631__sign.apk
Android_OneApp_v2.1.2_Release_cm4ddow2cn8fbeoqp_jiagu_sign.apk.1.1
《MIT App Inventor工具2.3.0版Windows安装指南》 MIT App Inventor是一款由麻省理工学院(MIT)开发的,专为初学者设计的Android应用开发平台。它采用了积木化的编程界面,使得非专业程序员也能轻松上手,进行应用...
注意:MIT_App_Inventor_Tools_2.3.0_win_setup.exe适用于Win7,win10上是不支持的! APP Inventor网址(广州教育信息中心服务器):http://app.gzjkw.net/login/
app_official_release_7.0.5.2_2023010610_2023-01-09_10-23-35_legu_aligned_signed.apk
《vcruntime140d_app.dll与msvcp140d_app.dll:C++运行时库在Qt开发中的重要角色》 在Windows平台上进行C++程序开发时,经常会遇到名为vcruntime140d_app.dll和msvcp140d_app.dll的动态链接库文件。这两个文件是...
com.qihoo.appstore_300100808.apk
com.qihoo.appstore_300100860.apk
Lenze 17H26 BLE SDK User Guide App_att.c 文件说明 本文档详细介绍了Lenze 17H26 BLE SDK 的 app_att.c 文件的实现和应用,旨在帮助用户快速理解和应用Lenze 17H26 BLE SDK 中的app_att.c 文件。通过本文档,您将...
CHSI_APP_2.0.0.apk
legado_app_3.21.092920.apk
thunder-miner-app_V1.2.56_meson.ipk thunder-miner-app_V1.2.57_meson.ipk thunder-miner-app_V1.2.62_meson.ipk thunder-miner-app_V1.2.68_meson.ipk thunder-miner-app_V1.2.129_meson.ipk thunder-miner-app_V...
channel_net.magicchair.app_magicchair_product_v1.0.1_101_20221121113908_release.apk.1.1