TDB2Web - The Demo

To run it

(supposed you compiled and linked it):

  1. Click on the Create HTML-button
  2. In the following dialogue, click on Ok
    Note: When first fired up, you will be informed about a Registry error. Ignore this.
  3. Wait for the first (intended) error message

For demonstration and testing purposes five additional files are provided:

For this demonstration we use a slightly modified version of the BIOLIFE.DB- database from the original Delphi-demos:

  1. We added four fields:

    EMailalphanumeric  a fictitious EMail address for each fish
    GrFormat  alphanumericthe format of the graphic stored in the BLOB
    Colorsalphanumericthe color table of the graphic
    Is Worthcurrencyif you like to buy that fish..
  2. To test the capabilities of the graphics interface we converted some of the nice fish-pictures to different formats using different options. The conversion was done using Adobe PhotoShop 3.0.

If you run the export using this Aquarium-file you will get a good overview which graphic formats are supported.

Since there are some limitiations and restrictions with respect to graphics, running the export will produce some error messages. For your support we made up a small list of supported graphic formats.

Note: Unless you edit the Main-form the demo will only run properly, if you copy the demo-db to the location, where your Delphi-sample-alias DBDEMOS its files expect.

We did not set any TFields-properties, so all fields of the database are Visible and will be exported (if you do not use the definition), but not all of them are shown in the grid, in order to demonstrate TDB2Web's differential behaviour on a TDBGrid and a TDataSource.
Detailed information about field's setup.

Notice that we've prepared the output to be done into a subdirectory of the current one called \Export.