Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLADAPTER Class.ToCursor method
Message
De
21/03/2006 17:54:22
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01106122
Message ID:
01106448
Vues:
26
Hi,
There is only one cursor/file created with a field structure as specified in the XML file. See this link http://www.code-magazine.com/article.aspx?quickid=0301092&page=1

Multiple files can only handled in a .Net Dataset as far as I know.

>Hi Neil, thanks for your reply.
>
>I was lao getting an error when I tried to access the file
> index or expression does not match member of the collection
>
>My Code Is:
>adapter = CREATEOBJECT("XMLADAPTER")
>x=Adapter.LoadXML("RAAP.XML",.T.)
>Adapter.Tables(1).ToCursor()
>
>
>The Adapter.tables gives the error, even though I can see the file in Dot Not.. seems to have 3 differnt files .
>
>How do I know how many files.. Is there a Tables(Count) or similar ?
>
>Regards,
>
>gerard
>
>
>
>>Hi,
>>XMLTable.ToCursor( [ lAppend [, cAlias [, nCodePage ]]] )
>>
>>Use an alias to access the cursor, otherwise it ends up with the same name as the input file.
>>
>>>Hi.
>>>adapter.Tables(1).ToCursor()
>>>
>>>Anybody know waht the ToCursor method does.
>>>How do you access the cursor that's created ?
>>>
>>>Regards,
>>>Gerard
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform