Search Tools Links Login

Demonstrating the saving of a recordset to HTML using a HTX like template (only better)

Posted: 2002-06-01
By: ArchiveBot
Viewed: 56

Filed Under:

VB6 Code Cache

Title Uploaded Size 9/3/2020 3:45:00 PM 159,660


With one simple procedure call you can create multiple HTML files based on any recordset and a HTX like template. It is possible to create multiple (nested) grouping levels. It is also possib to create your own constant parameters. The screenshot below and the demo project will show you some of the possibilities of this code.

The code is well commented and not to massive to go through. It uses the underappreciated Split function a lot. Because of the Split function the code is very small and fast.

This code can be useful:

  • When you are not able to access your database dynamically from your web server. You can use this to publish database information.
  • When you need an easy to use and customizable data reporting tool.
  • When the number of data updates is much lower than the web traffic you have. In this case static WebPages will probably give a much smaller server load.
  • If you created your own web server in VB. You can use this to give it functionality to access a database
  • When ...?

  • Original Author: Edwin Vermeer

    Comments on this post

    No comments have been added for this post.

    You must be logged in to make a comment.