Tuesday, November 18, 2008

export tables as html foxpro

mmm while i was foxpro programming, i wanted to export some tables as HTML... here is a quick and dirty way to do it...

http://support.microsoft.com/default.aspx?scid=KB;EN-US;192302 :

      * Generate HTML from a table without using it.
DO (_GENHTML) WITH "EXAMPLEA",HOME(2)+"DATA\CUSTOMER.DBF"
* Use the Employee table to generate from an alias.
USE HOME(2)+"DATA\EMPLOYEE" IN 0 ALIAS EMPL
* Generate HTML from an alias.
DO (_GENHTML) WITH "EXAMPLEB",'EMPL'
CLOSE ALL

No comments:

Post a Comment

cancel script completely on ctrl-c

I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...