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.

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'

ENTER-QUERY Mode


ENTER-QUERY Mode


ENTER-QUERY Mode


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;


相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2022-01-18
  • 2021-11-10
  • 2021-07-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-10-14
  • 2021-07-01
  • 2022-03-07
  • 2021-12-17
相关资源
相似解决方案