Welcome

Welcome To ASP Generator

By HTML-Helper

To begin, please choose a database by clicking the "Browse…" button and selecting the database of your choice.

Please note this program requires you have the MSADO 2.5 Library installed on your computer.

If you do not have the MSADO 2.5 library installed, please download it and install it.

This file can be downloaded at: http://www.html-helper.com/programs/DAO25.EXE and it is about 7.5 megs in size.


Choose Table and Fields

In this section you will need to choose the Table in the Database that you wish to use, and choose the fields that you wish to process.

Choose a Table by selecting the Table Name from the drop down list provided.

Once you choose a Table, all the fields in the table are displayed.

To use a field, place a check mark next to it, to ignore a field, uncheck it.

Also you will need to select a “Link Field”. A Link Field is commonly the field you wish to use to denote what recordset you are currently viewing, editing, or deleting. Please choose a Field that has data unique to each record such as a Persons Name, or the Record ID.


Options

This program allows you to pick and choose what options you want. To choose an option, place a check mark next to it, to ignore an option, un-check it.

Each option will create or alter the pages you are generating.

Also you can edit the names of the pages that are being generated.

To edit a page name, click on the option you want to edit, and then enter the new name in the field provided.

In this section you will also need to choose your output directory. This is the directory that all files created will be placed.

The pages created are generated on a template.

You can and should alter the templates to meet your desired design.

The page templates are located in the “data” sub directory of this program.

Each template contains special “tags” that tell this program what to do.

Here is a list of all available tags:

(Please note all tags must be lowercase and have the prefix and suffix of “#”)

Page Data tags

#pagevariables#	variables to read from the page post

#loadvars#	page variables loaded from database

#savevars#	page variables saved to current recordset

#datafile#	database filename

#includedatabase#	include database tag

#includesetup#	include setup file tag

#includemsado#	include the MS ADO file

#writehead#	write header code

#writefoot#	write footer code

#writetable#	write table contents code

#readtable#	read table contents code

#navtable#	navigation table

#tablename#	the current table name

#add#	add record

#id#	the record id tag

Filename tags

#pagesetup#	setup.asp

#pagemsado#	msado.asp

#pagerecnav#	recnav.asp

#pagerecdisplay#	recdisplay.asp

#pagedatabase#	database.asp

#pagerecadd#	recadd.asp

#pagerecedit#	recedit.asp

#pagerecdelete#	recdelete.asp

Page Navigation

#gonav#	goes back to Navigation Page (adds "ShowGoBack" from setup.asp)


Page Options

This section allows you to define the font color, face, and size of all text that it automatically generated by this program.

Please choose the values for each option that you desire.


Generate Pages

This is the final section of this program – the moment of truth.

To begin generating your ASP pages, click the “Click here to Finish” button.

Your pages will be generated with all the options you have chosen and will be places in the output directory you supplied.

Please note if you selected the option to “Overwrite Pages without prompting” you run a risk of overwriting important files that you have already created – so use this option wisely.