Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import HTML table data into Foxpro table
Message
 
À
09/10/2006 08:05:28
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01160464
Message ID:
01160520
Vues:
8
>I did something like this but couldnt get it right

>m.o1 = createobject("internetexplorer.application")
>m.o1.navigate2(filename)
>do while m.o1.readystate # 4
>enddo
>?m.o1.document.body.childnodes[1].innertext

>That gives all the data in the html but not of the table alone
>also extracting data from the return is not easy because it has no >delimiters...

>any better way?
Hi, Suhas
After loading the html-document use
getElementById, if the table inside document has it,
or getElementsByTagName.

If You can send me a sample of html-file,
I'll send you the more accurate code.
e-mail address see in my profile
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform