Kbase P121486: How to manipulate data in the screen buffer using the INPUT-VALUE attribute?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  30/07/2007 |
|
Status: Unverified
GOAL:
How to manipulate data in the screen buffer using the INPUT-VALUE attribute?
GOAL:
How to move data from the screen buffer to the record buffer using the ASSIGN statement?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
FIX:
The example below displays data in the screen buffer that is manipulated by adding 20 by using the INPUT-VALUE attribute, and moves the original input value in the screen buffer to the variable xx in the record buffer by using ASSIGN statement.
DEFINE VARIABLE xx AS INTEGER.
PROMPT-FOR xx.
MESSAGE "Screen Buffer Value: " xx:INPUT-VALUE + 20 VIEW-AS ALERT-BOX.
ASSIGN xx = xx:INPUT-VALUE.