Greetings to all,
I read Erik Moore's article in the June 2000 "FoxPro Advisor" magazine and tried to retrieve data from the web site
www.unos.org using the following code provided in that article:
CREATE CURSOR pagecatalog (ItemIndex i, InnerText M, InnerHTML M)
FOR i = 0 TO oie.DOCUMENT.body.ALL.LENGTH -1
m.ItemIndex = i
m.InnerText = oie.DOCUMENT.body.ALL(i).InnerText
m.InnerHTML = oie.DOCUMENT.body.ALL(i).InnerHTML
INSERT INTO pagecatalog FROM MEMVAR
ENDFOR
None of the data in the frames was retrieved! I was given the following code previously get at the frames directly to try this code:
? oIE.Document.Frames(1).Document.Body.innerText
? oIE.Document.Frames(2).Document.Body.innerText
? oIE.Document.Frames(3).Document.Body.innerText
? oIE.Document.Frames(4).Document.Body.innerText
and nothing printed out to the VFP screen. It works well on other pages but not the one in question.
I am a new VFP developer and I would greatly apprecieate a place to start with solving this problem.