It involves either a function in your codeunit to receive the Code-field, or the use of a single instance codeunit (with functions to get & recieve the parameters).
No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Imagine a codeunit being an object. Imagine global vars being attributes. Imagine functions being methods. So, a function like SetThisVar and call it like CodeUnitVar.SetThisVar(value); ...
Do It Yourself is they key. Standard code might work - your code surely works.
Comments
How To pass parameters between objects (forms, reports, ...)?
How To pass parameters between objects (forms, reports, ...)? Revisited
It involves either a function in your codeunit to receive the Code-field, or the use of a single instance codeunit (with functions to get & recieve the parameters).
Do It Yourself is they key. Standard code might work - your code surely works.