Sorry for the delay in replying.
ImportString seems like an excellent idea and I've got it working after creating my first Import Template on a datawindow. I've always wondered what the new XML thing that I remove from display when editing a datawindow is for
However, it seems pretty slow depending on how large the data is. Since I'm planning to use this in the future for everything our application does it's probably too slow.
So now I'm looking into getting back an array from the OLE call and setting a structure. Not having much luck in getting it working at the moment. I can get an array of any returned from the call and I can then assign each element of that array to an OLEObject and then I can get each field from the OLEObject and assign it to my structure. However I was hoping I could dump stuff into my structure at least a row at a time if not the whole thing in one go.
Anyone have any ideas?
Here's the code that works:
str_test lstr_test
oleObject lole_test
any lany[]
lole_test = CREATE OLEObject
lany = iuo_tcp.iole_utils.GetArray()
lole_test = lany[1]
lstr_test.s_str1 = lole_test.string1
lstr_test.s_str2 = lole_test.string2
DESTROY lole_test
Thanks.