Redisplay
Refreshes the frame and displays the current values.
Syntax
redisplay
Description
The 4GL redisplay statement refreshes the frame and displays the current values earlier than normally occur. Usually, changes made to fields don't appear in the window until all statements for the current operation are executed.
The forms system does not process a redisplay statement if no changes have been made to the current frame, or if the forms system is unable to detect those changes (such as, changes made to the frame via write statements in an Embedded Query Language procedure).
To force the forms system to refresh the frame, issue a clear screen statement prior to the redisplay statement.
There are no parameters for redisplay.
Example
Display a newly created part number before updating database table part with the values displayed in the form:
'Add' =
begin
editparts := select partno =
(max(partno) + 1)
from part;
commit;
redisplay;
sleep 2;
insert into part (partno, partname, type)
values (partno, name, type);
commit;
end
Last modified date: 08/14/2024