VishalMistry
20th July 2016, 13:35
Hi,

I have created a display session tfgld1510m000. This session mimics sub session tfgld1510s000 (Display batches by finalization run number)

Main table used for this session is tfgld100 and primary index is Index 5, which consists of Year, Finalization run number and batch.
I have taken first two fields in the header part.

Now the problem is whenever I am clicking on next group or previous group, the data is not refreshed on form. For this I have to click on Refresh from Edit menu.

Can anybody guide me what could be the issue ?

Screen shot of form attached.

Vishal

mark_h
20th July 2016, 17:32
The first thought that ran thru my head is what is the script type? Assuming you created your own script for the new session - you could probably use the subsession script, but I am not too familiar with it.

shah_bs
20th July 2016, 22:19
It is indeed related to script type, as Mark says. Assuming that the session was generated from scratch as with a Form Type 3, it should already have the Program Script type as Type 1/2/3 with M. Table.

If the script type is not so, change it to that and recompile.

For good measure, do a Create Runtime DD of the session itself, EXIT out completely from BAAN, and restart.

(Unless there is some programmatic change which is preventing the session from behaving as it should.)