Hi Luis.
I need to run the code and see what fails - to do it with just looking is to much for this day.
>docomando fails while looking into the code ...
>
>looking through it w/o running it. Well that's large
>
>;)
>
>Hi Lutz,
>
>Thanks for your reply, but can you suggest me another method that be able to read all the XML file content inserting the values into my cursor crstmp !?
>A small example based on my code would be fantastic :)
>
>Curiously, on my XML file i have 2 days : 05.02.2022 and 06.02.2022, this problem occurs only if i try to insert 1 Day, ex: 07.02.2022, but if i specifie from 05.02.2022 to 07.02.2022, everything work !!??
>Sincerely, i don´t understand why ?
>
>I send you in attachment Zip file for theses 2 days.
>
>Best regards,
>Luis
>
>Many thanks,
Hi Lutz,
I understand !
I try this little approach using xmlAdapter:
cFile = "c:\phc24\dossiers.xml"
adapter = CREATEOBJECT("XMLAdapter")
adapter.LoadXML(cFile,.T.)
adapter.tables(1).ToCursor()
But i receive this error:
Index or experession does not match an existing member of the collection
Sorry and thanks again,
Luis