output query into txt-file

  • Thread starter Thread starter Kcirtap
  • Start date Start date
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
 
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
 
Back
Top