It seems to me that you shouild use XMLAdapter in this case. I don't think XMLTOCURSOR() can handle a recordset.
>Hi Sergey
>
>This is the command:
>
>Xmltocursor("c:\MyFile.xml","tmp_cursor",512 + 2048)
>
>and this is the file:
>(look at field "gnreValor" it does not have decimals)
>
<snip>
--sb--