blanchap
18th October 2009, 20:35
Hi all,

i want to pick your brain about something. Is there a way or function that could display the time (and refresh it) on a form?

I can display a field on the form with the time inside it but i want it to refresh every minute.

Regards.

PB

Andreas
19th October 2009, 08:14
Please use the search function of the board.
This has been discussed already.

http://www.baanboard.com/baanboard/showthread.php?t=35850
and
http://www.baanboard.com/baanboard/showthread.php?t=22946&highlight=choice.interrupt

You can also refer
http://www.baanboard.com/programmers_manual_baanerp_help_functions_timers_overview_and_synopsis

Andreas

blanchap
23rd October 2009, 20:20
Thanks for the info. I did not see them when i searched the forum.
One thing. I get unresolved reference to function next.event when i try the solutions posted in the forum.

PB

blanchap
23rd October 2009, 22:20
I do not know what i'm missing.
i've set my timer
i've set my choice interrupt but the time does not refresh itself.

form.1:
init.form:
timerid = set.timer

choice.interrupt:
on.choice:
dat = dat(7;2)&":"&dat(9;2)
display"dat")
refresh()

PB

blanchap
23rd October 2009, 22:22
Sorry,
i wanted to write
timerid = set.timer(1000) and not timerid = set.timer

PB