I suppose it is oke for you to create an ASCII file with the correct input? That's easy:
dim fs, textFile
Set fs=Server.CreateObject( "Scripting.FileSystemObject" )
Set textFile = fs.CreateTextFile( "YourFilename.txt" )
' write some text
textfile.write "REPORT"
do while not rs.EOF
' write a field
textfile.write rs(0)
rs.MoveNext
Loop
textFile.Close
For layout stuff i use 2 tricks:
o Create special markers in the text, which i use with a Word macro (after opening the TXT file, i run the macro for fancy things)
o This way you can create a HTML file! An then you can use tags for layout.
br
Gerard
(-:
| Do it!
|
V