Well the simplest would be(from VFP 7 Help): using the Save As HTML option on the File menu when you are browsing a table to save the contents of a table as an HTML (Hypertext Markup Language) file.
To save a table as HTML
Open the table.
Browse the table by issuing the BROWSE command in the Command window or by choosing Browse from the View menu.
Choose Save As HTML on the File menu.
Enter the name of the HTML file to create and choose Save.
More ambitious is using VFP's TEXTMERGE. Here's a good HTML primer by Les Pinter:
http://www.lespinter.com/LearningCenter.asp?ArtNum=217&Language=EnglishMore ambtious still is doing all this dynamically. For example, I've developed an HTML class that will take an HTML template(maybe developed in FrontPage or Dreamweaver) and evaluate any embedded VFP expression or codeblocks within it and deliver the fully expanded page with all VFP tables listed. Check out
http://www.activevfp.com/AVFPdemo15/AVFPdemo15.asp?action=sessionlist. This is a vfp mtdll that's called from asp (or asp.net). The code that calls the HTMLTable method is as follows:
SELE * FROM Customer INTO CURSOR tCursor
lcHTMLfile = 'custlist.htm'
lcHTMLout= FILETOSTR(oProp.HtmlPath+lcHTMLfile)
lcHTMLout= oHTML.htmlTable('customers',lcHTMLout,10,.T.,'#E5E5E5',.F.;
,VAL(oRequest.querystring("page")),oRequest.querystring("nav"))
lcHTMLout= oHTML.mergetext(lcHTMLout)
>Hi,
>
>Can someone suggest a tutorial about a simple table on the internet which can be viewed with the Internet Explorer? Any help would suffice.
>
>Thank you,
>
>Armando