CHOOSE field option

chenthil

New Member
Hello
With the following code:

DISPLAY files filetype
WITH FRAME showfile.
choose FIELD files WITH FRAME showfile.
filechose = frame-value.

The problem I am facing with this is when user presses F4 the program still accepts the value and proceeds with creating records in table.

how do i cancel the program from runnong when F4 is pressed?

Chenthil.
 
You need to show more of your code. That snippet isn't enough to demonstrate the problem.

Furthermore -- do not use CHOOSE in new code. It is a deprecated part of the language. It won't be removed but it is frowned upon as a bad programming practice and it will make your code much harder to fit into modern programming paradigms and frameworks.
 
Back
Top