Another asp question

by "Wieland" <nwieland(at)tampabay.rr.com>

 Date:  Wed, 15 Mar 2000 06:57:12 -0500
 To:  <hwg-techniques(at)hwg.org>
 References:  hotmail
  todo: View Thread, Original
I'm fairly new to asp.  I'm hoping one of you asp gurus can help me out.

I don't understand why this write script is writing the information multiple
times in the text file (It does give me the ==== line at the end so I can
figure out each record, but is very annoying).

Also,  how do you format the information better? It is all in one long line
now.

I've searched through several resources, but can't find my answers.

<%
Dim fileName, objFSO, obfTextFile, item
fileName = "e:\inetpub\myfile\results.txt"
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile(fileName,8)
objTextFile.writeLine date
for each line in request.form
objTextFile.writeLine request.form
next
objTextFile.writeLine "======================"
objTextFile.close
%>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA