- Sathishkumar S
- PowerBuilder
- Tuesday, 4 June 2024 01:44 PM UTC
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?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.