ASP to CSV

J

JW

Has anyone any experience of outputting data (field name, field value) to a
..csv file so I can email it off (for importing into a sperate database
system)?

Are there any pitfulls I should look out for?

Thanks

Jon
 
R

Ray at

Are you having issues? You can just use the FSO to create your files.
Also, if this is coming from a recordset, you can do it all in one swoop by
doing:


sOutput = oRS.GetString(,,",",vbCrLf)

Ray at work
 
J

JW

Ray,

Thanks this looks like worth looking into. I'm new to asp, yes it can be
pulled from a database, I'm not familiar with this, could you pelase advise
on the paramters for the Output and GetString bits, (I'm only sending one
record, the AutoNumber value will be known)

Many thanks,

Jon
 
R

Rob Meade

...
not familiar with this, could you pelase advise
on the paramters for the Output and GetString bits, (I'm only sending one
record, the AutoNumber value will be known)

Hi Jon,

In the example sOutput is the name of the string variable used to hold the
value. GetString I believe is the method - so the example should just be a
literal copy and paste job.

Another little sample found in a google search here..

http://lists.evolt.org/archive/Week-of-Mon-19991220/093369.html

Regards

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,126
Messages
2,570,750
Members
47,308
Latest member
TorriLangr

Latest Threads

Top