petey1
7th October 2002, 22:51
Baan 4, c3.
Need to show the actual time on a form. I made a "time clock" for our factory workers to punch in and out. The time must change in the form even when no one is using the "always open" program.
I have the "time" showing on the form, but it won't show the change until someone does a transaction.
The pc clock is never right.

Thanks.

baanprog
7th October 2002, 22:59
use time.num() function and refresh the screen after every milli second or whatever u want it to be.It will work.

If you dont know how to write, paste ur code here i will make it work.

Cheers

NPRao
7th October 2002, 23:50
Petey,

You can just keep it in a while loop and call the display function.


while true
curr.time = time.num()
display("curr.time")
endwhile


Hope it helps you.

I think it might also be dependent on that the program script type.