	HOW TO GENERATE HTML FROM ACCESS REPORTS
		by Rick Curtis, 71005,242

The increase of sharing information through World Wide Web
Documents is being addressed through the development of a
number of HTML editors and add-ons for creating HTML documents
or converting existing word processing documents to HTML. There
has been little done with tools for moving database documents
and reports over to HTML.

The enclosed Access database, WEB.MDB demonstrates a
report that has HTML tags embedded. The advantage of this
approach is that lengthy reports can be automatically created
and updated without lots of manual "tweaking" to get them into
Web format.

The database is a sample file of recognized student groups at
Princeton University. Since the student officers change
frequently we need to update our Web page on a regular basis,
but exporting the file and then adding HTML tags, even with an
add-on like the Microsoft Word Internet Assistant was time
consuming. So now I run the report in Access. Output it as
MS-DOS text and it's ready to go.

The first report is Organizations - presidents list for the Web
rpt. This is a simple report that prints an alpha list of
groups. As you can see HTML tags can be entered using text boxes
or combined with fields using & and ". The trickiest part seems
to be getting the right number of " in order to create a ".

[Type of Group] <br>

=Trim([PRESIDENT] & " " & [Pres Class] & "     " &
[PRES ROOM] & " " & [PRES BUILDING] & "   Phone: " & [Pres Phone])

The second report is Organizations - types and presidents for
Web rpt. This report sorts by type of organization and includes
a sub report (Types for Web Subreport). The subreport creates
local reference links to jump to the organization types. Since
Access cannot output subreports you will need to output this
report separately and then paste it in to the other ASCII file.

SUBREPORT
=Trim("<li><a href =""#" & [Type of Group] & """>"
& [Type of Group] & "</a>")

MAIN REPORT
=Trim("<h3><a name =""" & [Type of Group] & """>"
& [Type of Group] & "</a></h3>")

These are just some samples of how to generate HTML documents
from Access reports. If you have other ideas, please let me
know.
