problem : passing parameters between forms using shared library
Hello,
Here is my problem :
I have 2 forms A and B.
Form A and B have the same attached library 'LIB'.
I want to use shared library to pass parameters from Form A to Form B. My Library declare a variable MyVariable in the specif package.
Form A set a value to MyVariable.
Form A call Form B with the command :
open_form('B',
NO_ACTIVATE,
NO_SESSION,
SHARE_LIBRARY_DATA);
Forms B has some triggers which fire at the call with this order : PRE-FORM, WHEN-NEW-BLOCK-INSTANCE, WHEN-NEW-RECORD-INSTANCE and WHEN-FORM-NAVIGATE.
In the 3 first trigger, If i try to read the value of Lib.MyVariable, it's ok, it's the value set by Form A.