Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Feedback form for intranet

Status
Not open for further replies.

carlosparedes

Programmer
Jun 10, 2007
12
0
0
GB
hi guys

I need to create a feedback form for an intranet and save the details in a text file. The text file is located in C:\(directory), and has to be saved as nameyyyymmdd.txt(name,year,month and day.

the format for the data contained in each file is as follows:

[Main]

Title: Mr

Firstname: John

Surname: Smith

Company: Part

CarReg: Any Car

[Details]

ExpectedDate: 20070829
AlwaysExpected: 0 (0=No, 1=Yes)


I have created already the feedback form and have no ideias what to do next. Any ideas. Could you give me any examples.

Thanks in advance

Sandra
 
I believe the missing piece for your solution is the FileSystemObject and the TextStream Object:

If you look through those pages they will provide examples of how to create a file, returning a textstream object. And how to write to and close the file.

If you weren't already aware, you can use the Response object (built-in) to access posted data by looking at Response.Form("fieldname").

-T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top