max_turrell
6th April 2023, 17:08
Hi,
I'm having some issues with displaying the contents of an external variable in a new 'TX' Session I have created in LN Studio.
The premise of the new Session is that it is an 'update' process which could potentially takes minutes to complete each time it is executed. To reassure the user that it is actually doing something and not looping while the 'loading' message is on screen, I have added an external variable to the Form design. This variable will be given the key data (e.g. Order No, Line No) of each record it processes and display this on screen. This way the user can see the update process moving through the data.
The update process is working fine - but the values of the records are not being shown on screen in the external variable. I have tried the display("fieldhere") and display.fld(actual.occ, "fieldhere") commands, but neither of these have worked.
The variable is defined as 'extern' in the script source and the domain definition matches the one I have given the Form Definition.
Is there something different that needs to be done in Studio for this to work? For example: different command, definition, etc.
Thanks,
Mark
I'm having some issues with displaying the contents of an external variable in a new 'TX' Session I have created in LN Studio.
The premise of the new Session is that it is an 'update' process which could potentially takes minutes to complete each time it is executed. To reassure the user that it is actually doing something and not looping while the 'loading' message is on screen, I have added an external variable to the Form design. This variable will be given the key data (e.g. Order No, Line No) of each record it processes and display this on screen. This way the user can see the update process moving through the data.
The update process is working fine - but the values of the records are not being shown on screen in the external variable. I have tried the display("fieldhere") and display.fld(actual.occ, "fieldhere") commands, but neither of these have worked.
The variable is defined as 'extern' in the script source and the domain definition matches the one I have given the Form Definition.
Is there something different that needs to be done in Studio for this to work? For example: different command, definition, etc.
Thanks,
Mark