Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert .dbf database to HTML ASCII

Status
Not open for further replies.

grbosse

Technical User
Oct 31, 2000
13
CA
I need a program to convert Foxpro 2.6 for DOS databases to HTML (ASCII).
 
hey i've been playing with this by redircting the printer to a html file with the table tags.
 
There is a HTML printer driver available from but I am not to impressed. It created a Java html file and is slow in opening large files
David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
an example of what i'm saying is this
*<CODE>
use ? index ?
set printer to file \output.htm
set printer on
?'<HTML>'
?'<TITLE>'
?'BIG TABLE'
?'</TITLE>'
?'<BODY>'
?'THIS IS YOUR RESULTS'
?'<TABLE>'
scan
?'<TR><TD>'+FIELD1+'</TD><TD>'+FIELD2+'</TD>'
endscan
?'</TABLE>'
?'</BODY>'
?'</HTML>'
set printer to
set printer off
close all
clear all
*EOF
*</CODE>

if your good with html you can go as complicated or as
simple as you please ( a lot of good books out there on cgi)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top