|
-
Feb 9th, 2010, 09:57 AM
#1
Thread Starter
Hyperactive Member
Append to CSV file
Hello,
When started my app connects to Access 07 DB and checks if TableA has more than 1000 records.
If so,it exports them to a CSV file and deletes them from the table.
After some time,TableA will again reach 1000+ record,and I will again need to export them.
But,I do not want to create a new CSV file,but rather append to existing one.
Any directions?
Thank you!
-
Feb 9th, 2010, 09:59 AM
#2
Please mark you thread resolved using the Thread Tools as shown
-
Feb 9th, 2010, 10:45 AM
#3
Re: Append to CSV file
A csv file is just a text file. And when wrting to a text file, you can specify whether to overwrite or append to it by using the appropriate overload constructor of the streamwriter class.
Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
- Abraham Lincoln -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|