Hi Rodolfo for me in this case is better to use XML XML is exactly fot this cases that have everything to do with data take the following:
<?xml version="1.0" encoding="Windows-1252"?>
<root>
<data>
<field1>value< /field1>
<field2>value< /field2>
<field3>value< /field3>
<fieldn>value< /fieldn>
</data>
</root>
no you can pass this to your savedata and inside you can do an XMLTOCURSOR.
>I'm passing parameters this way:
>
>x = CreateObject("AnyThing.COM_A")
>x.Propertie1 = "Blá"
>x.Propertie2 = "Blá"
>x.Propertie3 = "Blá"
>x.SaveData
>
>But I've read about it and maybe I'm wrong... I should do this:
>
>x = CreateObject("AnyThing.COM_A")
>x.SaveData("Blá", "Blá", "Blá")
>
>But... I have a lot of parameters to pass... What should I do?
>
>a) Use Array?
>b) XML?
>c) other solution?
>
>If I must use XML, how can I create a XML if I don't have a cursor to use CursorTOXml()? Are there some funcions to create it?
>
>Thanks! :)
Alexandre Palma
Senior Application Architect