Hey Charlie,
>Just scan your tables and build-up the HTML + data on the fly to a string. Use STRTOFILE() to write it to a file.
Well, since you're not talking about outputting a FRX report to HTML anymore, have you looked into spitting out XML, then transforming it with an XSL stylesheet? After using that approach recently, I have found that I like it very much.