Append data to CSV file

hello,

I have a client tool which exports data to csv file and everytime i refresh the data the csv file gets new data and delete the old data. I need data to be appended wth every refresh and how is hs possible?

Thanks,
Sailaja
welcome 123Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikeopoloCommented:
What is the tool? Is there a settings or parameters screen where you can choose different options?
0
Bill PrewCommented:
Agreed, first choice would be to see if the tool has an "append" setting for the output file.

If not, then one way to work around this would be to rename the prior file (save it) before running the next export, and then use a BAT command or VBS script to merge the two files back together, combining the prior history with the new exported data.

~bp
0
welcome 123Author Commented:
yes the tool has no option.

Also can you help me with the vbs script on merging the two files please?
0
Bill PrewCommented:
Sure, happy to help.  Can you describe a little bit more how the process works?  How do you run the tool each time, it it via a BAT file, or some other method?  What folder does the output file exist in, and what is it named?  Any other details that might be useful?

~bp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.