NeedHelpProgrammer
Programmer
Here is my code:
Set objFile = Server.CreateObject("Scripting.FileSystemObject")
Set objStream = objFile.OpenTextFile("employees.dat", ForAppending, TRUE, TriStateUseDefault)
objStream.WriteLine(Name & vbTab & Dept & vbTab & Home_Phone & vbTab & Extension)
objStream.Close
--------------------------------
It does not create an "employees.dat" file.
I've even changed the ForAppending to ForWriting. It still does not create the "employees.dat" file. My adovbs.inc has the ForAppending and ForWriting values included under the FileSystemObject Values section. So, I'm covered there. All the variables listed in the WriteLine statement have been defined and a confirmation page lists the inputted data.
Any ideas?
Set objFile = Server.CreateObject("Scripting.FileSystemObject")
Set objStream = objFile.OpenTextFile("employees.dat", ForAppending, TRUE, TriStateUseDefault)
objStream.WriteLine(Name & vbTab & Dept & vbTab & Home_Phone & vbTab & Extension)
objStream.Close
--------------------------------
It does not create an "employees.dat" file.
I've even changed the ForAppending to ForWriting. It still does not create the "employees.dat" file. My adovbs.inc has the ForAppending and ForWriting values included under the FileSystemObject Values section. So, I'm covered there. All the variables listed in the WriteLine statement have been defined and a confirmation page lists the inputted data.
Any ideas?