Use this format to export data to HTML document. The export process is performed by Exportizer engine with direct file access and therefore is very fast.

You can export data to HTML format either from Exportizer GUI or from the command line.

When exporting data from GUI, switch to HTML page of the Export dialog. If this page is not visible, click Favorite Export Formats button in the top-right corner of the window and make sure the corresponding format is selected.

Specifying export settings when exporting data to HTML format:

Classic Interface

Exporting Data to HTML Document

Grid Interface

Exporting Data to HTML Document Using Grid Interface

Format Specific Options

File - when exporting data from a table or SQL query, or when exporting data from a group of tables (multi-table export), specify a file name to export data to. In case of multi-table exporting, all tables will be outputted to one target file, and additional parameters like table title, table id, etc can be specified in Table Mappings. The option is not available when exporting data to clipboard.

Folder - when exporting data from a group of tables (multi-table export), specify a folder name to export data to. Each table will be exported to a separate file in the specified folder; file names can be specified in Table Mappings. The option is not available when exporting data to clipboard.

Template file - specify a template file. In this case, the export procedure will enrich the template file with data from the current dataset and finally save the enriched template as a target file. Note: when using template, all export options will be ignored except template options, document title, row count limit, and record range. Command line equivalent: /TemplateFile.

Document title - specify document title, i.e. value of HTML title tag. Not available if template file is used. Command line equivalent: /DocTitle.

Step no - specify the current export step. When using template, export can be performed in several steps, and this option lets the application know which dynamic expressions from the template must be calculated during this step. Command line equivalent: /ExportStepNo.

Table title - specify the table title, i.e. text which is shown above the table data in the target document. Available when exporting data to one file and if template file is not used; for multi-table exporting, table titles can be specified at the table mappings step. Can be blank. When several tables are exported to one file, the table titles are placed into H2 tags, otherwise the table title is placed into H1 tag. Command line equivalent: /TableTitle.

Table Id - specify a value for id attribute of HTML Table tag. Available when exporting data to one file and if template file is not used; for multi-table exporting, table id attributes can be specified at the table mappings step. Must be valid HTML id attribute. When left blank, the output table will not have id attribute. Command line equivalent: /TableId.

Encoding - specify HTML encoding. Command line equivalent: /Encoding.

BOM - specify whether to include BOM (byte order mark) when using Unicode encoding. Reverse command line equivalent: /NoBom.

Target image format - specify format of target images. Possible values: PNG, JPEG, GIF, Bitmap, Metafile, Icon, <as source> in the last case, the target image will be created in the format which was determined in the source, i.e. no image format conversion is done. Command line equivalent: /TargetImageFormat.

Append timestamp to file - specify whether to append current timestamp to the end of the target file name. The timestamp mask is _YYYYMMDD_HH24MISS. Command line equivalent: /AppendTimestamp.

Include MEMO fields - specify either to include contents of MEMO / CLOB fields in target or not; in the latter case, a constant describing the field type will be used instead of the field contents. Command line equivalent: /IncludeMemo.

Include column names - specify whether to include the column headers in the target. Command line equivalent: /IncludeColNames.

Include images - specify whether to include the graphics from BLOB fields in target. Images are exported as separate files into a sub-folder of the folder, where the target HTML file is located; the sub-folder will have the same name as the target HTML file (without extension) plus _filessuffix. If the application cannot determine the image format of some BLOB field, it ignores it. For large databases, including images may significantly decrease the export speed. This option is available only in Exportizer Pro and Exportizer Enterprise. Command line equivalent: /IncludeImages.

Trim trailing spaces - specify either to trim trailing spaces and control characters in target or not. Applicable for char and varchar data only. Using this option allows to remove useless data and thus reduce the output volume. Command line equivalent: /TrimTrailingSpaces.

Use raw data - specify either to use the raw data from the source or prepare them for proper use in HTML document. Raw data may be useful, for example, when it contains HTML code to be embedded into the target HTML document. Using raw data can speed up the exporting process. Command line equivalent: /UseRawData.

Create index file - specify whether to create a separate index file for multi-table export. The index file will contain web links to all HTML files created during the export procedure. Command line equivalent: /CreateIndexFile.

Append as a table - specify whether to append incoming data to existing target as a separate HTML table in Append export mode. When this option is turned off, appending is done as new rows in existing HTML table. See more in the Export mode description below. Command line equivalent: /AppendAsTable.

Line break - specify line break style; if you choose Windows, then each line in the file will be terminated by carriage return and new line character (CR+LF); if you choose Mac, a carriage return (CR) will be used to separate lines; otherwise, Unix style will be used (LF). Command line equivalent: /LineTerminator.

Target View

Specify how the target should look. Note: Using these options can slow down the exporting process for large datasets.

Use GUI settings - specify whether to use GUI view settings (fonts, colors, column widths) for target data. When using this option, table(s) in target document will look similarly to tables in Exportizer interface; otherwise, default fonts and colors will be applied. This option is effective when exported dataset has an associated GUI data grid. Command line equivalent: /UseGUIViewSettings.

Alternate row color - specify background color for every second row. The color must be specified in hexadecimal form, which is made up of sharp symbol (#), followed by three hex numbers, rr, gg, bb, that give values for red, green and blue, respectively; for example, #FF0000 represents red. If you don't want to highlight even rows, leave this field blank. Command line equivalent: /AlternateRowColor.

Table title font - specify font for the Table title. Command line equivalent: /TableTitleFont.

Column headers font - specify font for the column headers. Command line equivalent: /ColumnHeadersFont.

Rows font - specify font for the target data rows. Command line equivalent: /RowsFont.

Export mode

Specify export mode:

REPLACE+INSERT

Target file is created and filled with incoming rows; if the target file already exists, it is overwritten.

CREATE_OR_REPLACE

Blank target file (using appropriate structure) is created; if the target file already exists, it is overwritten.

APPEND

Target file is appended with incoming rows; if the target file does not exist, it is created. Available only in Exportizer Pro and Exportizer Enterprise.

The functionality depends on Append as a table option. When Append as a table is on, the new data will be appended to the end of existing file as a separate HTML table, with its Table title and column headers (if any). When Append as a table is off, the new data will be appended to the end of the last HTML table found in the file.

This mode is ignored when exporting data to clipboard.

Notes

  • The Encoding and Line break must be compatible with existing target. When Append as a table is off, the field structure must be compatible too, because the existing data and new data will be in one HTML table.
  • Appending should be done only for HTML files, which were created in Exportizer or Database Tour software, where the file structure is known to this application. When appending is done to HTML files with unknown structure, a successful result is unlikely.

Note: For multi-table exporting, the value can be overridden for each individual table-to-file pair in Table Mappings section.

Command line equivalent: /ExportMode.

Record range

Specify range of source records to be exported:

  • Full table - all records are exported.
  • Selected records only - only selected records are exported. To select rows, click the corresponding button and then select needed rows using Shift, Ctrl and arrow keys.
  • From current record to the last one - all data between current and the last records are exported.

Limit the record count to - specify a maximum number of records to be exported. If this option is not specified or it is less then 1, all records from the specified record range will be exported. If you just want to create a file without data exporting, use the corresponding Export mode instead. Command line equivalent: /LimitRecordCount.

Column range

Specify range of source columns to be exported:

  • All columns - all columns (including columns, which were temporary hidden by user) are exported.
  • Selected column only - only selected (current) column is exported.
  • Visible columns - only visible columns are exported.

Source records per target row

Specify a number of records from source database to be placed into one line of the target file. For example, if you specify 2, the source data will be placed to the target in the following way:

Source Target
Col1 Col2   Col1 Col2 Col1 Col2
cell1 cell2 cell1 cell2 cell3 cell4
cell3 cell4   cell5 cell6 cell7 cell8
cell5 cell6          
cell7 cell8          

This option is useful when source have a small count of columns and a large count of rows. Using it, you can fill target area more optimally.

Command line equivalent: /RecordsPerLine.

Other options

Ask before overwrite or empty existing target - specify whether to ask the user to overwrite existing target for REPLACE+INSERT and CREATE_OR_REPLACE export modes. The option is not available when exporting data to clipboard. Reverse command line equivalent: /SuppressOverwriteOrDeletePrompt.

See also

 Command Line Usage

 Exporting to HTML Using Template

 Table and Field Mappings