Almudena Doncel
28th May 2002, 17:33
Hello,
I need to use the session ttstpcalendar as zoom of a date field and I don“t know the return field of this session.
Could you help me?
Thanks
NPRao
28th May 2002, 20:10
I dont know which BaaN version you are working upon.
I am on the BaaN-5.2, if you have the date/time fields in the form fields you automatically get the data/time zooming options.
mark_h
28th May 2002, 20:15
I tried once to get ttstpcalendar to work as a zoom and could never figure it out. It seemd to lock the session. I searched by old baanfans digest and could not find anything about this. I was able to convince my users that when in a date field, then could just use tools/calendar option from the menu bar.
Hope someone has a better answer. By the way we are on 4c3 and do not get the zooms that NPR mentions.
Mark
gfasbender
28th May 2002, 21:07
In a date field, can't you just hit Cntl-Shift-Z to get the calendar to execute? Or, maybe it's Cntl-Alt-Z? Even on 4C3 Mark!
mark_h
28th May 2002, 21:22
Actually on our system ctrl-shift-z only works in the query by forms. When using a session and a date field the "f2" key works for me. Not sure how all the other systems or versions of Baan work.
Mark
Han Brinkman
29th May 2002, 09:06
The zoom to ttstpcalendar works also in 5b.
Han
ReinhardH
4th May 2004, 12:57
You find the return value in g.value.
I give you a small program code:
long year, month, day
if type.of.field() = DB.ENUM then
activate(ottstpcalendar)
repeat
until g.value > 0
num.to.date(g.value, year, month, day)
endif
en@frrom
4th May 2004, 13:16
Han Brinkman,
How do I get it working for Baan 5.0b?? Do I have to set the date field as a zoom field? Are there shortcuts to be used?
en@frrom
4th May 2004, 13:19
Oh ok, got it; just by standing on the date field and hitting 'f2'. I didn't figure it out first, because I have Baan shortcut functions on the 'f' keys, including 'f2'...