| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Enter data | YES | NO | NO | All |
This command puts Omnis into enter data mode which allows data to be entered via the current window. An error is generated if there is no open window. It initiates an internal control loop which does the following:
By default, the Enter data command waits for an evOK or evCancel event. When these events are triggered enter data mode is terminated (assuming the window is not in modeless enter data mode). However you can include a termination condition with Enter data which causes enter data mode to continue until the expression becomes true.
# $construct of window classEnter data## ; waits for a evOK or evCancel event
If flag trueOK message{User has pressed Return}
ElseOK message{User has canceled}
End If
# or
# $construct of window class
CalculateiValueas0Enter datauntiliValue>10## waits for the user to enter a value greater than 10 into a entry field