FrenkR
27th June 2013, 13:36
Hi,
I would like to start a new (MODAL) session in 4GL script for printing some document. In a started session, I would like to fill (initialize) fields "orno.f" and "orno.t" with special values and hence leave session to a user interaction.
Is it possible to do that in 4gl script? I don't have source file for a started session.
Rgds,
Frenk
mark_h
27th June 2013, 15:52
Some sessions have a feature if you zoom to the field you can set some variables and they will populate in the called session. Most of the time when I do something like this I am calling find sessions - so I just set the table fields. If this session is not setup for this type functionality then I do not see how you can do it without using something like source code extender. We use qkey and Vamsi has an example on how to do this the code and utilities forum. Typically I just setup zoom variables and export and import them into the called session.
FrenkR
27th June 2013, 19:40
does source code extender exist for LN?
Any sample code?
I believe that session has a possibility to setup this fields because if it is opened from some other session (for which source code doesn't exist too) fields are properly filled. Is there any way to see this *interchange* variables, that must be filled that session opens as expected?
Rgds,
Frenk
mark_h
28th June 2013, 00:17
I think in works on LN - check the vamsi thread in code and utilities to see how it works.