Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLADAPTER Class.ToCursor method
Message
 
À
21/03/2006 04:57:23
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:
01106208
Vues:
48
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform