output query into txt-file

K

Kcirtap

Hi all,

I'am using ac2K and win2000.

I'am looking how to add the result of a query into an existing txt-file.
If the txt-file does not exist, it should be created otherwise
if the txt-file does exist the query should be added to the file, by no
means the existing file may be overwritten.

A little help will be appreciated,

kcirtap
 
D

Dale Fye

Checkout the FileSystem objects OpenTextFile method. This method will
allow you to open a text file and write to it. It has a parameter
that allows you to create the file if it doesn't already exist.

--
HTH

Dale Fye


Hi all,

I'am using ac2K and win2000.

I'am looking how to add the result of a query into an existing
txt-file.
If the txt-file does not exist, it should be created otherwise
if the txt-file does exist the query should be added to the file, by
no
means the existing file may be overwritten.

A little help will be appreciated,

kcirtap
 

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

Top