Thank you very much for your help Edcando. I got success on that.
________________________________ From: Edvandro Santos <edvandro..san...@gmail.com> To: Axapta-Knowledge-Village@yahoogroups.com Sent: Thu, October 8, 2009 10:07:01 AM Subject: Re: [Axapta-Knowledge-Village] Append Data to a Text File Hi Gihan, You can do this using the x++ class called AsciiIO, like this: AsciiIo file = new AsciiIo([fileName] , [mode]), where: fileName - The name of the file to open mode - The mode to create the instance of AsciiIo class To the mode param, you can choose the following options: * A – Append (implies W) * B – Binary * R – Read * T – Translate (text) * W – Write An example: http://msdn. microsoft. com/en-us/ library/aa863136 .aspx About AsciiIO class: http://msdn. microsoft. com/en-us/ library/aa867230 .aspx Regards On Wed, Oct 7, 2009 at 1:30 AM, gihan_ax <gihan...@yahoo. com> wrote: > > > > > > > > > > > > > >> >Dear All, > >I am having a text file called Data.txt. It contains some data.. >I want to append new data into that same text file without missing previous >data. >>Can any one please help me on this matter? > >Thank you, >Wbr, >Gihan > > -- Santos, Edvandro System Analyst -- fale...@edvandro. com http://www.edvandro .com -- http://www.axfordum mies.com