Allowing 'sub forms' to see Working Storage of 'Main form'?

I have a VisCobol solution (SOL1) containing a main program (MP1) ( form) and another 'sub' program ( form) (SP1) which is contained within the SOL1 structure.

MP1 opens various files etc and has the majority of the working-storage contained therein.

On a 'call out' to SP1 I want SP1 to be able to 'see' file data and working storage variables already populated by MP1. Is there a way of doing this or must I continually pass linkage around between MP1 and SP1?

SP1 would be a form which contains a list box showing employee data but the file is already open as part of MP1 code.

Parents Reply Children
No Data