Hi Martin I suspect the issue you are having is not with the dynamic array, but that you are using a com object within the .Net framework, which requires it to step out of the environment each time you make a call, ie each time you update the dynamic array. The issue is not with UniObjects, but COM in .Net. You would resolve the problem going to IBM's U2 .Net interface as going with jBase or Raining data's .Net product.
If you wish to stay with the com version, and it seems to be a batch update, you could put the update routine as a VB6 compiles routine and then pass the array to it to update as 1 com call. Alternatively you could build the dynamic array manually by concatenating the strings with CHAR(254), etc and stay fully in the .Net frame work. With .Net UniObj, I have opened a session, got data and closed the session and then used the dynamic array handling without issue, so you should not require a session to be open to use the dynamicarray facilities. Regards David Jordan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Scholl Sent: Tuesday, 25 January 2005 6:12 AM To: [email protected] Subject: [U2] UO.Net and UniDynArray Is it possible to work on uodotnet.UniDynArrays without having a session object open? I have tried to manipulate a uodotnet.UniDynArray, but when the session is closed, it throws an error. I have the nagging suspicion that UO.Net needs an open session to execute 'Oconv', Iconv' etc on the server through a call. I hope this is not true. It would make UO.Net pretty useless for stateless paradigms like web programming. Has anybody tried jBase's mv.Net? Martin Scholl President HIPAAsuite 18910 New Hampshire Ave Brinklow, MD 20862 301-924-5537 Phone 301-570-0139 Fax 301-613-9572 Cell ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
