-
I would love to output my reports to HTML, but do any of you geniuses know if I can specify where page-breaks should be (so the mugs can print the stuff) and what orientation the paper should be too? (they'll all be using A4 so that's ok). Sorry it's not really a VB question, but it kind of is in a way. Or not.
-
-
Try:
Code:
replace(YourReportText, vbNewLine, "<BR>")
Then output it in the <BODY> tags of an HTML page. To retain formatting with spaces you might also want:
Code:
replace(YourReportText, " ", " ")
Since browsers will not recognise more than one space between characters.
-
Also, take in account that Replace function is available in Visual Studio 6.0, since VBScript is based on the VB.