Dwallace
12th December 2002, 22:59
Instead of zooming to tdsls4240s000, I want to use the stpapi.put commands and fill the form and execute the continue process.
Problem - how do I send the zoomfield$ = 'direct.del'? The standard program has zoom.from.direct.del logic that needs to execute.
thoughts? and thanks!
mark_h
12th December 2002, 23:46
Not sure if this is possible or even if the zoom.from section will get activated. But is it possible for you to put all the fields, zoom to the session, then just kill it or end it so it returns to the standard program to execute the after zoom field. The problem is that I am not sure that it will not reset your values. I am not familiar with these sessions.
I do have one program that when the main session calls a sub-session, and then returns - I have to do the put fields again. Not sure if this will work for you or not.
Just a thought. :)
Mark
Dwallace
12th December 2002, 23:59
Mark - it is executing the zoom logic just the zoom.from.other instead of zoom.from.direct.del.
I need to fill the zoomfield$ with 'direct.del'.
I thought about setting it by using the api flag, but then standard Baan may come around and activate this session for api.
btw - using IVc4
mark_h
13th December 2002, 16:05
I see what you are saying now - I managed to trick one Baan session by setting some table fields myself. That way they had the values I needed for the session to work. I do not know of a way for this to happen with a script variable, not unless you did an export and an import when api.mode was true. That is about the only way I can think of to get this work.
Mark