Terri-
In the procedure that updates the date, you could have a trigger to update the status field in the database:
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
ON ASSIGN OF myDate
DO:
myStatus = "New Status".
END.
[/code]
Then in the program that displays the status, you could use the PSTimer OCX as Rich suggested, or use a simple time-out value on your WAIT-FOR statement:
<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
PROCEDURE DisplayStatus:
DISPLAY MyStatus.
END PROCEDURE.
REPEAT:
RUN DisplayStatus IN THIS-PROCEDURE.
WAIT-FOR CLOSE OF THIS-PROCEDURE PAUSE 60.
PROCESS EVENTS.
END.
[/code]
Is is just some sample (ie untested) code, but hopefully it can point you in the right direction
-Chris
------------------
Chris Schreiber
ProgressTalk.com Manager
chris@fast4gl.com