baancust
16th May 2007, 14:28
I would like to know if it is possible to display the dynamic time on the form in Baan IV.I tried all the options given by earlier posts regarding clock it has not worked.
Even if I write the time display option in choice.interrupt it stops working if I do sum other transaction on form
Please help as it is an urgent requirement


Regards
baancust

en@frrom
16th May 2007, 16:26
The ideas given previously should normally work. If they don't in your case, please post us your script and maybe a screenshot of your form, so people can look at it, and help you finding a suitable solution...

Regards,
Eli Nager

baancust
17th May 2007, 06:58
choice.interrupt:
on.choice:
dat = dte$()
dat = dat(7;2)&":"& dat(9;2)& ":"&dat(11;2)
display("dat")

where dat is a display field on the form.


Even this interrupt has to be triggered once but the minute there is an action on the form the time stops incrementing.
I could not use utc.num() because that function is not there in BaanIV



Regards
Baancust

justknowledge
12th June 2007, 09:32
hi,

You can use baan standard function long time.num().

Regards
Nitesh

NPRao
12th June 2007, 10:18
baancust,

Refer to the original thread - Display date and time! (http://www.baanboard.com/baanboard/showthread.php?t=22946&highlight=choice.interrupt) and the link - 4GL choice sections (http://www.baanboard.com/programmers_manual_baanerp_help_4gl_features_4gl_choice_sections)
35 interrupt Do an action each time interval
Your code does not set the time interval.

Refer to - How To Ask Questions The Smart Way (http://www.catb.org/~esr/faqs/smart-questions.html)
Don't flag your question as “Urgent”, even if it is for you
That's your problem, not ours. Claiming urgency is very likely to be counter-productive: most hackers will simply delete such messages as rude and selfish attempts to elicit immediate and special attention.

There is one semi-exception. It can be worth mentioning if you're using the program in some high-profile place, one that the hackers will get excited about; in such a case, if you're under time pressure, and you say so politely, people may get interested enough to answer faster.
Finally, if you did find a solution, post a response back to share your knowledge with others.