goooch
16th November 2004, 14:35
Hi All!
I want to make a little AFS session in which I would like to put ^R in tisfc001.prdt field in tisfc0101m000 session... just recalculate tisfc001.prdt for some not active orders.
Could anybody help me?

mark_h
16th November 2004, 17:30
Looks like the ^R takes place in the on.input section of tisfc001.prdt. Since we do not own source code I am not positive this event gets executed. Have you tried putting the chr$ for a control-R into the field and maybe executing a save or update to see if it updates the field. Not really sure what will happen and you may even have to do a save twice. Do you own source?

Mark

lbencic
16th November 2004, 17:57
Not that it can't be done for sure, but that is sort of what they have documented in the afs.doc under 'Hidden Functionality' - the field level calls, like zooms, cannot be seen / executed by the afs. Not sure if this applys to the field level commands such as ^R, but it's very possible that this is not supported.

Marks idea is a good one, though, let us know what you find.

goooch
17th November 2004, 14:49
A little Rush-script only on on.input event
if need.this.good.function then
in.ret=CTRL_R
endif
...=get_function ...
...=exec_function ...

AFS+RUSH -> no hidden functionality

Lisa, Mark, thank you