ENTER-QUERY Mode

SYSTEM.MODE indicates whether the form is in Normal, Enter Query, or Fetch Processing mode. The value is always a character string.

* NORMAL - Indicates that the form is currently in normal processing mode.

* ENTER-QUERY - Indicates that the form is currently in Enter Query mode.

* QUERY - Indicates that the form is currently in fetch processing mode, meaning th

1.After pressing F11, Then system will switch to ENTER-QUERY mode.

2.If you hit Ctrl+F11, system will execute query,and retrieve records to you,system mode will turn back to 'NORMAL'




Sample Code for enter query:

Consider the following When-Button-Pressed trigger for the Query button.If the operator clicks the button in Normal mode, the trigger places the form in Enter-Query mode (using the ENTER_QUERY built-in). Otherwise, if already in Enter-Query mode, the button executes the query (using the EXECUTE_QUERY built-in).

IF :SYSTEM.MODE = 'NORMAL' THEN
ENTER_QUERY;
ELSE
EXECUTE_QUERY;
END IF;


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值