A
asdf
Hello
I am using frontpage 2002.
I have a form and I want the form info to go to a csv file. I know that I
can use the wizard or editor and save to csv, but I have my form post the
info to another page that says "you've completed ..." and the submitters info
is under that and a "print this certificate to keep for your records" button
is under that.
What I want to do is when the "you've complete" page comes up...I want the
user's info to go to a csv file.
I tried this code I found for test:
<%
dim fs, f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>
The file doesn't get created. I was thinking if this code worked, I will
just change the file from .txt to .csv and insert a string that has all the
data separated by commas. I guess it's not that easy.
Can anyone help me?
Thank you.
I am using frontpage 2002.
I have a form and I want the form info to go to a csv file. I know that I
can use the wizard or editor and save to csv, but I have my form post the
info to another page that says "you've completed ..." and the submitters info
is under that and a "print this certificate to keep for your records" button
is under that.
What I want to do is when the "you've complete" page comes up...I want the
user's info to go to a csv file.
I tried this code I found for test:
<%
dim fs, f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.CreateTextFile("c:\test.txt",true)
f.WriteLine("Hello World!")
f.Close
set f=nothing
set fs=nothing
%>
The file doesn't get created. I was thinking if this code worked, I will
just change the file from .txt to .csv and insert a string that has all the
data separated by commas. I guess it's not that easy.
Can anyone help me?
Thank you.