HTML reporting tool version 1.11

Any comments on the description given below, please e-mail to 100604.2030@compuserve.com.

Installation

Each time the program starts, it registers itself as the owner of files with the .htt extension. In order to install the program, copy it to a reasonable location on your harddisk and run it. The program will not respond to you, that it has installed correctly. In order to verify correct installation, try to doubleclick on a *.htt file. If you want to use the database/SQL part of the program, you must install the 32 bit Borland Database Engine.

Syntax of *.htt files

The report tool takes a modified HTML file (*.htt) as input. The special tags in the table below are interpreted as according to the description. These tags can be nested. If the <$Makefile> tag is not used, no output will be generated.

Tag syntaxDescription
<$Makefile>filename<$+Makefile>
HTML
<$/Makefile>
Creates a new file given the filename, and puts the HTML given into the file. If this tag is not used anywhere in your input file, the program will generate no output.
<$SQL>SQL statement<$+SQL>
HTML
<$/SQL>
Creates a database dataset using the SQL. The HTML given will be repeated once for each record in the dataset. The SQL statement is given to the Borland Database Engine as is. See the BDE documentation for further information.
<$File>Filename<$/File> Inserts the given file at current position as is.
<$Field>Database field<$/Field> The contents of the database field will be inserted, converting it to HTML.
<$HTMLField>Database field<$/HTMLField> The contents of the database field will be inserted as is.
<$ASCIIFile>Filename<$/ASCIIFile> Inserts the given ASCII file at current position, converting it to HTML.
<$INI>File<$+INI>Section<$+INI>Setting<$+INI>Default value<$/INI> Inserts a value from the an INI file.
<$IFEQ>Value<$+IF>Value<$+THEN>HTML<$+ELSE>HTML<$/IF> If the values are equal, the THEN part is parsed, otherwise the ELSE part is parsed. Beginning and ending spaces, carriage returns and linefeeds are stripped from the values. The values are compared with no regard for upper and lower case.
*<$Registry>Key<$/Registry> Inserts a value from the registry.
*<$ANSI>Text<$/ANSI> Converts the given text from ANSI characters to HTML. LF converts to <BR> and LF,LF to <P>.
*<$ASCII>Text<$/ANSI> Converts the given text from ASCII characters (OEM codepage 850) to HTML. LF converts to <BR> and LF,LF to <P>.
*<$Var Set>Variable<$+Var>Value<$/Var> Sets a run-time variable to hold the specified value.
*<$Var Get>Variable<$/Var> Inserts a value from a run-time variable.
Entries marked with * are not implemented, yet.