- From: Andrew Warner <awarner@sysplan.com>
- Date: Tue, 25 Jun 1996 12:36:19 -0400
- To: www-rdb@w3.org
I have written a FoxPro application, "dbf-to-html", that merges a dbf file with an html template file to create an html file for every record in a database, just like a mail-merge. It also creates an index html file with links to each html file created. Supports conditional expressions in html template file, too. Graphical, no programming required. It's a FoxPro/Mac app write now, but if anybody wants a FoxPro/Windows version, I'll make it available. http://www.cais.net/wrngrp/dbf-to-html.html Example html template file: *---------------------------------------------* <HTML> <HEAD> <TITLE>%%RTRIM(school)%%</TITLE> <BODY> <CENTER><H2>%%RTRIM(school)%%</H2></CENTER> Located in beautiful <b> %%RTRIM(city)%%, %%state%%, </b> the <b> %%RTRIM(school)%% </b> provides a challenging environment where your child can blah, blah...... <p> <b> %%RTRIM(school)%% </b> <!-- check out this conditional expression: --> %%IIF(member, " has been a member school for <b>"+ st(yrs) +"</b> years.", " is not currently a member school.")%% <p> [<A HREF="/">Home</A> | <A HREF="index.html">School List</A>] </BODY></HTML> *---------------------------------------------* Andrew Warner awarner@cais.com
Received on Tuesday, 25 June 1996 12:36:23 UTC