HI All,
I need help. I have a structure, `str_patient`, with different data types such as long, string, boolean, datetime, datawindow, and userobject.
From one datawindow, I am loading the local structure with all required parameters and the datawindow, like this: `lstr_patient.d_appt = dw_data`.
I am then passing the structure to another user object and receiving it as instance structure `istr_patient`, while keeping the object open.
When I repeat the process a second time, the datawindow in the structure from the first instance gets overwritten by the second instance.
But I can see string, long, Boolean all are okay with 2 different instance, only dw got overwritten from second to first instance.
Can you help me understand why this is happening and how to fix it?
I have tried using Getfullstate to get the dw as blob and add one more variable as blob in structure (str_patient) and assign dwblob to structure blob
then passing it as value to another user object and receiving the structure and try to create dw from the blob using SetFullState, trying to cross check it is working or not.
seems working fine in first glance.
feeling it takes little more time like 2 - 3 secs more then usual when using getfullstate and setfullstate.
Let run it fully to understand.
Thank you.
Regards,
Sathishkumar S
Thank you, I have used GetFullState and SetFullState, and it is working well.
Thanks & Regards,
Sathishkumar S.