Take a look at STREXTRACT(). It's pretty good for parsing this kind of data. Also, if you have a choice, use XML rather than HTML, and you can use either XMLToCursor() or XMLAdapter to pull the data out.
Tamar is right that html tables are not at all ideal for storing data and getting it back, you better go XML.
But for the sake of pointing out all the options, if you show a html table in a browser or webbrowser control, right clicking offers the option to export to excel.
Then again vfp has problems reading in xls files of new excel versions, but you can go through ODBC/OLEDB to query excel sheets. At least there are commands like IMPORT and APPEND FROM to work on xls, but not for html.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.