Send Variable to Text file

R

Ron Ducarpe

I need to find a way to write a variable to a text file.
I've been able to accumulate field values in a variable
from an .asp page. Ideally, I want to export the
information in this variable into a text, html, or other
delimited format that I can then download to the host
computer and import into Access tables. Any ideas?
 
M

MD WebsUnlimited.com

Hi Ron,

Are you not using the save results wizard which does this for you?

If not you'll have to use the fileSystem object to open an file and append
the values to it. You'll also need to provide some type of locking mechanism
so that if multiple visitors press submit at the same time one does not
error the other.
 
C

clintonG

Top