|
-
Apr 17th, 2000, 08:51 PM
#1
Thread Starter
Fanatic Member
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.
-
Apr 17th, 2000, 09:22 PM
#2
Hyperactive Member
-
Apr 17th, 2000, 09:34 PM
#3
Frenzied Member
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.
Harry.
"From one thing, know ten thousand things."
-
Apr 17th, 2000, 10:14 PM
#4
Also, take in account that Replace function is available in Visual Studio 6.0, since VBScript is based on the VB.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|